|
|
|
@ -254,6 +254,7 @@ class Wholesaler extends Controller |
|
|
|
|
$data = compact('company_name', 'credit_code', 'city_id', 'province_id', 'door_img_id', 'business', 'card_no', 'avatar_id'); |
|
|
|
|
$data = array_merge($data, compact('username', 'mobile', 'card_back_img_id', 'card_front_img_id', 'license_img_id')); |
|
|
|
|
$data['status'] = WholesalerEnum::AUDITING; |
|
|
|
|
$data['remake'] = null; |
|
|
|
|
if ((new Apply())->edit($data)) { |
|
|
|
|
return $this->renderSuccess('操作成功'); |
|
|
|
|
} |
|
|
|
|