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

Commit 87aa6444 authored by jiangxiulong's avatar jiangxiulong

getStatus+格式化

parent c485fc68
...@@ -68,7 +68,7 @@ public class OrderApplePayServiceImpl { ...@@ -68,7 +68,7 @@ public class OrderApplePayServiceImpl {
ResponseDto<GoblinApplePayInnerResultVo> dto = JsonUtils.fromJson(returnData, new TypeReference<ResponseDto<GoblinApplePayInnerResultVo>>() { ResponseDto<GoblinApplePayInnerResultVo> dto = JsonUtils.fromJson(returnData, new TypeReference<ResponseDto<GoblinApplePayInnerResultVo>>() {
}); });
GoblinApplePayInnerResultVo dtoData = dto.getData(); GoblinApplePayInnerResultVo dtoData = dto.getData();
if (null == dtoData || StringUtil.isEmpty(dtoData.getProductId())) { if (null == dtoData || dtoData.getStatus() != 0) {
return false; return false;
} else { } else {
// 支付成功 // 支付成功
......
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