mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-11-08 03:50:50 +08:00
fix(notice): 修复铃铛轮询时机/个人消息接口地址/订阅保存地址与详情接收时间
This commit is contained in:
@@ -117,7 +117,9 @@ class NoticeBase extends AdminController
|
||||
'scene_title' => $sceneTitleMap[(string) ($notice->scene ?? '')] ?? (string) ($notice->scene ?? '-'),
|
||||
'content' => (string) ($notice->content ?? ''),
|
||||
'read_time' => (int) $row->read_time,
|
||||
'create_time' => (int) $row->create_time,
|
||||
// create_time 是自动时间戳字段,模型属性读取会格式化为日期字符串,
|
||||
// 再 (int) 强转只会取到前导年份(详情页显示 1970),必须取原始数据
|
||||
'create_time' => (int) $row->getData('create_time'),
|
||||
];
|
||||
$this->assign('msg', $msg);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user