render();
}
@Before
public static void login() {
Secure secure = getActionAnnotation(Secure.class);
Logger.info("login checking , user id = " + session.get("USER_ID"));
if (secure != null && secure.login()) {
if (session.get("USER_ID") == null) {
Logger.info("user id is null , need login");
Users.needLogin();
}
String userId = session.get("USER_ID").toString();