Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
cdf5ba4c62
|
|
@ -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"})
|
||||
|
|
@ -81,7 +82,7 @@ public class OrderAndroidController {
|
|||
OrderPayAndroidVO payAndroidVO = this.orderPlaceAndroidBusiness.queryPayResult((request).getMacOrderId());
|
||||
log.info("[设备收单查询]支付耗时:{}", System.currentTimeMillis() - startTime);
|
||||
return RetCodeEnum.SUCC.getKey().equals(payAndroidVO.getCode()) ? AjaxResult.success(payAndroidVO) :
|
||||
new AjaxResult(payAndroidVO.getCode(), payAndroidVO.getMsg(), payAndroidVO);
|
||||
AjaxResult.error(payAndroidVO.getMsg(), payAndroidVO);
|
||||
}
|
||||
|
||||
@PostMapping({"/page"})
|
||||
|
|
|
|||
Loading…
Reference in New Issue