...
|
...
|
@@ -48,7 +48,7 @@ class Message extends Api |
|
|
$data['list'] = Db::name('message')
|
|
|
->where('user_id',$user_id)
|
|
|
->whereOr('user_id','null')
|
|
|
->order('is_read,createtime desc')
|
|
|
->order('is_read asc,createtime desc')
|
|
|
->select();
|
|
|
foreach ($data['list'] as &$v){
|
|
|
$v['createtime'] = date('m月d日',$v['createtime']);
|
...
|
...
|
|