单点登录接口

This commit is contained in:
zhangqinbin
2022-06-17 11:28:11 +08:00
parent dad379c1bc
commit 6010d1e71d

View File

@ -59,10 +59,10 @@ public class SinglePointController {
@RequestParam(name = "page", required = false) String page) { @RequestParam(name = "page", required = false) String page) {
String uid = userId; String uid = userId;
if(userService.getCacheUser()!=null&& // if(userService.getCacheUser()!=null&&
userService.getCacheUser().getUserId()!=null){ // userService.getCacheUser().getUserId()!=null){
uid = userService.getCacheUser().getUserId(); // uid = userService.getCacheUser().getUserId();
} // }
String encodeUrl = singlePointService.generateEncodeUrl(uid,page); String encodeUrl = singlePointService.generateEncodeUrl(uid,page);
return BaseResponse.success(encodeUrl); return BaseResponse.success(encodeUrl);