|
@@ -3085,7 +3085,11 @@ public class OrderServiceImpl implements OrderService {
|
|
|
orderWXPayRecordService.updateRecord(orderWXPayRecordCurrent.getId(), wechatMicropayApiResult);
|
|
|
|
|
|
order.setRequest(payOriginInfoDTO.getRequest());
|
|
|
- order.setResponse(payOriginInfoDTO.getResponse());
|
|
|
+ String response = payOriginInfoDTO.getResponse();
|
|
|
+ if (!org.springframework.util.StringUtils.isEmpty(response)) {
|
|
|
+ response = response.replaceAll("\r|\n", "");
|
|
|
+ }
|
|
|
+ order.setResponse(response);
|
|
|
order.setPayApp("wxpay");
|
|
|
order.setFeeType(wechatMicropayApiResult.getFee_type());
|
|
|
order.setAliTradeNo(wechatMicropayApiResult.getTransaction_id());
|