From f33f681b9ca250b13e6d9466e9215a5c412e12e5 Mon Sep 17 00:00:00 2001 From: weigang Date: Tue, 15 Sep 2020 16:26:21 +0800 Subject: [PATCH] =?UTF-8?q?v3=E6=92=AD=E6=8A=A5=E5=8F=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/routes.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/routes.php b/config/routes.php index ed61c59..c49ea6d 100644 --- a/config/routes.php +++ b/config/routes.php @@ -147,6 +147,9 @@ Router::addGroup('/v3/', function () { Router::post('serviceEvaluate/getPersonnelInfo', 'App\Controller\v3\ServiceEvaluateController@getPersonnelInfo'); Router::post('serviceEvaluate/getEvaluateList', 'App\Controller\v3\ServiceEvaluateController@getEvaluateList'); Router::post('home/market', 'App\Controller\v3\HomeController@marketInfo'); + Router::post('device/bind', 'App\Controller\DeviceController@bind'); + Router::post('device/list', 'App\Controller\DeviceController@list'); + Router::post('device/unbind', 'App\Controller\DeviceController@unbind'); },['middleware' => [\App\Middleware\Auth\ApiMiddleware::class, \App\Middleware\Auth\UserMiddleware::class]]); // 微信支付回调