Commit 3fc9533e by gongyang

提交代码

parent ddaed5e1
......@@ -70,6 +70,7 @@ class NoticeController extends Controller
{
$data = $request->all();
try{
$data['source'] = 1;
$returnData = (new SystemNoticeLogic())->saveBusinessNotice($data);
return $this->codeExport(0, '保存成功',$returnData);
}catch(\Exception $e){
......
......@@ -421,7 +421,7 @@ class SystemNoticeLogic
$id = isset($requestData['business_notice_id'])?$requestData['business_notice_id']:0;
$model = new BusinessNoticeModel();
$time = time();
$field = ['info','type','show_status','system_id','title'];
$field = ['info','type','show_status','system_id','title','source'];
$data = [];
$user = app('request')->user;
foreach ($field as $value){
......
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