Browse Source

Merge branch 'sh/28' into test01

sunhao 5 years ago
parent
commit
dacf8543c7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Http/Controllers/Api/OrderController.php

+ 1 - 0
app/Http/Controllers/Api/OrderController.php

@@ -73,6 +73,7 @@ class OrderController extends Controller {
73 73
             if(!empty($goods)){
74 74
                 foreach($goods as &$item){
75 75
                     $item->goods_name = Goods::where('id', $item->goods_id)->pluck('name');
76
+                    $item->picUrl = Goods::where('id', $item->goods_id)->pluck('picUrl');
76 77
                     $goods_sku_info = GoodsSkus::select('propsName', 'is_weigh')->where('id', $item->sku_id)->first();
77 78
 
78 79
                     if(!empty($goods_sku_info)){