|
|
@@ -899,9 +899,8 @@ class StoreOrder extends BaseModel
|
|
|
event('OrderPaySuccess', [$order, $formId]);
|
|
|
$type = User::where('uid', $order['uid'])->value('is_first');
|
|
|
// 是否是报单商品
|
|
|
- var_dump($order->cart_id);die();
|
|
|
- $string = trim($order->cart_id, "[]");
|
|
|
- $array = explode(",", $string);
|
|
|
+
|
|
|
+ $array = $order->cart_id;
|
|
|
foreach ($array as $v){
|
|
|
$product_id = StoreCart::where('id',$v)->value('product_id');
|
|
|
$is_explosive = StoreProduct::where('id',$product_id)->value('is_explosive');
|