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