bind.php 891 B

1234567891011121314151617181920212223242526
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | [ WE CAN DO IT MORE SIMPLE ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2018-2020 rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Author: TABLE ME
  8. // +----------------------------------------------------------------------
  9. // | Date: 2020-08-30 14:41
  10. // +----------------------------------------------------------------------
  11. use think\facade\Route;
  12. Route::group('bind', function () {
  13. //绑定数据
  14. Route::rule('qrocde','v1.bind/qrocde');
  15. //列表数据
  16. Route::rule('index','v1.bind/index');
  17. //删除绑定
  18. Route::rule('del','v1.bind/del');
  19. })->middleware([
  20. \app\admin\middleware\AllowOriginMiddleware::class,
  21. \app\admin\middleware\AdminAuthTokenMiddleware::class
  22. ]);