|
|
@@ -241,7 +241,7 @@ class Order extends Base |
|
|
|
'order_id' => $order_id |
|
|
|
])->select(); |
|
|
|
$list = collection($list)->toArray(); |
|
|
|
$product = new \app\admin\model\unishop\Product(); |
|
|
|
$product = new Product(); |
|
|
|
foreach ($list as $val){ |
|
|
|
try { |
|
|
|
$product->where(["id"=>$val['product_id']]); |
|
|
|