songxingwei 2 years ago
parent
commit
2780edd45b
1 changed files with 3 additions and 3 deletions
  1. 3 3
      app/data/controller/api/business/Purchase.php

+ 3 - 3
app/data/controller/api/business/Purchase.php

@@ -648,9 +648,9 @@ class Purchase extends Controller
            // ->where('uuid2',$request['user_id'])
             ->whereRaw("(uuid=$user_id and uuid2=$admin_id) or (uuid2=$user_id and uuid=$admin_id)")
             ->where('link_id',$model['id'])
-            ->with(['user2'=>function($query){
-                $query->field('id,nickname,headimg');
-            }])
+//            ->with(['user2'=>function($query){
+//                $query->field('id,nickname,headimg');
+//            }])
             ->field('id,uuid,uuid2,content,create_at')
             ->select()->toArray();
 //        foreach ($messagelist as &$msg){