From 47a0799f6ae857673150efbef5aaaf5c44fbb7cb Mon Sep 17 00:00:00 2001 From: liapples Date: Mon, 13 Sep 2021 15:32:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=A4=9A=E4=BD=99=E7=9A=84?= =?UTF-8?q?=E5=88=86=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/Api/AgentInfoController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Api/AgentInfoController.php b/app/Http/Controllers/Api/AgentInfoController.php index 7c7db8b..c6f6ddd 100644 --- a/app/Http/Controllers/Api/AgentInfoController.php +++ b/app/Http/Controllers/Api/AgentInfoController.php @@ -11,7 +11,7 @@ class AgentInfoController extends Controller { public function info() { - $type = request()->route('type');; + $type = request()->route('type'); //关于我们、注册协议、购买协议 if (!in_array($type, ['about', 'reg_protocol', 'buy_protocol'])) { return $this->error('参数无效');