...
|
...
|
@@ -50,6 +50,9 @@ class Message extends Api |
|
|
->whereOr('user_id','null')
|
|
|
->order('is_read desc,createtime desc')
|
|
|
->select();
|
|
|
foreach ($data['list'] as &$v){
|
|
|
$v['createtime'] = date('Y-m-d H:i:s',$v['createtime']);
|
|
|
}
|
|
|
|
|
|
//查询出所有的平台信息
|
|
|
$read = Db::name('message')->where('user_id','null')->select();
|
...
|
...
|
|