Commit cb92ac9d authored by Quxl's avatar Quxl

x

parent 112085c2
...@@ -58,7 +58,7 @@ public class WebUtilController { ...@@ -58,7 +58,7 @@ public class WebUtilController {
@ApiOperation("校验权限") @ApiOperation("校验权限")
public void verifyAuth() { public void verifyAuth() {
Fc_admin admin = Util.mapTo(tokenService.getTokenObj(), Fc_admin.class); Fc_admin admin = Util.mapTo(tokenService.getTokenObj(), Fc_admin.class);
if(!admin.getUsername().equals("admin")) { if(!admin.getUsername().equals("quxl")) {
throw new XRException("权限错误"); throw new XRException("权限错误");
} }
} }
......
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