|
@@ -56,7 +56,7 @@ public class UserService {
|
|
|
JSONObject js = new JSONObject();
|
|
|
js.put("nickname", user.getName());
|
|
|
js.put("avatarUrl", user.getPortrait());
|
|
|
- WeChatUtil.httpPost("http://git.waywish.com:9120/user/update", js, this.getYelToken(String.valueOf(user.getId())));
|
|
|
+ WeChatUtil.httpPost("http://116.204.115.255:9120/user/update", js, this.getYelToken(String.valueOf(user.getId())));
|
|
|
return update;
|
|
|
}
|
|
|
|
|
@@ -70,7 +70,7 @@ public class UserService {
|
|
|
js.put("timestamp", timestamp);
|
|
|
String sign = MD5Utils.code(userId + timestamp + "50abd47112ebe8c5a73f4694c96a49ce");
|
|
|
js.put("sign", sign);
|
|
|
- String str = WeChatUtil.httpPost("http://git.waywish.com:9120/user/token/get", js, null);
|
|
|
+ String str = WeChatUtil.httpPost("http://116.204.115.255:9120/user/token/get", js, null);
|
|
|
JSONObject jsonObject = JSONObject.parseObject(str);
|
|
|
return jsonObject.getJSONObject("data").getString("token");
|
|
|
}
|
|
@@ -137,7 +137,7 @@ public class UserService {
|
|
|
js.put("userId", userId);
|
|
|
js.put("nickname", user.getName());
|
|
|
js.put("avatarUrl", CodeCache.DefaultPortrait);
|
|
|
- WeChatUtil.httpPost("http://git.waywish.com:9120/user/register", js, null);
|
|
|
+ WeChatUtil.httpPost("http://116.204.115.255:9120/user/register", js, null);
|
|
|
}
|
|
|
MgrUserRole mur = mgrUserRoleDao.getUser(userId, organizationId);
|
|
|
if (mur != null) {
|