Commit f46f5c19 by hy

默认为Admin用户

parent 633c69bc
......@@ -99,10 +99,11 @@ public class SecurityUtil {
* @return user
*/
public static boolean isAdmin() {
DataUser user = getDataUser();
if (user != null){
return user.isAdmin();
}
return false;
// DataUser user = getDataUser();
// if (user != null){
// return user.isAdmin();
// }
// return false;
return true;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment