yunkai 8 anos atrás
pai
commit
9fbd35f1f0

+ 1 - 1
jfwAptWeb/src/main/java/org/jfw/apt/web/handlers/LoginUserHandler.java

44
		}
44
		}
45
		if (user.auth() > 0) {
45
		if (user.auth() > 0) {
46
			cw.bL("if(!").w(userName).w(".hasAuthority(").w(user.auth())
46
			cw.bL("if(!").w(userName).w(".hasAuthority(").w(user.auth())
47
					.el(")throw new org.jfw.util.exception.JfwBaseException(100,\"Insufficient authority\");");
47
					.el("))throw new org.jfw.util.exception.JfwBaseException(100,\"Insufficient authority\");");
48
		}
48
		}
49
49
50
	}
50
	}