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
d3f2001e
authored
Dec 23, 2025
by
gongyang
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
提交代码
parent
f5be2fbc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
app/Logic/SystemNoticeLogic.php
app/Logic/SystemNoticeLogic.php
View file @
d3f2001e
...
@@ -404,11 +404,11 @@ class SystemNoticeLogic
...
@@ -404,11 +404,11 @@ class SystemNoticeLogic
foreach
(
$returnData
[
'data'
]
as
&
$value
){
foreach
(
$returnData
[
'data'
]
as
&
$value
){
$value
[
'create_time_cn'
]
=
date
(
'Y-m-d H:i:s'
,
$value
[
'create_time'
]);
$value
[
'create_time_cn'
]
=
date
(
'Y-m-d H:i:s'
,
$value
[
'create_time'
]);
$value
[
'system_id_cn'
]
=
BusinessNoticeModel
::
$systemIdCn
[
$value
[
'system_id'
]]
??
''
;
$value
[
'system_id_cn'
]
=
array_get
(
BusinessNoticeModel
::
$systemIdCn
,
$value
[
'system_id'
],
''
)
;
$value
[
'type_cn'
]
=
BusinessNoticeModel
::
$typeCn
[
$value
[
'type'
]]
??
''
;;
$value
[
'type_cn'
]
=
array_get
(
BusinessNoticeModel
::
$typeCn
,
$value
[
'type'
],
''
)
;;
$value
[
'show_status_cn'
]
=
BusinessNoticeModel
::
$showCn
[
$value
[
'show_status'
]]
??
''
;
$value
[
'show_status_cn'
]
=
array_get
(
BusinessNoticeModel
::
$showCn
,
$value
[
'show_status'
],
''
)
;
$value
[
'top_status_cn'
]
=
BusinessNoticeModel
::
$topCn
[
$value
[
'top_status'
]]
??
''
;
$value
[
'top_status_cn'
]
=
array_get
(
BusinessNoticeModel
::
$topCn
,
$value
[
'top_status'
],
''
)
;
$value
[
'source_cn'
]
=
BusinessNoticeModel
::
$sourceCn
[
$value
[
'source'
]]
??
''
;
$value
[
'source_cn'
]
=
array_get
(
BusinessNoticeModel
::
$sourceCn
,
$value
[
'source'
],
''
)
;
}
}
return
$returnData
;
return
$returnData
;
...
@@ -417,7 +417,7 @@ class SystemNoticeLogic
...
@@ -417,7 +417,7 @@ class SystemNoticeLogic
public
function
saveBusinessNotice
(
$requestData
)
public
function
saveBusinessNotice
(
$requestData
)
{
{
$id
=
$requestData
[
'business_notice_id'
]
??
0
;
$id
=
isset
(
$requestData
[
'business_notice_id'
])
?
$requestData
[
'business_notice_id'
]
:
0
;
$model
=
new
BusinessNoticeModel
();
$model
=
new
BusinessNoticeModel
();
$time
=
time
();
$time
=
time
();
$field
=
[
'info'
,
'type'
,
'show_status'
,
'system_id'
];
$field
=
[
'info'
,
'type'
,
'show_status'
,
'system_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