Commit 43dba2c4 by Joneq

去除不需要的字段

parent d6fa7b45
Showing with 5 additions and 0 deletions
......@@ -84,6 +84,7 @@ class SystemNoticeLogic
unset($data['_url']);
unset($data['file']);
unset($data['s']);
$systemUpdateModel = (new SystemUpdateModel());
......@@ -106,6 +107,8 @@ class SystemNoticeLogic
$data['preach_time'] = strtotime($data['preach_time']);
unset($data['file']);
unset($data['_url']);
unset($data['s']);
$data = self::setSystemInfo($data);
$data = self::setDepartmentInfo($data);
......@@ -129,6 +132,8 @@ class SystemNoticeLogic
$time = time();
unset($data['file']);
unset($data['_url']);
unset($data['s']);
$systemBulletinModel = (new SystemBulletinModel());
$smbnid = $data['smbn_id'];unset($data['smbn_id']);
//id没有值是新增,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