diff --git a/app/controller/api/store/merchant/MerchantIntention.php b/app/controller/api/store/merchant/MerchantIntention.php index 84960382..457b8c85 100644 --- a/app/controller/api/store/merchant/MerchantIntention.php +++ b/app/controller/api/store/merchant/MerchantIntention.php @@ -114,7 +114,21 @@ class MerchantIntention extends BaseController */ public function PersonalStore() { - $data = $this->checkParams(); + $data = $this->request->params([ + 'phone', + 'mer_name', + 'company_name', + 'address', + 'name', + 'code', + 'images', + 'social_credit_code', + 'area_id', + 'street_id', + 'village_id', + 'is_nmsc', + 'is_company' + ]); if (!systemConfig('mer_intention_open')) { return app('json')->fail('未开启商户入驻'); }