|
|
@@ -941,8 +941,9 @@ class StoreOrder extends BaseModel
|
|
|
User::where('uid',$uid)->update(['brokerage_price'=>$blance]);
|
|
|
|
|
|
$userInfo = User::get($uid);
|
|
|
-
|
|
|
- $shopping_cart = json_decode($order['cart_id'], true);
|
|
|
+ @file_put_contents('quanju4.txt',$order['cart_id'] . "-购物车id\r\n", 8);
|
|
|
+// $shopping_cart = json_decode($order['cart_id'], true);
|
|
|
+ $shopping_cart = $order['cart_id'];
|
|
|
// 先不考虑什么商品返现比例了
|
|
|
foreach ($shopping_cart as $cart) {
|
|
|
@file_put_contents('quanju4.txt',$cart . "-购物车id\r\n", 8);
|