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'],