Commit da24eed9 by gongyang

提交代码

parent 3c2a74eb
Showing with 6 additions and 0 deletions
...@@ -71,6 +71,12 @@ class NoticeController extends Controller ...@@ -71,6 +71,12 @@ class NoticeController extends Controller
$data = $request->all(); $data = $request->all();
try{ try{
$data['source'] = 1; $data['source'] = 1;
app('request')->user = (object)[
'name'=>'admin',
'userId'=>1000,
'org_id'=>1,
'is_sync_pur'=>1
];
$returnData = (new SystemNoticeLogic())->saveBusinessNotice($data); $returnData = (new SystemNoticeLogic())->saveBusinessNotice($data);
return $this->codeExport(0, '保存成功',$returnData); return $this->codeExport(0, '保存成功',$returnData);
}catch(\Exception $e){ }catch(\Exception $e){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment