Commit 41725224624051b805291dec4a7bd75f54c9b052
1 parent
04a3893aef
Exists in
master
and in
1 other branch
不给护士环信账号
Showing 1 changed file with 1 additions and 1 deletions
talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/UserContoller.java
View file @
4172522
| ... | ... | @@ -65,7 +65,7 @@ |
| 65 | 65 | String JWT = JwtUtils.createJWT("1", user.getLogin(), Constant.JWT_TTL); |
| 66 | 66 | tMap.put("token",JWT); |
| 67 | 67 | |
| 68 | - if(user.getHxid()==null){ | |
| 68 | + if(user.getHxid()==null && user.getHid()==null){ | |
| 69 | 69 | JSONObject json=hxService.addUser(user.getLogin(),Constant.COMMON_PASSWD); |
| 70 | 70 | JSONArray rArr=json.getJSONArray("entities"); |
| 71 | 71 | if(rArr.size()>0){ |