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
43dba2c4
authored
Feb 28, 2023
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
去除不需要的字段
parent
d6fa7b45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
app/Logic/SystemNoticeLogic.php
app/Logic/SystemNoticeLogic.php
View file @
43dba2c4
...
...
@@ -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有值是保存
...
...
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