|
@@ -460,6 +460,7 @@ class WholeController extends Curd
|
|
|
$order->cancel_times = $payExtendJson['cancel_times'] ?? '';
|
|
|
// $payDetail->cancel_times = $payExtendJson['cancel_times'] ?? '';
|
|
|
}
|
|
|
+ dump(22);
|
|
|
if (!empty($payDetail) && !empty($payDetail->pay_prepayid)) {
|
|
|
$categoryArray = explode('-', $payDetail->pay_prepayid);
|
|
|
if (isset($categoryArray[1])) {
|
|
@@ -481,6 +482,7 @@ class WholeController extends Curd
|
|
|
|
|
|
$refund->order_return_refund_json = json_encode($returnRefundJson);
|
|
|
}
|
|
|
+ dump(33);
|
|
|
if (!empty($order->order_config_json)) {
|
|
|
$orderConfigJson = json_decode($order->order_config_json, true);
|
|
|
if (isset($orderConfigJson['reach'])) {
|
|
@@ -509,6 +511,7 @@ class WholeController extends Curd
|
|
|
$order->cancel_times = $orderExtendJson['cancel_times'];
|
|
|
}
|
|
|
}
|
|
|
+ dump(33);
|
|
|
$discount = ['coupon_name' => '', 'classify' => '', 'value' => 0];
|
|
|
if (!empty($order->order_discount_json)) {
|
|
|
$orderDiscountJson = json_decode($order->order_discount_json, true);
|
|
@@ -540,6 +543,7 @@ class WholeController extends Curd
|
|
|
if (!empty($discount['classify'])) {
|
|
|
$discount['classify'] = rtrim($discount['classify'], ', ');
|
|
|
}
|
|
|
+ dump(44);
|
|
|
}
|
|
|
$order->discount = $discount;
|
|
|
|