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

Commit 6590205e authored by jiangxiulong's avatar jiangxiulong

查询订单状态完善

parent 5136924d
...@@ -44,7 +44,7 @@ public class GoblinNftOrderController { ...@@ -44,7 +44,7 @@ public class GoblinNftOrderController {
} }
@PostMapping("checkPayment") @PostMapping("checkPayment")
@ApiOperation("订单状态") @ApiOperation("查询订单状态")
@ApiResponse(code = 200, message = "接口返回对象参数") @ApiResponse(code = 200, message = "接口返回对象参数")
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(type = "form", required = true, dataType = "String", name = "orderId", value = "订单id", example = "1"), @ApiImplicitParam(type = "form", required = true, dataType = "String", name = "orderId", value = "订单id", example = "1"),
......
...@@ -197,6 +197,7 @@ public class GoblinNftOrderServiceImpl implements IGoblinNftOrderService { ...@@ -197,6 +197,7 @@ public class GoblinNftOrderServiceImpl implements IGoblinNftOrderService {
// 是否免费 // 是否免费
boolean isFree = false; boolean isFree = false;
GoblinNftPayResultVo NftPayResultVo = GoblinNftPayResultVo.getNew(); GoblinNftPayResultVo NftPayResultVo = GoblinNftPayResultVo.getNew();
NftPayResultVo.setOrderId(nftOrder.getOrderId());
String payCode; String payCode;
if (nftOrder.getPriceActual().compareTo(BigDecimal.valueOf(0)) > 0) {// 调用支付 if (nftOrder.getPriceActual().compareTo(BigDecimal.valueOf(0)) > 0) {// 调用支付
LinkedMultiValueMap<String, String> httpData = CollectionUtil.linkedMultiValueMapStringString(); LinkedMultiValueMap<String, String> httpData = CollectionUtil.linkedMultiValueMapStringString();
......
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