perf: 优化会员搜索

This commit is contained in:
kuaifan
2024-12-20 19:59:18 +08:00
parent 5bebc8b5ee
commit cf3f22776c
2 changed files with 7 additions and 4 deletions

View File

@@ -330,6 +330,9 @@ class WebSocketDialog extends AbstractModel
}
break;
}
if (empty($data['pinyin'])) {
$data['pinyin'] = Base::cn2pinyin($data['name']);
}
// 已存在的消息类型
if ($hasData === true) {