Browse Source

限制接口必须登录

master
wanghongjun 3 years ago
parent
commit
bc716bf0e1
  1. 2
      app/controller/Index.php

2
app/controller/Index.php

@ -15,7 +15,7 @@ class Index extends BaseController
{
protected $middleware = [
CheckUser::class => [
'only' => ['getNoticeInfo','rotationChart','awardRecords','zoneList','getNotice']
'only' => ['getNoticeInfo']
]
];

Loading…
Cancel
Save