房间表情功能-后端-接口提交

This commit is contained in:
2025-10-21 16:13:33 +08:00
parent 41f081078c
commit 3fdb023fbe
2 changed files with 165 additions and 1 deletions

View File

@@ -36,7 +36,7 @@ class RoomEmoji extends Model
->field('id,pid,type_id,name,image')
->where(['status'=>1,'deletetime'=>0])
->where($where)
->order('sort asc,id asc')
->order('sort desc,id desc')
->select();
if ($isTree && !empty($list) && empty($pid)) {
$list = $this->buildTree($list);