dcs 3 هفته پیش
والد
کامیت
2a38f2331d

+ 3 - 3
virgo.core/src/main/java/com/bosshand/virgo/core/service/CustomerService.java

@@ -42,7 +42,7 @@ public class CustomerService {
         }
         customer.setCustomerId(getNo());
         customerDao.insert(customer);
-        String url = "http://git.waywish.com:9120/user/register";
+        String url = "http://116.204.115.255:9120/user/register";
         JSONObject js = new JSONObject();
         js.put("userId", customer.getCustomerId());
         js.put("nickname", customer.getNickName());
@@ -57,7 +57,7 @@ public class CustomerService {
     public int update(Customer customer, JSONObject js) {
         Customer c = customerDao.get(customer.getId());
         if (js.size() != 0) {
-            String str = WeChatUtil.httpPost("https://www.waywish.com/im/user/update", js, getToken(c.getCustomerId()));
+            String str = WeChatUtil.httpPost("https://www.workark.com/im/user/update", js, getToken(c.getCustomerId()));
             log.info("updateCustomerChatUser=" + str);
         }
         return customerDao.update(customer);
@@ -95,7 +95,7 @@ public class CustomerService {
         js.put("userId", userId);
         js.put("timestamp", timestamp);
         js.put("sign", sign);
-        String s = WeChatUtil.httpPost("https://www.waywish.com/im/user/token/get", js, null);
+        String s = WeChatUtil.httpPost("https://www.workark.com/im/user/token/get", js, null);
         if (StringUtil.notBlank(s)) {
             String token = JSONObject.parseObject(s).getJSONObject("data").getString("token");
             return token;

+ 2 - 2
virgo.core/src/main/java/com/bosshand/virgo/core/service/MgrUserService.java

@@ -116,7 +116,7 @@ public class MgrUserService {
 	 * 聊天用户新增
 	 */
 	public String addChatUser(String userId, String name) {
-		String url = "http://git.waywish.com:9120/user/register";
+		String url = "http://116.204.115.255:9120/user/register";
 		JSONObject js = new JSONObject();
 		js.put("userId", userId);
 		js.put("nickname", name);
@@ -130,7 +130,7 @@ public class MgrUserService {
 	 * workark聊天用户新增
 	 */
 	public String addWorkarkChatUser(String userId, String name) {
-		String url = "http://git.waywish.com:9120/user/register";
+		String url = "http://116.204.115.255:9120/user/register";
 		JSONObject js = new JSONObject();
 		js.put("userId", "workark"+userId);
 		js.put("nickname", name);

+ 3 - 3
virgo.manager/src/main/java/com/bosshand/virgo/service/UserService.java

@@ -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) {