wesmiler 12 horas atrás
pai
commit
54689d7baa
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      app/Services/Api/GoodsService.php

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

@@ -245,7 +245,7 @@ class GoodsService extends BaseService
 
 
         $datas = $this->model->where('id','=', $buyType)
         $datas = $this->model->where('id','=', $buyType)
             ->where(['type'=> $type,'status'=> 1,'mark'=>1])
             ->where(['type'=> $type,'status'=> 1,'mark'=>1])
-            ->select(['id','thumb','type','goods_name','price','bd_score','content'])
+            ->select(['id','thumb','type','meal_type','goods_name','price','bd_score','description'])
             ->get();
             ->get();
         $datas = $datas? $datas->toArray() : [];
         $datas = $datas? $datas->toArray() : [];
         if($datas){
         if($datas){