表情处理

This commit is contained in:
2025-12-05 16:32:20 +08:00
parent c55aff2163
commit 4887d9f33f

View File

@@ -227,7 +227,7 @@ namespace extend\chat\model;
'session_id' => $session_id,
];
$res = Db::name('chat_message')->insert($notice_data);
$notice_data['content'] = $message['content'];
$notice_data['content'] = !empty($message['content'])?$message['content']:null;
$notice_data['operate_type'] = $message['operate_type'];
if(!$res) {
// 插入失败