记得上下班打卡 | git大法好,push需谨慎

Commit e98ed83d authored by zhengfuxin's avatar zhengfuxin

修改支付。

parent b76df422
......@@ -19,6 +19,8 @@ public enum DragonErrorCodeEnum {
TRADE_PARAM_ERROR("PAY0010006","支付参数异常"),
TRADE_SCAN_ERROR("PAY0010011","用户提供的码错误"),
TRADE_ERROR_NOT_EXISTS("PAY0010007","订单不存在!"),
TRADE_ERROR_HAS_PAID("PAY0010008","订单已经支付成功!"),
......@@ -33,7 +35,7 @@ public enum DragonErrorCodeEnum {
TRADE_DOUYINPAY_SIGN_ERROR("PAY0030001","抖音签名异常!"),
TRADE_DOUYINPAY_QUERY_ERROR("PAY0030002","抖音查询支付订单异常!"),
TRADE_DOUYINPAY_QUERY_ERROR("PAY0030002","抖音查询 throw new LiquidnetServiceException(DragonErrorCodeEnum.TRADE_PARAM_ERROR.getCode(),DragonErrorCodeEnum.TRADE_PARAM_ERROR.getMessage());支付订单异常!"),
TRADE_UNIONPAY_SIGN_ERROR("PAY0040001","银联签名异常!"),
......
......@@ -58,6 +58,9 @@ public abstract class AbstractAlipayStrategy implements IAlipayStrategy {
Map<String, Object> result = this.executePay(alipayTradePayReq);
// log.info("dragonPay:alipay:"+dragonPayBaseReqDto.getDeviceFrom()+" response xmlStr: {} ", JSON.toJSONString(result));
log.info("alipay-dragonPay->耗时:{}",(System.currentTimeMillis() - startTime)+"毫秒");
if(null!=result.get("code")&&result.get("code").toString().equals("40004")){
return null;
}
//拼接返回参数
DragonPayBaseRespDto respDto = buildCommonRespDto(dragonPayBaseReqDto);
respDto = this.buildResponseDto(respDto,result);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment