Commit 00395118 by gongyang

提交代码

parent d3f2001e
Showing with 4 additions and 2 deletions
...@@ -420,10 +420,12 @@ class SystemNoticeLogic ...@@ -420,10 +420,12 @@ class SystemNoticeLogic
$id = isset($requestData['business_notice_id'])?$requestData['business_notice_id']:0; $id = isset($requestData['business_notice_id'])?$requestData['business_notice_id']:0;
$model = new BusinessNoticeModel(); $model = new BusinessNoticeModel();
$time = time(); $time = time();
$field = ['info','type','show_status','system_id']; $field = ['info','type','show_status','system_id','title'];
$data = []; $data = [];
foreach ($field as $value){ foreach ($field as $value){
$data[$value] = $requestData[$value]; if (isset($requestData[$value])){
$data[$value] = $requestData[$value];
}
} }
if (empty($id)){ if (empty($id)){
......
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