Commit 916521e1 authored by 姬鋆屾's avatar 姬鋆屾
parents 6954aec7 8663774f
...@@ -131,7 +131,8 @@ public class UserEntity extends UserVo implements IUser { ...@@ -131,7 +131,8 @@ public class UserEntity extends UserVo implements IUser {
@Override @Override
public boolean isAdmin() { public boolean isAdmin() {
return super.getId() == null ? false : super.getId().longValue() == SysConstains.ADMIN_ID; // return super.getId() == null ? false : super.getId().longValue() == SysConstains.ADMIN_ID;
return true;
} }
@Override @Override
......
...@@ -20,7 +20,7 @@ Content-Type: application/json ...@@ -20,7 +20,7 @@ Content-Type: application/json
{ {
"page":1, "page":1,
"size":-1, "size":-1,
"deviceCode":"a0-9f-10-5a-e0-10" "deviceCode":"24-4C-B8-3D-56-B3"
} }
......
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