| | |
| | | */ |
| | | @PostMapping("/getUserInfo") |
| | | public R<LoginUserInfoVO> getUserInfo(@RequestParam("userName") String userName) { |
| | | int index = userName.indexOf("_"); |
| | | int index2 = userName.lastIndexOf("_"); |
| | | String type = userName.substring(index + 1,index2); |
| | | String name = userName.substring(0, index); |
| | | String appid=userName.substring(index2+1); |
| | | String username=userName.substring(0,index2); |
| | | int index = username.lastIndexOf("_"); |
| | | String type = username.substring(index + 1); |
| | | String name = username.substring(0, index); |
| | | return userService.getUserInfo(name, Integer.parseInt(type),appid); |
| | | } |
| | | |