|
@@ -293,7 +293,7 @@ public class SysLoginService {
|
|
|
//业务中台的单点登录
|
|
//业务中台的单点登录
|
|
|
public LoginVo codeLogin(String code,String otherInfo) {
|
|
public LoginVo codeLogin(String code,String otherInfo) {
|
|
|
String redirectUri = wechatConfig.getDomainName() + wechatConfig.getContextPath() + "#/";
|
|
String redirectUri = wechatConfig.getDomainName() + wechatConfig.getContextPath() + "#/";
|
|
|
- if("home".equals(otherInfo) || "school_code".equals(otherInfo)){
|
|
|
|
|
|
|
+ if("home".equals(otherInfo) || "school_code".equals(otherInfo) || "scan_face_new".equals(otherInfo)){
|
|
|
redirectUri += otherInfo;
|
|
redirectUri += otherInfo;
|
|
|
}else{
|
|
}else{
|
|
|
throw new ServiceException("参数有误!");
|
|
throw new ServiceException("参数有误!");
|
|
@@ -313,7 +313,7 @@ public class SysLoginService {
|
|
|
// token 换取用户信息
|
|
// token 换取用户信息
|
|
|
loginInfo = getLoginUser(access_token);
|
|
loginInfo = getLoginUser(access_token);
|
|
|
}else{
|
|
}else{
|
|
|
- loginInfo.put("ssoId", "00327B1BFA2A69140E1902F23597729759A");
|
|
|
|
|
|
|
+ loginInfo.put("ssoId", "0031E57EE86EFE248149AE375E0E0ACA5E8");
|
|
|
loginInfo.put("openId", "13602");
|
|
loginInfo.put("openId", "13602");
|
|
|
}
|
|
}
|
|
|
|
|
|