Browse Source

发送公告没有权限提示优化

master
wanghongjun 4 months ago
parent
commit
684ececae5
  1. 2
      app/manage/controller/Index.php

2
app/manage/controller/Index.php

@ -79,7 +79,7 @@ class Index extends BaseController
public function publishNotice(){
$userInfo=$this->userInfo;
if($userInfo['user_id']!=1){
return warning('system.notAuth');
return warning(lang('system.notAuth'));
}
$param=$this->request->param();
$msgId=$param['msgId'] ?? 0;

Loading…
Cancel
Save