|
|
@@ -400,6 +400,7 @@ class StoreOrderRepository extends BaseRepository
|
|
|
|
|
|
if (!$presell) {
|
|
|
if ($order['extension_one'] > 0) {
|
|
|
+ @file_put_contents('quanju.txt', $groupOrder->user->ValidSpread->nickname ."-测试5?\r\n",8);
|
|
|
$finance[] = [
|
|
|
'order_id' => $order->order_id,
|
|
|
'order_sn' => $order->order_sn,
|
|
|
@@ -415,6 +416,7 @@ class StoreOrderRepository extends BaseRepository
|
|
|
];
|
|
|
}
|
|
|
if ($order['extension_two'] > 0) {
|
|
|
+ @file_put_contents('quanju.txt', $groupOrder->user->ValidSpread->ValidSpread ."-测试4?\r\n",8);
|
|
|
$finance[] = [
|
|
|
'order_id' => $order->order_id,
|
|
|
'order_sn' => $order->order_sn,
|
|
|
@@ -430,6 +432,7 @@ class StoreOrderRepository extends BaseRepository
|
|
|
];
|
|
|
}
|
|
|
if ($order['commission_rate'] > 0) {
|
|
|
+ @file_put_contents('quanju.txt',$groupOrder->user->nickname."-测试1?\r\n",8);
|
|
|
$finance[] = [
|
|
|
'order_id' => $order->order_id,
|
|
|
'order_sn' => $order->order_sn,
|
|
|
@@ -444,6 +447,7 @@ class StoreOrderRepository extends BaseRepository
|
|
|
'pay_type' => $groupOrder->pay_type
|
|
|
];
|
|
|
}
|
|
|
+ @file_put_contents('quanju.txt',$groupOrder->user->nickname."-测试2?\r\n",8);
|
|
|
$finance[] = [
|
|
|
'order_id' => $order->order_id,
|
|
|
'order_sn' => $order->order_sn,
|
|
|
@@ -458,6 +462,7 @@ class StoreOrderRepository extends BaseRepository
|
|
|
'pay_type' => $groupOrder->pay_type
|
|
|
];
|
|
|
if ($order->platform_coupon_price > 0) {
|
|
|
+ @file_put_contents('quanju.txt', $groupOrder->user->nickname ."-测试3?\r\n",8);
|
|
|
$finance[] = [
|
|
|
'order_id' => $order->order_id,
|
|
|
'order_sn' => $order->order_sn,
|