k94314517
2025-05-19 16e8c7adbee6c9ee9bac09a80d44d3bfd3fe2f0c
server/service/src/main/java/com/doumee/config/shiro/ShiroToken.java
@@ -15,14 +15,24 @@
     */
    boolean needPassword;
    int userType;
    Integer companyId;
    public ShiroToken() {
    }
    public  ShiroToken( String username, String password, boolean needPassword,int userType) {
    public  ShiroToken( String username, String password, boolean needPassword,int userType,Integer companyId) {
        super(username,  password, false, (String)null);
        this.needPassword = needPassword;
        this.userType = userType;
        this.companyId = companyId;
    }
    public Integer getCompanyId() {
        return companyId;
    }
    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }
    public boolean isNeedPassword() {
        return needPassword;