wesmiler 2 лет назад
Родитель
Сommit
36dfe1bc72
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Services/Api/MerchantService.php

+ 1 - 1
app/Services/Api/MerchantService.php

@@ -168,7 +168,7 @@ class MerchantService extends BaseService
         if($id){
         if($id){
             $where['a.id'] = $id;
             $where['a.id'] = $id;
         }
         }
-        $field = ['a.id','a.name','a.user_id','a.type','a.logo','a.category_id','a.business_img','a.country','a.city','a.address','a.usdt','a.service_time','a.withdraw_total','a.status','b.username','b.nickname'];
+        $field = ['a.id','a.name','a.user_id','a.type','a.logo','a.category_id','a.business_img','a.albums','a.country','a.city','a.address','a.usdt','a.service_time','a.withdraw_total','a.status','b.username','b.nickname'];
         $info = $this->model->from('merchant as a')->with(['category'])
         $info = $this->model->from('merchant as a')->with(['category'])
             ->leftJoin('member as b','b.id','=','a.user_id')
             ->leftJoin('member as b','b.id','=','a.user_id')
             ->where($where)
             ->where($where)