Commit b5de0927 authored by hezhen's avatar hezhen

123

parent f58a5586
...@@ -367,7 +367,7 @@ public class AppPermissionService { ...@@ -367,7 +367,7 @@ public class AppPermissionService {
if(StringUtils.isNotBlank(imPassword)&&imUserId!=null&&imUserId>0){ if(StringUtils.isNotBlank(imPassword)&&imUserId!=null&&imUserId>0){
String access_token=loginIm(username,imPassword,imUserId); String access_token=loginIm(username,imPassword,imUserId);
data.put("im_token",access_token); data.put("im_token",access_token);
data.put("im_UserId",imUserId); data.put("im_userId",imUserId);
} }
if (data != null) { if (data != null) {
return JsonResultUtil.createSuccessResultWithObj(data); return JsonResultUtil.createSuccessResultWithObj(data);
...@@ -454,7 +454,7 @@ public class AppPermissionService { ...@@ -454,7 +454,7 @@ public class AppPermissionService {
if(StringUtils.isNotBlank(imPassword)&&imUserId!=null&&imUserId>0){ if(StringUtils.isNotBlank(imPassword)&&imUserId!=null&&imUserId>0){
String access_token=loginIm(userLogin.getUsername(),imPassword,imUserId); String access_token=loginIm(userLogin.getUsername(),imPassword,imUserId);
data.put("im_token",access_token); data.put("im_token",access_token);
data.put("im_UserId",imUserId); data.put("im_userId",imUserId);
} }
if (data != null) { if (data != null) {
return JsonResultUtil.createSuccessResultWithObj(data); return JsonResultUtil.createSuccessResultWithObj(data);
...@@ -496,7 +496,7 @@ public class AppPermissionService { ...@@ -496,7 +496,7 @@ public class AppPermissionService {
if(StringUtils.isNotBlank(imPassword)&&imUserId!=null&&imUserId>0){ if(StringUtils.isNotBlank(imPassword)&&imUserId!=null&&imUserId>0){
String access_token=loginIm(username,imPassword,imUserId); String access_token=loginIm(username,imPassword,imUserId);
data.put("im_token",access_token); data.put("im_token",access_token);
data.put("im_UserId",imUserId); data.put("im_userId",imUserId);
} }
if (data != null) { if (data != null) {
return JsonResultUtil.createSuccessResultWithObj(data); return JsonResultUtil.createSuccessResultWithObj(data);
......
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