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