wesmiler 2 years ago
parent
commit
34249226c4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Services/Api/MerchantService.php

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

@@ -156,7 +156,7 @@ class MerchantService extends BaseService
         if($info){
             return $info;
         }
-        $field = ['a.id','a.name','a.user_id','a.type','a.logo','a.category','a.business_scope','a.balance','a.usdt','a.service_time','a.deposit','a.delivery_fee','a.bonus_rate','a.power_rate','a.status','a.trade_status','b.username','b.nickname'];
+        $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'];
         $info = $this->model->from('merchant as a')->with(['category'])
             ->leftJoin('member as b','b.id','=','a.user_id')
             ->where(['a.user_id'=> $userId,'a.mark'=>1,'b.mark'=>1])