Java Code Examples for com.xxl.job.admin.controller.interceptor.PermissionInterceptor#logout()
The following examples show how to use
com.xxl.job.admin.controller.interceptor.PermissionInterceptor#logout() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: IndexController.java From open-capacity-platform with Apache License 2.0 | 5 votes |
@RequestMapping(value="logout", method=RequestMethod.POST) @ResponseBody @PermessionLimit(limit=false) public ReturnT<String> logout(HttpServletRequest request, HttpServletResponse response){ if (PermissionInterceptor.ifLogin(request)) { PermissionInterceptor.logout(request, response); } return ReturnT.SUCCESS; }
Example 2
Source File: IndexController.java From microservices-platform with Apache License 2.0 | 5 votes |
@RequestMapping(value="logout", method=RequestMethod.POST) @ResponseBody @PermessionLimit(limit=false) public ReturnT<String> logout(HttpServletRequest request, HttpServletResponse response){ if (PermissionInterceptor.ifLogin(request)) { PermissionInterceptor.logout(request, response); } return ReturnT.SUCCESS; }
Example 3
Source File: IndexController.java From zuihou-admin-boot with Apache License 2.0 | 5 votes |
@RequestMapping(value = "logout", method = RequestMethod.POST) @ResponseBody @PermessionLimit(limit = false) public ReturnT<String> logout(HttpServletRequest request, HttpServletResponse response) { if (PermissionInterceptor.ifLogin(request)) { PermissionInterceptor.logout(request, response); } return ReturnT.SUCCESS; }
Example 4
Source File: IndexController.java From zuihou-admin-cloud with Apache License 2.0 | 5 votes |
@RequestMapping(value = "logout", method = RequestMethod.POST) @ResponseBody @PermessionLimit(limit = false) public ReturnT<String> logout(HttpServletRequest request, HttpServletResponse response) { if (PermissionInterceptor.ifLogin(request)) { PermissionInterceptor.logout(request, response); } return ReturnT.SUCCESS; }