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
b95fd048
authored
Feb 28, 2023
by
CnChunfeng
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'dev' into 'master'
去除不需要的字段 See merge request
!4
parents
ab06d98f
43dba2c4
Show 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 @
b95fd048
...
@@ -84,6 +84,7 @@ class SystemNoticeLogic
...
@@ -84,6 +84,7 @@ class SystemNoticeLogic
unset
(
$data
[
'_url'
]);
unset
(
$data
[
'_url'
]);
unset
(
$data
[
'file'
]);
unset
(
$data
[
'file'
]);
unset
(
$data
[
's'
]);
$systemUpdateModel
=
(
new
SystemUpdateModel
());
$systemUpdateModel
=
(
new
SystemUpdateModel
());
...
@@ -106,6 +107,8 @@ class SystemNoticeLogic
...
@@ -106,6 +107,8 @@ class SystemNoticeLogic
$data
[
'preach_time'
]
=
strtotime
(
$data
[
'preach_time'
]);
$data
[
'preach_time'
]
=
strtotime
(
$data
[
'preach_time'
]);
unset
(
$data
[
'file'
]);
unset
(
$data
[
'file'
]);
unset
(
$data
[
'_url'
]);
unset
(
$data
[
'_url'
]);
unset
(
$data
[
's'
]);
$data
=
self
::
setSystemInfo
(
$data
);
$data
=
self
::
setSystemInfo
(
$data
);
$data
=
self
::
setDepartmentInfo
(
$data
);
$data
=
self
::
setDepartmentInfo
(
$data
);
...
@@ -129,6 +132,8 @@ class SystemNoticeLogic
...
@@ -129,6 +132,8 @@ class SystemNoticeLogic
$time
=
time
();
$time
=
time
();
unset
(
$data
[
'file'
]);
unset
(
$data
[
'file'
]);
unset
(
$data
[
'_url'
]);
unset
(
$data
[
'_url'
]);
unset
(
$data
[
's'
]);
$systemBulletinModel
=
(
new
SystemBulletinModel
());
$systemBulletinModel
=
(
new
SystemBulletinModel
());
$smbnid
=
$data
[
'smbn_id'
];
unset
(
$data
[
'smbn_id'
]);
$smbnid
=
$data
[
'smbn_id'
];
unset
(
$data
[
'smbn_id'
]);
//id没有值是新增,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