Browse Source

在线用户

tianwu.sun 9 months ago
parent
commit
75e8ece5ed

+ 0 - 10
src/main/java/com/bootdo/common/token/Header.java

@@ -9,9 +9,6 @@ import java.io.Serializable;
 public class Header implements Serializable {
     private long timestamp;
 
-    //系统标志:0后台管理,1数据备案,2风险评估
-    private Integer sysFlag;
-
     public long getTimestamp() {
         return timestamp;
     }
@@ -20,11 +17,4 @@ public class Header implements Serializable {
         this.timestamp = timestamp;
     }
 
-    public Integer getSysFlag() {
-        return sysFlag;
-    }
-
-    public void setSysFlag(Integer sysFlag) {
-        this.sysFlag = sysFlag;
-    }
 }

+ 0 - 1
src/main/java/com/bootdo/common/token/TokenUtil.java

@@ -77,7 +77,6 @@ public final class TokenUtil {
         tokenObj.setPayload(payload);
         Header header = new Header();
         header.setTimestamp(System.currentTimeMillis() / 1000);
-        header.setSysFlag(1);
         tokenObj.setHeader(header);
         String token = createTokenString(tokenObj);
         return token;