|
@@ -1190,7 +1190,7 @@ class StoreRefundOrderRepository extends BaseRepository
|
|
1190
|
];
|
1190
|
];
|
|
1191
|
$hf_refund_res = $this->Payment_refund_traits($refund_traits,$key,$group_order['pay_wx']);
|
1191
|
$hf_refund_res = $this->Payment_refund_traits($refund_traits,$key,$group_order['pay_wx']);
|
|
1192
|
Db::name('log')->insert(['data' => '汇付退款返回结果(' . $group_order['group_order_sn'] . '):' . json_encode($hf_refund_res)]);
|
1192
|
Db::name('log')->insert(['data' => '汇付退款返回结果(' . $group_order['group_order_sn'] . '):' . json_encode($hf_refund_res)]);
|
|
1193
|
- if($hf_refund_res['status'] ?? '' == 'failed'){
|
|
|
|
|
|
1193
|
+ if(empty($hf_refund_res['status']) || $hf_refund_res['status'] == 'failed'){
|
|
1194
|
Log::error('汇付退款返回结果(' . $group_order['group_order_sn'] . '):' . json_encode($hf_refund_res));
|
1194
|
Log::error('汇付退款返回结果(' . $group_order['group_order_sn'] . '):' . json_encode($hf_refund_res));
|
|
1195
|
throw new ValidateException('退款失败11');
|
1195
|
throw new ValidateException('退款失败11');
|
|
1196
|
}
|
1196
|
}
|