|
|
@@ -407,7 +407,7 @@ class DouYinService
|
|
|
'douyinOrderId'=>$params['cp_extra']['douyinOrderId'],
|
|
|
'user_id'=>$user_id??0,
|
|
|
'total_amount'=>$params['total_amount'],
|
|
|
- 'discount_amount'=>$params['discount_amount'],
|
|
|
+ 'discount_amount'=>$params['discount_amount']??0,
|
|
|
]);
|
|
|
$payNotifyUrl = 'https://weixiudev.kyjlkj.com/api/dou_yin/payTailNotify';
|
|
|
}else{
|
|
|
@@ -911,8 +911,10 @@ class DouYinService
|
|
|
"out_refund_no" => $douyinRefundOrder->refund_number,
|
|
|
"cp_extra" => $orderInfo['id'].'|'.$douyinRefundOrder->id,
|
|
|
"order_entry_schema" => [
|
|
|
- "path" => "page/index/index",
|
|
|
- "params" => json_encode(['refund_number'=>$douyinRefundOrder->refund_number])
|
|
|
+ /*"path" => "page/index/index",
|
|
|
+ "params" => json_encode(['refund_number'=>$douyinRefundOrder->refund_number])*/
|
|
|
+ "path" => "pages/order/detail",
|
|
|
+ "params" => json_encode(['order_number' => $order_number])
|
|
|
],
|
|
|
"refund_total_amount " => $douyinRefundOrder->refund_amount * 100,
|
|
|
//"notify_url" => config('douyin.refundNotifyUrl'),
|