chuweiqiang il y a 1 an
Parent
commit
251193bffc
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      application/api/controller/Order.php

+ 1 - 0
application/api/controller/Order.php

@@ -245,6 +245,7 @@ class Order extends Api
 
         $goods = $OrderGoods->where('order_id',$order['id'])->select();
         foreach ($goods as $k => $v){
+            $UserGoods = new UserGoods();
             $g_arr = [
                 'goods_type' => $v['goods_type'],
                 'goods_id' => $v['goods_id'],