修改消息分野

This commit is contained in:
2023-03-31 18:26:47 +08:00
parent 25cdfbc20a
commit d6ccd430e0
4 changed files with 50 additions and 64 deletions
+1 -16
View File
@@ -282,22 +282,7 @@ class MessageNoticeService extends BaseService
$params['notice_system_type'] = $notice_system_type; // 系统消息类型(患者端系统消息存在 1:服务消息 2:福利消息 3:退款消息 4:物流消息)
$params['send_status'] = 1;
$fields = [
'notice_id',
'read_status',
'inquiry_type',
'from_name',
'notice_title',
'notice_send_time',
'notice_content',
'button_type',
'link_type',
'link_params',
'show_type',
'show_params',
];
$result = MessageNotice::getMessageNoticePage($params, $fields, $page, $per_page);
$result = MessageNotice::getMessageNoticePage($params, ['*'], $page, $per_page);
if (!empty($result['data'])) {
foreach ($result['data'] as &$item) {
if (!empty($item['link_params'])) {