ludc
2023-09-25 b8ac1a4908fda8fdc04fdab1bf58e3c8fd5231bd
前端代码打包
已修改2个文件
10 ■■■■ 文件已修改
Source/UBCS-WEB/src/page/login/sso.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/controller/PasswordFreeLoginController.java 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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;