1
This commit is contained in:
@@ -52,6 +52,10 @@ class MessageNoticeService extends BaseService
|
||||
if (!empty($item['show_params'])) {
|
||||
$item['show_params'] = json_decode($item['show_params']);
|
||||
}
|
||||
|
||||
if (!empty($item['notice_send_time'])) {
|
||||
$item['notice_send_time'] = date('Y-m-d H:i',strtotime($item['notice_send_time']));
|
||||
}
|
||||
}
|
||||
}
|
||||
return success($result);
|
||||
@@ -98,6 +102,10 @@ class MessageNoticeService extends BaseService
|
||||
if (!empty($item['show_params'])) {
|
||||
$item['show_params'] = json_decode($item['show_params'], true);
|
||||
}
|
||||
|
||||
if (!empty($item['notice_send_time'])) {
|
||||
$item['notice_send_time'] = date('Y-m-d H:i',strtotime($item['notice_send_time']));
|
||||
}
|
||||
}
|
||||
}
|
||||
return success($result);
|
||||
@@ -131,6 +139,10 @@ class MessageNoticeService extends BaseService
|
||||
$message_notice['show_params'] = json_decode($message_notice['show_params'], true);
|
||||
}
|
||||
|
||||
if (!empty($message_notice['notice_send_time'])) {
|
||||
$message_notice['notice_send_time'] = date('Y-m-d H:i',strtotime($message_notice['notice_send_time']));
|
||||
}
|
||||
|
||||
return success($message_notice->toArray());
|
||||
}
|
||||
|
||||
@@ -295,6 +307,10 @@ class MessageNoticeService extends BaseService
|
||||
if (!empty($item['show_params'])) {
|
||||
$item['show_params'] = json_decode($item['show_params']);
|
||||
}
|
||||
|
||||
if (!empty($item['notice_send_time'])) {
|
||||
$item['notice_send_time'] = date('Y-m-d H:i',strtotime($item['notice_send_time']));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user