获取系统消息 字段减少
This commit is contained in:
@@ -142,6 +142,7 @@ class UserMessage extends Model
|
||||
|
||||
//获取消息
|
||||
$list = db::name('system_message')
|
||||
->field('id,type,title,content,url,admin_id,image,createtime,room_id,user_id,remind_type,status,updatetime')
|
||||
->where($where)
|
||||
->where('FIND_IN_SET(:user_id, receiving_id)', ['user_id' => $uid])
|
||||
->order('id desc')
|
||||
|
||||
Reference in New Issue
Block a user