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

Commit eddd7814 authored by 张国柄's avatar 张国柄

~api:开通数字账号URL更正;

parent c97b5f20
...@@ -41,6 +41,8 @@ public class AdamUserBusiAcctServiceImpl implements IAdamUserBusiAcctService { ...@@ -41,6 +41,8 @@ public class AdamUserBusiAcctServiceImpl implements IAdamUserBusiAcctService {
private IAdamUserService adamUserService; private IAdamUserService adamUserService;
@Value("${liquidnet.service.galaxy.url}")
private String serviceGalaxyUrl;
@Value("${liquidnet.service.goblin.url}") @Value("${liquidnet.service.goblin.url}")
private String serviceGoblinUrl; private String serviceGoblinUrl;
...@@ -118,7 +120,7 @@ public class AdamUserBusiAcctServiceImpl implements IAdamUserBusiAcctService { ...@@ -118,7 +120,7 @@ public class AdamUserBusiAcctServiceImpl implements IAdamUserBusiAcctService {
postBodyNode.put("userName", name); postBodyNode.put("userName", name);
postBodyNode.put("mobile", mobile); postBodyNode.put("mobile", mobile);
postBodyNode.put("userId", uid); postBodyNode.put("userId", uid);
String postUrl = serviceGoblinUrl + "/galaxy/user/register", blockChainAddress; String postUrl = serviceGalaxyUrl + "/galaxy/user/register", blockChainAddress;
try { try {
String postRespStr = HttpUtil.postRaw(postUrl, postBodyNode.toString(), null); String postRespStr = HttpUtil.postRaw(postUrl, postBodyNode.toString(), null);
JsonNode postRespJNode = JsonUtils.fromJson(postRespStr, JsonNode.class), postRespCode; JsonNode postRespJNode = JsonUtils.fromJson(postRespStr, JsonNode.class), postRespCode;
......
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