From adca4faabf584c17b27990d78a39de4462b7ce1c Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Thu, 21 Sep 2023 20:46:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/Auth.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/controller/api/Auth.php b/app/controller/api/Auth.php index 7cf6d3e0..65b0e43f 100644 --- a/app/controller/api/Auth.php +++ b/app/controller/api/Auth.php @@ -1401,8 +1401,10 @@ class Auth extends BaseController { $repository = app()->make(CacheRepository::class); //sys_intention_agree business_apply_agree + //mer_services_agree mer_supply_agree + //consign_product_agree mer_settlement_agree $type = $this->request->get('type', 'sys_intention_agree'); - $typeArray = ['sys_intention_agree', 'business_apply_agree']; + $typeArray = ['sys_intention_agree', 'business_apply_agree', 'mer_services_agree', 'mer_supply_agree', 'consign_product_agree', 'mer_settlement_agree']; if (!in_array($type, $typeArray)) { return app('json')->fail('协议key错误'); }