Source/UBCS-WEB/src/page/login/sso.vue
@@ -25,8 +25,8 @@ onLoad() { //URL传递参数时 会将字符串中的 %2B 也就是+号转换为空格。 this.PathString = decodeURIComponent(this.$route.query.empCode.replace(/\s/g, '+')); console.log(this.$route); console.log(this.PathString); //console.log(this.$route); //console.log(this.PathString); this.$store.dispatch("LoginBySso", { PathString: this.PathString }).then((res) => { console.log('res', res) this.$router.push({ path: this.tagWel.value }); Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/controller/PasswordFreeLoginController.java
@@ -34,12 +34,6 @@ @Slf4j public class PasswordFreeLoginController { @Value("${password-free.client-id:a104c4fd2f0e4958}") private String clientId;//应用ID @Value("${password-free.secret-key:9fbd170bd83eb869}") private String secretKey;//应用秘钥 @Resource private IPasswordFreeLoginService passwordFreeLoginService;