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);