Browse Source

派对列表

lizhen_gitee 1 year ago
parent
commit
d5df0a2dcd
1 changed files with 3 additions and 1 deletions
  1. 3 1
      application/api/controller/Party.php

+ 3 - 1
application/api/controller/Party.php

@@ -356,6 +356,8 @@ class Party extends Common
         $list = Db::name('party')->alias('party')
             ->join('party_type type','party.party_type = type.id','LEFT')
             ->field($field)->where($where)->order($orderby)->select();
+        $list = list_domain_image($list,['party_logo']);
+        $resdata = [];
         if (!empty($list)) {
 
             $roomService = new RoomService();
@@ -395,7 +397,7 @@ class Party extends Common
 
         }
 
-        $this->success("获取成功!",$list);
+        $this->success("获取成功!",$resdata);
     }
 
     private function reset_all_party(){