|
|
@ -11,8 +11,7 @@ declare(strict_types=1); |
|
|
*/ |
|
|
*/ |
|
|
use Hyperf\HttpServer\Router\Router; |
|
|
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::addGroup('/v1/',function (){ |
|
|
Router::post('CouponUser/getSystemCouponUserList', 'App\Controller\CouponController@getSystemCouponUserList'); |
|
|
Router::post('CouponUser/getSystemCouponUserList', 'App\Controller\CouponController@getSystemCouponUserList'); |
|
|
|