wang hou sheng 8 months ago
parent dde922c0eb
commit 66b9d47dc3
  1. 2
      app/api/model/wholesaler/Apply.php

@ -59,7 +59,7 @@ class Apply extends \app\common\model\wholesaler\Apply
throwError('申请已通过无法编辑'); throwError('申请已通过无法编辑');
} }
$userId = UserService::getCurrentLoginUserId(); $userId = UserService::getCurrentLoginUserId();
if ($this->save($data, ['user_id' => $userId]) !== false) { if ($this->where(['user_id' => $userId])->save($data) !== false) {
return true; return true;
} }
return false; return false;

Loading…
Cancel
Save