From 28caa2085186d5e66d70db2261f820d00f35f93c Mon Sep 17 00:00:00 2001 From: wanghousheng Date: Fri, 19 Jul 2024 10:42:11 +0800 Subject: [PATCH] 1 --- app/api/controller/Wholesaler.php | 1 + app/api/controller/dealer/Apply.php | 1 + 2 files changed, 2 insertions(+) diff --git a/app/api/controller/Wholesaler.php b/app/api/controller/Wholesaler.php index 2252fcf3..c0513fd1 100644 --- a/app/api/controller/Wholesaler.php +++ b/app/api/controller/Wholesaler.php @@ -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('操作成功'); } diff --git a/app/api/controller/dealer/Apply.php b/app/api/controller/dealer/Apply.php index 73516549..d71614db 100644 --- a/app/api/controller/dealer/Apply.php +++ b/app/api/controller/dealer/Apply.php @@ -136,6 +136,7 @@ class Apply extends Controller } $data = compact('business', 'city', 'real_name', 'mobile', 'shop_type', 'shop_name', 'business', 'city'); $data['apply_status'] = ApplyStatusEnum::WAIT; + $data['reject_reason'] = null; $model = new DealerApplyModel; if ($model->editApplyServiceProviders($data)) { return $this->renderSuccess('更新成功');