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

Commit d1e3d6bf authored by anjiabin's avatar anjiabin

修改nft消费为接口调用

parent 251556d1
......@@ -62,7 +62,7 @@ public class ConsumerGalaxyJsonNftPublishAndBuyReceiver extends AbstractBizRedis
* @return
*/
private ResponseDto<GalaxyNftPublishAndBuyRespDto> nftPublishAndBuy(GalaxyNftPublishAndBuyReqDto reqDto) {
String postUrl = serviceGoblinUrl + "/goblin/nftTrade/nftPublishAndBuy";
String postUrl = serviceGoblinUrl + "/goblin/nftTrade/que/nftPublishAndBuy";
try {
String postRespStr = HttpUtil.postJson(postUrl, JsonUtils.toJson(reqDto));
ResponseDto responseDto = JsonUtils.fromJson(postRespStr, ResponseDto.class);
......
......@@ -62,7 +62,7 @@ public class ConsumerGalaxyJsonNftUserRegisterReceiver extends AbstractBizRedisR
* @return
*/
private ResponseDto<GalaxyUserRegisterRespDto> userRegister(GalaxyUserRegisterReqDto reqDto) {
String postUrl = serviceGoblinUrl + "/goblin/nftUser/register";
String postUrl = serviceGoblinUrl + "/goblin/nftUser/que/register";
try {
String postRespStr = HttpUtil.postJson(postUrl, JsonUtils.toJson(reqDto));
ResponseDto responseDto = JsonUtils.fromJson(postRespStr, ResponseDto.class);
......
......@@ -57,7 +57,7 @@ public class GalaxyTradeController {
@ControllerLog(description = "NFT购买(发行+购买)")
@ApiOperationSupport(order = 1)
@ApiOperation(value = "NFT购买(发行+购买)")
@PostMapping(value = {"nftPublishAndBuy"})
@PostMapping(value = {"/que/nftPublishAndBuy"})
public ResponseDto<GalaxyNftPublishAndBuyRespDto> nftPublishAndBuy(@Valid @RequestBody GalaxyNftPublishAndBuyReqDto reqDto){
return galaxyTradeService.nftPublishAndBuy(reqDto);
}
......
......@@ -41,7 +41,7 @@ public class GalaxyUserController {
@ControllerLog(description = "NFT用户注册")
@ApiOperationSupport(order = 1)
@ApiOperation(value = "NFT用户注册")
@PostMapping(value = {"register"})
@PostMapping(value = {"/que/register"})
public ResponseDto<GalaxyUserRegisterRespDto> register(@Valid @RequestBody GalaxyUserRegisterReqDto reqDto) {
return galaxyUserService.userRegister(reqDto);
}
......
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