widget.php 996 B

1234567891011121314151617181920212223
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  8. // +----------------------------------------------------------------------
  9. // | Author: CRMEB Team <admin@crmeb.com>
  10. // +----------------------------------------------------------------------
  11. use think\facade\Route;
  12. /**
  13. * 组件 小插件 相关路由
  14. */
  15. Route::group('widget', function () {
  16. })->middleware([
  17. \app\http\middleware\AllowOriginMiddleware::class,
  18. \app\adminapi\middleware\AdminAuthTokenMiddleware::class,
  19. \app\adminapi\middleware\AdminCheckRoleMiddleware::class,
  20. \app\adminapi\middleware\AdminLogMiddleware::class
  21. ]);