Showing
1 changed file
with
4 additions
and
0 deletions
| ... | @@ -17,6 +17,7 @@ import org.springframework.web.client.RestTemplate; | ... | @@ -17,6 +17,7 @@ import org.springframework.web.client.RestTemplate; |
| 17 | 17 | ||
| 18 | import java.net.URLDecoder; | 18 | import java.net.URLDecoder; |
| 19 | import java.util.*; | 19 | import java.util.*; |
| 20 | +import java.util.regex.Pattern; | ||
| 20 | import java.util.stream.Collectors; | 21 | import java.util.stream.Collectors; |
| 21 | 22 | ||
| 22 | /** | 23 | /** |
| ... | @@ -78,6 +79,9 @@ public class LoginControllerUtils { | ... | @@ -78,6 +79,9 @@ public class LoginControllerUtils { |
| 78 | UserDataApiVo userDataApiVo = this.createUserDataApiVo(fclUserInfoResponse); | 79 | UserDataApiVo userDataApiVo = this.createUserDataApiVo(fclUserInfoResponse); |
| 79 | fclInfoDto.setFclContactname(userDataApiVo.getUserName()); | 80 | fclInfoDto.setFclContactname(userDataApiVo.getUserName()); |
| 80 | String fcl_uuid = this.getUuid(tokenInfo,userDataApiVo.getUuid()); | 81 | String fcl_uuid = this.getUuid(tokenInfo,userDataApiVo.getUuid()); |
| 82 | + //去除多余双引号 | ||
| 83 | + Pattern pattern = Pattern.compile("\""); | ||
| 84 | + fcl_uuid = pattern.matcher(fcl_uuid).replaceAll(""); | ||
| 81 | /** | 85 | /** |
| 82 | * 对用户名进行解码处理 | 86 | * 对用户名进行解码处理 |
| 83 | */ | 87 | */ | ... | ... |
-
Please register or login to post a comment