Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
李洋
/
消息系统
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d10633f3
authored
Feb 09, 2023
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
去除无效的注释
parent
f20b274c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
2 deletions
app/Http/Controllers/MessageApiController.php
app/Logic/SystemNoticeLogic.php
app/Http/Controllers/MessageApiController.php
View file @
d10633f3
...
...
@@ -79,7 +79,7 @@ class MessageApiController extends Controller
//保存系统更新信息
private
function
saveSystemUpdate
(
$request
)
{
$data
=
$request
->
all
(
);
$data
=
$request
->
only
([
'title'
,
'smbn_id'
,
'content'
]
);
try
{
(
new
SystemNoticeLogic
())
->
saveSystemUpdate
(
$data
);
$this
->
Export
(
0
,
'操作成功'
);
...
...
app/Logic/SystemNoticeLogic.php
View file @
d10633f3
...
...
@@ -80,7 +80,6 @@ class SystemNoticeLogic
{
$data
[
'update_time'
]
=
strtotime
(
$data
[
'update_time'
]);
unset
(
$data
[
'file'
]);
$data
=
self
::
setSystemInfo
(
$data
);
$systemUpdateModel
=
(
new
SystemUpdateModel
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment