chuweiqiang 1 年之前
父節點
當前提交
251193bffc
共有 1 個文件被更改,包括 1 次插入0 次删除
  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'],