From 922521a14c5d4d033842742647bf91be3774e063 Mon Sep 17 00:00:00 2001 From: Mike Date: Fri, 17 Jul 2020 10:39:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0get=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/routes.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config/routes.php b/config/routes.php index 3cc74e5..10aa6e4 100644 --- a/config/routes.php +++ b/config/routes.php @@ -11,8 +11,7 @@ declare(strict_types=1); */ use Hyperf\HttpServer\Router\Router; -// Router::addRoute(['GET', 'POST', 'HEAD'], '/', 'App\Controller\IndexController@index'); - +Router::addRoute(['GET', 'POST', 'HEAD'], '/', 'App\Controller\IndexController@index'); Router::addGroup('/v1/',function (){ Router::post('CouponUser/getSystemCouponUserList', 'App\Controller\CouponController@getSystemCouponUserList');