From 1ab10d68083598e9e13a95b4ac76c2277988b90f Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Fri, 12 Jan 2024 14:12:02 +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 --- .../api/store/merchant/MerchantIntention.php | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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('未开启商户入驻'); }