|
@@ -493,7 +493,6 @@ class User extends Auth
|
|
|
* @title("消息列表")
|
|
|
*/
|
|
|
public function message_list(){
|
|
|
-
|
|
|
$data = $this->_vali([
|
|
|
'type.require'=>'参数缺失',
|
|
|
]);
|
|
@@ -502,7 +501,7 @@ class User extends Auth
|
|
|
->where('type',$data['type'])
|
|
|
->where('status',1)
|
|
|
->where('deleted',0)
|
|
|
- ->where('uuid',$this->uuid)
|
|
|
+ ->where('uuid',$this->user['id'])
|
|
|
->withoutField('deleted,status')
|
|
|
->order('id desc')
|
|
|
->paginate()->toArray();
|