From 1014b70b74128f75206f6c6d73c9c1c98bd41996 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Fri, 12 Jan 2024 13:35:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/store/merchant/MerchantIntention.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controller/api/store/merchant/MerchantIntention.php b/app/controller/api/store/merchant/MerchantIntention.php index 5fc2c8e1..84960382 100644 --- a/app/controller/api/store/merchant/MerchantIntention.php +++ b/app/controller/api/store/merchant/MerchantIntention.php @@ -136,6 +136,7 @@ class MerchantIntention extends BaseController throw new ValidateException('手机号已是管理员,不可申请'); $mer_type_id=Db::name('merchant_type')->where('type_code','PersonalStore')->value('mer_type_id'); $data['status']=0; + $data['type']=2; $data['mer_type_id']=$mer_type_id; $data['merchant_category_id']=2584; $intention = $this->repository->create($data);