songxingwei 3 лет назад
Родитель
Сommit
f8fdb25448
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      application/common/model/User.php

+ 2 - 2
application/common/model/User.php

@@ -1174,8 +1174,8 @@ class User Extends Model
     public static function ApplyWantKnow(){
         $user = app()->session->get('us');
         $list = UserWantKnow::where('user_id',$user['id'])
-            ->field('id,leave_message,state,deal_at,refused_why,create_at,to_user_id')
-            ->whereNotIn('state','4,5')
+            //->field('id,leave_message,state,deal_at,refused_why,create_at,to_user_id')
+          //  ->whereNotIn('state','4,5')
             ->order('id desc')
             ->all()
             ->toArray();