You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
755 B

6 years ago
6 years ago
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * This file is part of Hyperf.
  5. *
  6. * @link https://www.hyperf.io
  7. * @document https://doc.hyperf.io
  8. * @contact group@hyperf.io
  9. * @license https://github.com/hyperf/hyperf/blob/master/LICENSE
  10. */
  11. use Hyperf\HttpServer\Router\Router;
  12. // Router::addRoute(['GET', 'POST', 'HEAD'], '/', 'App\Controller\IndexController@index');
  13. Router::addGroup('/v1/',function (){
  14. Router::post('CouponUser/getSystemCouponUserListst', 'App\Controller\CouponController@getSystemCouponUserList');
  15. Router::post('CouponUser/userCouponAccount', 'App\Controller\CouponController@userCouponAccount');
  16. Router::post('CouponUserReceive/getUserReceiveCouponList', 'App\Controller\CouponController@getUserReceiveCouponList');
  17. });