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

Commit 9eb7f1f6 authored by wanglele's avatar wanglele

兑换码定时任务 空投

parent b6941621
......@@ -262,13 +262,13 @@ public class GoblinNftExCodeServiceImpl implements IGoblinNftExCodeService {
String post = HttpUtil.post(orderUrl + "/order/goblin/nft/airdrop", params, headers);
ResponseDto<Boolean> rsp = JsonUtils.fromJson(post, new TypeReference<ResponseDto<Boolean>>() {
});
if (rsp.getData() != null && rsp.getData()) {
if (rsp.isSuccess()) {
goblinNftExCode.setAdminUid(goblinNftExCodeParam.getAdminUid());
goblinNftExCodeMapper.updateCodeAdminUid(goblinNftExCode);
return ResponseDto.success(true);
}else {
return ResponseDto.failure(rsp.getMessage());
}
return rsp;
} catch (Exception e) {
e.printStackTrace();
return ResponseDto.failure("发送公投失败!");
......
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