Commit d10633f3 by Joneq

去除无效的注释

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