chenjiahe
2024-08-28 21be64303024a51462c21b5321edcf128c590cd4
token过期问题
1个文件已修改
2 ■■■ 已修改文件
phi_platform_user/src/main/java/com/hx/phip/controller/MpTokenController.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi_platform_user/src/main/java/com/hx/phip/controller/MpTokenController.java
@@ -292,7 +292,7 @@
        Date newDate = new Date();
        long secondNum = (newDate.getTime() - createTime.getTime())/1000;
        secondNum = second - secondNum;
        if(secondNum < 0){
        if(secondNum <= 0){
            secondNum = 1;
        }
        return secondNum;