|
|
@@ -38,13 +38,14 @@ class HdRefundClass extends BaseClass
|
|
|
];
|
|
|
$laResource = new Lakala($params);
|
|
|
$refundReason = '';
|
|
|
- $aliParams = [
|
|
|
+ $thirdNo = $order->thirdNo ?? '';
|
|
|
+ $backParams = [
|
|
|
'refundSn' => $refundSn,
|
|
|
- 'orderSn' => $xsOrderSn,
|
|
|
+ 'thirdNo' => $thirdNo,
|
|
|
'refundAmount' => $refundFee,
|
|
|
'refundReason' => $refundReason,
|
|
|
];
|
|
|
- $response = $laResource->refund($aliParams);
|
|
|
+ $response = $laResource->refund($backParams);
|
|
|
if (!isset($response['code']) || $response['code'] != 'BBS00000') {
|
|
|
$errMsg = $response['msg'] ?? '';
|
|
|
return ['status' => 0, 'msg' => $errMsg];
|