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

Commit 3c0e2e7c authored by anjiabin's avatar anjiabin

提交支付查询

parent 96cb3e71
...@@ -72,6 +72,7 @@ public class PayController { ...@@ -72,6 +72,7 @@ public class PayController {
@RequestParam(value = "expireTime",required = true) String expireTime){ @RequestParam(value = "expireTime",required = true) String expireTime){
//为什么在js和applet中才需要判断open_id? //为什么在js和applet中才需要判断open_id?
if(payType.equalsIgnoreCase(DragonConstant.PayChannelEnum.WEPAY.getCode())){ if(payType.equalsIgnoreCase(DragonConstant.PayChannelEnum.WEPAY.getCode())){
if(deviceFrom.equalsIgnoreCase(DragonConstant.DeviceFromEnum.JS.getCode())||deviceFrom.equalsIgnoreCase(DragonConstant.DeviceFromEnum.APPLET.getCode()))
if(StringUtil.isEmpty(openId)){ if(StringUtil.isEmpty(openId)){
return ResponseDto.failure("微信支付openId不能为空!"); return ResponseDto.failure("微信支付openId不能为空!");
} }
...@@ -95,6 +96,7 @@ public class PayController { ...@@ -95,6 +96,7 @@ public class PayController {
dragonPayBaseReqDto.setExpireTime(expireTime); dragonPayBaseReqDto.setExpireTime(expireTime);
return dragonOrdersService.dragonPay(dragonPayBaseReqDto); return dragonOrdersService.dragonPay(dragonPayBaseReqDto);
} }
@PostMapping("/checkOrder") @PostMapping("/checkOrder")
@ApiOperation("订单查询") @ApiOperation("订单查询")
@ApiResponse(code = 200, message = "接口返回对象参数") @ApiResponse(code = 200, message = "接口返回对象参数")
......
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