设备支付

This commit is contained in:
gaowdong 2025-03-28 08:59:40 +08:00
parent feffac06b9
commit 8578b57bb2
1 changed files with 3 additions and 2 deletions

View File

@ -70,8 +70,9 @@ public class OrderAndroidController {
DeviceInfoVO deviceInfoVO = this.orderPlaceAndroidBusiness.getDeviceInfoByHeader(headers, true);
OrderPayAndroidVO payAndroidVO = this.orderPlaceAndroidBusiness.placeAndPay(dto, deviceInfoVO);
log.info("[设备收单支付]支付耗时:{}", System.currentTimeMillis() - startTime);
return !payAndroidVO.ifSuccess() && dto.ifOnline() ? new AjaxResult(payAndroidVO.getCode(), payAndroidVO.getMsg(),
payAndroidVO) : AjaxResult.success(payAndroidVO);
return !payAndroidVO.ifSuccess() && dto.ifOnline() ?
AjaxResult.error(payAndroidVO.getMsg(), payAndroidVO)
: AjaxResult.success(payAndroidVO);
}
@PostMapping({"/query-pay-result"})