chat.php 401 B

12345678910111213141516
  1. <?php
  2. use think\facade\Route;
  3. /**
  4. * 客服管理 相关路由
  5. */
  6. Route::group('chat', function () {
  7. //发生客服图文消息
  8. Route::get('send_news/:id', 'v1.chat.WeChatNewsCategory/send_news');
  9. })->middleware([
  10. \app\http\middleware\AllowOriginMiddleware::class,
  11. \app\adminapi\middleware\AdminAuthTokenMiddleware::class,
  12. \app\adminapi\middleware\AdminCkeckRole::class
  13. ]);