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
3fc9533e
authored
Dec 24, 2025
by
gongyang
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
提交代码
parent
ddaed5e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
app/Http/Controllers/NoticeController.php
app/Logic/SystemNoticeLogic.php
app/Http/Controllers/NoticeController.php
View file @
3fc9533e
...
...
@@ -70,6 +70,7 @@ class NoticeController extends Controller
{
$data
=
$request
->
all
();
try
{
$data
[
'source'
]
=
1
;
$returnData
=
(
new
SystemNoticeLogic
())
->
saveBusinessNotice
(
$data
);
return
$this
->
codeExport
(
0
,
'保存成功'
,
$returnData
);
}
catch
(
\Exception
$e
){
...
...
app/Logic/SystemNoticeLogic.php
View file @
3fc9533e
...
...
@@ -421,7 +421,7 @@ class SystemNoticeLogic
$id
=
isset
(
$requestData
[
'business_notice_id'
])
?
$requestData
[
'business_notice_id'
]
:
0
;
$model
=
new
BusinessNoticeModel
();
$time
=
time
();
$field
=
[
'info'
,
'type'
,
'show_status'
,
'system_id'
,
'title'
];
$field
=
[
'info'
,
'type'
,
'show_status'
,
'system_id'
,
'title'
,
'source'
];
$data
=
[];
$user
=
app
(
'request'
)
->
user
;
foreach
(
$field
as
$value
){
...
...
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