chuweiqiang hai 1 ano
pai
achega
251193bffc
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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'],