Commit 888e369a by Joneq

去除无效的注释

parent c65cd324
......@@ -79,7 +79,7 @@ class MessageApiController extends Controller
//保存系统更新信息
private function saveSystemUpdate($request)
{
$data = $request->only(['title','smbn_id','content']);
$data = $request->all();
try{
(new SystemNoticeLogic())->saveSystemUpdate($data);
$this->Export(0, '操作成功');
......
......@@ -82,6 +82,8 @@ class SystemNoticeLogic
$data['update_time'] = strtotime($data['update_time']);
$data = self::setSystemInfo($data);
unset($data['_url']);
$systemUpdateModel = (new SystemUpdateModel());
$smueid = $data['smue_id'];unset($data['smue_id']);
......@@ -102,6 +104,7 @@ class SystemNoticeLogic
$time = time();
$data['preach_time'] = strtotime($data['preach_time']);
unset($data['file']);
unset($data['_url']);
$data = self::setSystemInfo($data);
$data = self::setDepartmentInfo($data);
......@@ -124,6 +127,7 @@ class SystemNoticeLogic
{
$time = time();
unset($data['file']);
unset($data['_url']);
$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