取消接口的权限校验

master
吴顺杰 2 years ago
parent f03f16b258
commit 8a034b5238

@ -42,7 +42,7 @@ public class BNetController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:net:list')") // @PreAuthorize("@ss.hasPermi('netEwm:net:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(BNet bNet) { public TableDataInfo list(BNet bNet) {
startPage(); startPage();
@ -67,7 +67,7 @@ public class BNetController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:net:export')") // @PreAuthorize("@ss.hasPermi('netEwm:net:export')")
@Log(title = "网络", businessType = BusinessType.EXPORT) @Log(title = "网络", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, BNet bNet) { public void export(HttpServletResponse response, BNet bNet) {
@ -79,7 +79,7 @@ public class BNetController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:net:query')") // @PreAuthorize("@ss.hasPermi('netEwm:net:query')")
@GetMapping(value = "/{id}") @GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id) { public AjaxResult getInfo(@PathVariable("id") Long id) {
return success(bNetService.selectBNetById(id)); return success(bNetService.selectBNetById(id));
@ -88,7 +88,7 @@ public class BNetController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:net:add')") // @PreAuthorize("@ss.hasPermi('netEwm:net:add')")
@Log(title = "网络", businessType = BusinessType.INSERT) @Log(title = "网络", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody BNet bNet) { public AjaxResult add(@RequestBody BNet bNet) {
@ -98,7 +98,7 @@ public class BNetController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:net:edit')") // @PreAuthorize("@ss.hasPermi('netEwm:net:edit')")
@Log(title = "网络", businessType = BusinessType.UPDATE) @Log(title = "网络", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody BNet bNet) { public AjaxResult edit(@RequestBody BNet bNet) {
@ -108,7 +108,7 @@ public class BNetController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:net:remove')") // @PreAuthorize("@ss.hasPermi('netEwm:net:remove')")
@Log(title = "网络", businessType = BusinessType.DELETE) @Log(title = "网络", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}") @DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) { public AjaxResult remove(@PathVariable Long[] ids) {

@ -41,7 +41,7 @@ public class BNetHistoryController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:netHistory:list')") // @PreAuthorize("@ss.hasPermi('netEwm:netHistory:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(BNetHistory bNetHistory) { public TableDataInfo list(BNetHistory bNetHistory) {
startPage(); startPage();
@ -52,7 +52,7 @@ public class BNetHistoryController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:netHistory:export')") // @PreAuthorize("@ss.hasPermi('netEwm:netHistory:export')")
@Log(title = "连网历史", businessType = BusinessType.EXPORT) @Log(title = "连网历史", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, BNetHistory bNetHistory) { public void export(HttpServletResponse response, BNetHistory bNetHistory) {
@ -64,7 +64,7 @@ public class BNetHistoryController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:netHistory:query')") // @PreAuthorize("@ss.hasPermi('netEwm:netHistory:query')")
@GetMapping(value = "/{id}") @GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id) { public AjaxResult getInfo(@PathVariable("id") Long id) {
return success(bNetHistoryService.selectBNetHistoryById(id)); return success(bNetHistoryService.selectBNetHistoryById(id));
@ -73,7 +73,7 @@ public class BNetHistoryController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:netHistory:add')") // @PreAuthorize("@ss.hasPermi('netEwm:netHistory:add')")
@Log(title = "连网历史", businessType = BusinessType.INSERT) @Log(title = "连网历史", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody BNetHistory bNetHistory) { public AjaxResult add(@RequestBody BNetHistory bNetHistory) {
@ -83,7 +83,7 @@ public class BNetHistoryController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:netHistory:edit')") // @PreAuthorize("@ss.hasPermi('netEwm:netHistory:edit')")
@Log(title = "连网历史", businessType = BusinessType.UPDATE) @Log(title = "连网历史", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody BNetHistory bNetHistory) { public AjaxResult edit(@RequestBody BNetHistory bNetHistory) {
@ -93,7 +93,7 @@ public class BNetHistoryController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:netHistory:remove')") // @PreAuthorize("@ss.hasPermi('netEwm:netHistory:remove')")
@Log(title = "连网历史", businessType = BusinessType.DELETE) @Log(title = "连网历史", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}") @DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) { public AjaxResult remove(@PathVariable Long[] ids) {

@ -44,7 +44,7 @@ public class BPosterController extends BaseController {
/** /**
* 广 * 广
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:poster:list')") // @PreAuthorize("@ss.hasPermi('netEwm:poster:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(BPoster bPoster) { public TableDataInfo list(BPoster bPoster) {
startPage(); startPage();
@ -55,7 +55,7 @@ public class BPosterController extends BaseController {
/** /**
* 广 * 广
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:poster:export')") // @PreAuthorize("@ss.hasPermi('netEwm:poster:export')")
@Log(title = "广告", businessType = BusinessType.EXPORT) @Log(title = "广告", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, BPoster bPoster) { public void export(HttpServletResponse response, BPoster bPoster) {
@ -67,7 +67,7 @@ public class BPosterController extends BaseController {
/** /**
* 广 * 广
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:poster:query')") // @PreAuthorize("@ss.hasPermi('netEwm:poster:query')")
@GetMapping(value = "/{id}") @GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id) { public AjaxResult getInfo(@PathVariable("id") Long id) {
return success(bPosterService.selectBPosterById(id)); return success(bPosterService.selectBPosterById(id));
@ -76,7 +76,7 @@ public class BPosterController extends BaseController {
/** /**
* 广 * 广
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:poster:add')") // @PreAuthorize("@ss.hasPermi('netEwm:poster:add')")
@Log(title = "广告", businessType = BusinessType.INSERT) @Log(title = "广告", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody BPoster bPoster) { public AjaxResult add(@RequestBody BPoster bPoster) {
@ -99,7 +99,7 @@ public class BPosterController extends BaseController {
/** /**
* 广 * 广
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:poster:edit')") // @PreAuthorize("@ss.hasPermi('netEwm:poster:edit')")
@Log(title = "广告", businessType = BusinessType.UPDATE) @Log(title = "广告", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody BPoster bPoster) { public AjaxResult edit(@RequestBody BPoster bPoster) {
@ -109,7 +109,7 @@ public class BPosterController extends BaseController {
/** /**
* 广 * 广
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:poster:remove')") // @PreAuthorize("@ss.hasPermi('netEwm:poster:remove')")
@Log(title = "广告", businessType = BusinessType.DELETE) @Log(title = "广告", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}") @DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) { public AjaxResult remove(@PathVariable Long[] ids) {

@ -41,7 +41,7 @@ public class BPosterHistoryController extends BaseController {
/** /**
* 广 * 广
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:posterHistory:list')") // @PreAuthorize("@ss.hasPermi('netEwm:posterHistory:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(BPosterHistory bPosterHistory) { public TableDataInfo list(BPosterHistory bPosterHistory) {
startPage(); startPage();
@ -52,7 +52,7 @@ public class BPosterHistoryController extends BaseController {
/** /**
* 广 * 广
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:posterHistory:export')") // @PreAuthorize("@ss.hasPermi('netEwm:posterHistory:export')")
@Log(title = "广告历史", businessType = BusinessType.EXPORT) @Log(title = "广告历史", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, BPosterHistory bPosterHistory) { public void export(HttpServletResponse response, BPosterHistory bPosterHistory) {
@ -64,7 +64,7 @@ public class BPosterHistoryController extends BaseController {
/** /**
* 广 * 广
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:posterHistory:query')") // @PreAuthorize("@ss.hasPermi('netEwm:posterHistory:query')")
@GetMapping(value = "/{id}") @GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id) { public AjaxResult getInfo(@PathVariable("id") Long id) {
return success(bPosterHistoryService.selectBPosterHistoryById(id)); return success(bPosterHistoryService.selectBPosterHistoryById(id));
@ -73,7 +73,7 @@ public class BPosterHistoryController extends BaseController {
/** /**
* 广 * 广
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:posterHistory:add')") // @PreAuthorize("@ss.hasPermi('netEwm:posterHistory:add')")
@Log(title = "广告历史", businessType = BusinessType.INSERT) @Log(title = "广告历史", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody BPosterHistory bPosterHistory) { public AjaxResult add(@RequestBody BPosterHistory bPosterHistory) {
@ -83,7 +83,7 @@ public class BPosterHistoryController extends BaseController {
/** /**
* 广 * 广
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:posterHistory:edit')") // @PreAuthorize("@ss.hasPermi('netEwm:posterHistory:edit')")
@Log(title = "广告历史", businessType = BusinessType.UPDATE) @Log(title = "广告历史", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody BPosterHistory bPosterHistory) { public AjaxResult edit(@RequestBody BPosterHistory bPosterHistory) {
@ -93,7 +93,7 @@ public class BPosterHistoryController extends BaseController {
/** /**
* 广 * 广
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:posterHistory:remove')") // @PreAuthorize("@ss.hasPermi('netEwm:posterHistory:remove')")
@Log(title = "广告历史", businessType = BusinessType.DELETE) @Log(title = "广告历史", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}") @DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) { public AjaxResult remove(@PathVariable Long[] ids) {

@ -9,7 +9,6 @@ import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.system.domain.BShanghu; import com.ruoyi.system.domain.BShanghu;
import com.ruoyi.system.service.IBShanghuService; import com.ruoyi.system.service.IBShanghuService;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
@ -41,7 +40,7 @@ public class BShanghuController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:shanghu:list')") // @PreAuthorize("@ss.hasPermi('netEwm:shanghu:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(BShanghu bShanghu) { public TableDataInfo list(BShanghu bShanghu) {
startPage(); startPage();
@ -52,7 +51,7 @@ public class BShanghuController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:shanghu:export')") // @PreAuthorize("@ss.hasPermi('netEwm:shanghu:export')")
@Log(title = "商户", businessType = BusinessType.EXPORT) @Log(title = "商户", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, BShanghu bShanghu) { public void export(HttpServletResponse response, BShanghu bShanghu) {
@ -64,7 +63,7 @@ public class BShanghuController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:shanghu:query')") // @PreAuthorize("@ss.hasPermi('netEwm:shanghu:query')")
@GetMapping(value = "/{id}") @GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id) { public AjaxResult getInfo(@PathVariable("id") Long id) {
return success(bShanghuService.selectBShanghuById(id)); return success(bShanghuService.selectBShanghuById(id));
@ -73,7 +72,7 @@ public class BShanghuController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:shanghu:add')") // @PreAuthorize("@ss.hasPermi('netEwm:shanghu:add')")
@Log(title = "商户", businessType = BusinessType.INSERT) @Log(title = "商户", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody BShanghu bShanghu) { public AjaxResult add(@RequestBody BShanghu bShanghu) {
@ -83,7 +82,7 @@ public class BShanghuController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:shanghu:edit')") // @PreAuthorize("@ss.hasPermi('netEwm:shanghu:edit')")
@Log(title = "商户", businessType = BusinessType.UPDATE) @Log(title = "商户", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody BShanghu bShanghu) { public AjaxResult edit(@RequestBody BShanghu bShanghu) {
@ -93,7 +92,7 @@ public class BShanghuController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('netEwm:shanghu:remove')") // @PreAuthorize("@ss.hasPermi('netEwm:shanghu:remove')")
@Log(title = "商户", businessType = BusinessType.DELETE) @Log(title = "商户", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}") @DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) { public AjaxResult remove(@PathVariable Long[] ids) {

@ -44,7 +44,7 @@ public class CacheController
caches.add(new SysCache(CacheConstants.PWD_ERR_CNT_KEY, "密码错误次数")); caches.add(new SysCache(CacheConstants.PWD_ERR_CNT_KEY, "密码错误次数"));
} }
@PreAuthorize("@ss.hasPermi('monitor:cache:list')") // @PreAuthorize("@ss.hasPermi('monitor:cache:list')")
@GetMapping() @GetMapping()
public AjaxResult getInfo() throws Exception public AjaxResult getInfo() throws Exception
{ {
@ -68,14 +68,14 @@ public class CacheController
return AjaxResult.success(result); return AjaxResult.success(result);
} }
@PreAuthorize("@ss.hasPermi('monitor:cache:list')") // @PreAuthorize("@ss.hasPermi('monitor:cache:list')")
@GetMapping("/getNames") @GetMapping("/getNames")
public AjaxResult cache() public AjaxResult cache()
{ {
return AjaxResult.success(caches); return AjaxResult.success(caches);
} }
@PreAuthorize("@ss.hasPermi('monitor:cache:list')") // @PreAuthorize("@ss.hasPermi('monitor:cache:list')")
@GetMapping("/getKeys/{cacheName}") @GetMapping("/getKeys/{cacheName}")
public AjaxResult getCacheKeys(@PathVariable String cacheName) public AjaxResult getCacheKeys(@PathVariable String cacheName)
{ {
@ -83,7 +83,7 @@ public class CacheController
return AjaxResult.success(cacheKeys); return AjaxResult.success(cacheKeys);
} }
@PreAuthorize("@ss.hasPermi('monitor:cache:list')") // @PreAuthorize("@ss.hasPermi('monitor:cache:list')")
@GetMapping("/getValue/{cacheName}/{cacheKey}") @GetMapping("/getValue/{cacheName}/{cacheKey}")
public AjaxResult getCacheValue(@PathVariable String cacheName, @PathVariable String cacheKey) public AjaxResult getCacheValue(@PathVariable String cacheName, @PathVariable String cacheKey)
{ {
@ -92,7 +92,7 @@ public class CacheController
return AjaxResult.success(sysCache); return AjaxResult.success(sysCache);
} }
@PreAuthorize("@ss.hasPermi('monitor:cache:list')") // @PreAuthorize("@ss.hasPermi('monitor:cache:list')")
@DeleteMapping("/clearCacheName/{cacheName}") @DeleteMapping("/clearCacheName/{cacheName}")
public AjaxResult clearCacheName(@PathVariable String cacheName) public AjaxResult clearCacheName(@PathVariable String cacheName)
{ {
@ -101,7 +101,7 @@ public class CacheController
return AjaxResult.success(); return AjaxResult.success();
} }
@PreAuthorize("@ss.hasPermi('monitor:cache:list')") // @PreAuthorize("@ss.hasPermi('monitor:cache:list')")
@DeleteMapping("/clearCacheKey/{cacheKey}") @DeleteMapping("/clearCacheKey/{cacheKey}")
public AjaxResult clearCacheKey(@PathVariable String cacheKey) public AjaxResult clearCacheKey(@PathVariable String cacheKey)
{ {
@ -109,7 +109,7 @@ public class CacheController
return AjaxResult.success(); return AjaxResult.success();
} }
@PreAuthorize("@ss.hasPermi('monitor:cache:list')") // @PreAuthorize("@ss.hasPermi('monitor:cache:list')")
@DeleteMapping("/clearCacheAll") @DeleteMapping("/clearCacheAll")
public AjaxResult clearCacheAll() public AjaxResult clearCacheAll()
{ {

@ -16,7 +16,7 @@ import com.ruoyi.framework.web.domain.Server;
@RequestMapping("/monitor/server") @RequestMapping("/monitor/server")
public class ServerController public class ServerController
{ {
@PreAuthorize("@ss.hasPermi('monitor:server:list')") // @PreAuthorize("@ss.hasPermi('monitor:server:list')")
@GetMapping() @GetMapping()
public AjaxResult getInfo() throws Exception public AjaxResult getInfo() throws Exception
{ {

@ -35,7 +35,7 @@ public class SysLogininforController extends BaseController
@Autowired @Autowired
private SysPasswordService passwordService; private SysPasswordService passwordService;
@PreAuthorize("@ss.hasPermi('monitor:logininfor:list')") // @PreAuthorize("@ss.hasPermi('monitor:logininfor:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(SysLogininfor logininfor) public TableDataInfo list(SysLogininfor logininfor)
{ {
@ -45,7 +45,7 @@ public class SysLogininforController extends BaseController
} }
@Log(title = "登录日志", businessType = BusinessType.EXPORT) @Log(title = "登录日志", businessType = BusinessType.EXPORT)
@PreAuthorize("@ss.hasPermi('monitor:logininfor:export')") // @PreAuthorize("@ss.hasPermi('monitor:logininfor:export')")
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, SysLogininfor logininfor) public void export(HttpServletResponse response, SysLogininfor logininfor)
{ {
@ -54,7 +54,7 @@ public class SysLogininforController extends BaseController
util.exportExcel(response, list, "登录日志"); util.exportExcel(response, list, "登录日志");
} }
@PreAuthorize("@ss.hasPermi('monitor:logininfor:remove')") // @PreAuthorize("@ss.hasPermi('monitor:logininfor:remove')")
@Log(title = "登录日志", businessType = BusinessType.DELETE) @Log(title = "登录日志", businessType = BusinessType.DELETE)
@DeleteMapping("/{infoIds}") @DeleteMapping("/{infoIds}")
public AjaxResult remove(@PathVariable Long[] infoIds) public AjaxResult remove(@PathVariable Long[] infoIds)
@ -62,7 +62,7 @@ public class SysLogininforController extends BaseController
return toAjax(logininforService.deleteLogininforByIds(infoIds)); return toAjax(logininforService.deleteLogininforByIds(infoIds));
} }
@PreAuthorize("@ss.hasPermi('monitor:logininfor:remove')") // @PreAuthorize("@ss.hasPermi('monitor:logininfor:remove')")
@Log(title = "登录日志", businessType = BusinessType.CLEAN) @Log(title = "登录日志", businessType = BusinessType.CLEAN)
@DeleteMapping("/clean") @DeleteMapping("/clean")
public AjaxResult clean() public AjaxResult clean()
@ -71,7 +71,7 @@ public class SysLogininforController extends BaseController
return success(); return success();
} }
@PreAuthorize("@ss.hasPermi('monitor:logininfor:unlock')") // @PreAuthorize("@ss.hasPermi('monitor:logininfor:unlock')")
@Log(title = "账户解锁", businessType = BusinessType.OTHER) @Log(title = "账户解锁", businessType = BusinessType.OTHER)
@GetMapping("/unlock/{userName}") @GetMapping("/unlock/{userName}")
public AjaxResult unlock(@PathVariable("userName") String userName) public AjaxResult unlock(@PathVariable("userName") String userName)

@ -31,7 +31,7 @@ public class SysOperlogController extends BaseController
@Autowired @Autowired
private ISysOperLogService operLogService; private ISysOperLogService operLogService;
@PreAuthorize("@ss.hasPermi('monitor:operlog:list')") // @PreAuthorize("@ss.hasPermi('monitor:operlog:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(SysOperLog operLog) public TableDataInfo list(SysOperLog operLog)
{ {
@ -41,7 +41,7 @@ public class SysOperlogController extends BaseController
} }
@Log(title = "操作日志", businessType = BusinessType.EXPORT) @Log(title = "操作日志", businessType = BusinessType.EXPORT)
@PreAuthorize("@ss.hasPermi('monitor:operlog:export')") // @PreAuthorize("@ss.hasPermi('monitor:operlog:export')")
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, SysOperLog operLog) public void export(HttpServletResponse response, SysOperLog operLog)
{ {
@ -51,7 +51,7 @@ public class SysOperlogController extends BaseController
} }
@Log(title = "操作日志", businessType = BusinessType.DELETE) @Log(title = "操作日志", businessType = BusinessType.DELETE)
@PreAuthorize("@ss.hasPermi('monitor:operlog:remove')") // @PreAuthorize("@ss.hasPermi('monitor:operlog:remove')")
@DeleteMapping("/{operIds}") @DeleteMapping("/{operIds}")
public AjaxResult remove(@PathVariable Long[] operIds) public AjaxResult remove(@PathVariable Long[] operIds)
{ {
@ -59,7 +59,7 @@ public class SysOperlogController extends BaseController
} }
@Log(title = "操作日志", businessType = BusinessType.CLEAN) @Log(title = "操作日志", businessType = BusinessType.CLEAN)
@PreAuthorize("@ss.hasPermi('monitor:operlog:remove')") // @PreAuthorize("@ss.hasPermi('monitor:operlog:remove')")
@DeleteMapping("/clean") @DeleteMapping("/clean")
public AjaxResult clean() public AjaxResult clean()
{ {

@ -38,7 +38,7 @@ public class SysUserOnlineController extends BaseController
@Autowired @Autowired
private RedisCache redisCache; private RedisCache redisCache;
@PreAuthorize("@ss.hasPermi('monitor:online:list')") // @PreAuthorize("@ss.hasPermi('monitor:online:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(String ipaddr, String userName) public TableDataInfo list(String ipaddr, String userName)
{ {
@ -72,7 +72,7 @@ public class SysUserOnlineController extends BaseController
/** /**
* 退 * 退
*/ */
@PreAuthorize("@ss.hasPermi('monitor:online:forceLogout')") // @PreAuthorize("@ss.hasPermi('monitor:online:forceLogout')")
@Log(title = "在线用户", businessType = BusinessType.FORCE) @Log(title = "在线用户", businessType = BusinessType.FORCE)
@DeleteMapping("/{tokenId}") @DeleteMapping("/{tokenId}")
public AjaxResult forceLogout(@PathVariable String tokenId) public AjaxResult forceLogout(@PathVariable String tokenId)

@ -37,7 +37,7 @@ public class SysConfigController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:config:list')") // @PreAuthorize("@ss.hasPermi('system:config:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(SysConfig config) public TableDataInfo list(SysConfig config)
{ {
@ -47,7 +47,7 @@ public class SysConfigController extends BaseController
} }
@Log(title = "参数管理", businessType = BusinessType.EXPORT) @Log(title = "参数管理", businessType = BusinessType.EXPORT)
@PreAuthorize("@ss.hasPermi('system:config:export')") // @PreAuthorize("@ss.hasPermi('system:config:export')")
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, SysConfig config) public void export(HttpServletResponse response, SysConfig config)
{ {
@ -59,7 +59,7 @@ public class SysConfigController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:config:query')") // @PreAuthorize("@ss.hasPermi('system:config:query')")
@GetMapping(value = "/{configId}") @GetMapping(value = "/{configId}")
public AjaxResult getInfo(@PathVariable Long configId) public AjaxResult getInfo(@PathVariable Long configId)
{ {
@ -78,7 +78,7 @@ public class SysConfigController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:config:add')") // @PreAuthorize("@ss.hasPermi('system:config:add')")
@Log(title = "参数管理", businessType = BusinessType.INSERT) @Log(title = "参数管理", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@Validated @RequestBody SysConfig config) public AjaxResult add(@Validated @RequestBody SysConfig config)
@ -94,7 +94,7 @@ public class SysConfigController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:config:edit')") // @PreAuthorize("@ss.hasPermi('system:config:edit')")
@Log(title = "参数管理", businessType = BusinessType.UPDATE) @Log(title = "参数管理", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@Validated @RequestBody SysConfig config) public AjaxResult edit(@Validated @RequestBody SysConfig config)
@ -110,7 +110,7 @@ public class SysConfigController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:config:remove')") // @PreAuthorize("@ss.hasPermi('system:config:remove')")
@Log(title = "参数管理", businessType = BusinessType.DELETE) @Log(title = "参数管理", businessType = BusinessType.DELETE)
@DeleteMapping("/{configIds}") @DeleteMapping("/{configIds}")
public AjaxResult remove(@PathVariable Long[] configIds) public AjaxResult remove(@PathVariable Long[] configIds)
@ -122,7 +122,7 @@ public class SysConfigController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:config:remove')") // @PreAuthorize("@ss.hasPermi('system:config:remove')")
@Log(title = "参数管理", businessType = BusinessType.CLEAN) @Log(title = "参数管理", businessType = BusinessType.CLEAN)
@DeleteMapping("/refreshCache") @DeleteMapping("/refreshCache")
public AjaxResult refreshCache() public AjaxResult refreshCache()

@ -37,7 +37,7 @@ public class SysDeptController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:dept:list')") // @PreAuthorize("@ss.hasPermi('system:dept:list')")
@GetMapping("/list") @GetMapping("/list")
public AjaxResult list(SysDept dept) public AjaxResult list(SysDept dept)
{ {
@ -48,7 +48,7 @@ public class SysDeptController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:dept:list')") // @PreAuthorize("@ss.hasPermi('system:dept:list')")
@GetMapping("/list/exclude/{deptId}") @GetMapping("/list/exclude/{deptId}")
public AjaxResult excludeChild(@PathVariable(value = "deptId", required = false) Long deptId) public AjaxResult excludeChild(@PathVariable(value = "deptId", required = false) Long deptId)
{ {
@ -60,7 +60,7 @@ public class SysDeptController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:dept:query')") // @PreAuthorize("@ss.hasPermi('system:dept:query')")
@GetMapping(value = "/{deptId}") @GetMapping(value = "/{deptId}")
public AjaxResult getInfo(@PathVariable Long deptId) public AjaxResult getInfo(@PathVariable Long deptId)
{ {
@ -71,7 +71,7 @@ public class SysDeptController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:dept:add')") // @PreAuthorize("@ss.hasPermi('system:dept:add')")
@Log(title = "部门管理", businessType = BusinessType.INSERT) @Log(title = "部门管理", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@Validated @RequestBody SysDept dept) public AjaxResult add(@Validated @RequestBody SysDept dept)
@ -87,7 +87,7 @@ public class SysDeptController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:dept:edit')") // @PreAuthorize("@ss.hasPermi('system:dept:edit')")
@Log(title = "部门管理", businessType = BusinessType.UPDATE) @Log(title = "部门管理", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@Validated @RequestBody SysDept dept) public AjaxResult edit(@Validated @RequestBody SysDept dept)
@ -113,7 +113,7 @@ public class SysDeptController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:dept:remove')") // @PreAuthorize("@ss.hasPermi('system:dept:remove')")
@Log(title = "部门管理", businessType = BusinessType.DELETE) @Log(title = "部门管理", businessType = BusinessType.DELETE)
@DeleteMapping("/{deptId}") @DeleteMapping("/{deptId}")
public AjaxResult remove(@PathVariable Long deptId) public AjaxResult remove(@PathVariable Long deptId)

@ -40,7 +40,7 @@ public class SysDictDataController extends BaseController
@Autowired @Autowired
private ISysDictTypeService dictTypeService; private ISysDictTypeService dictTypeService;
@PreAuthorize("@ss.hasPermi('system:dict:list')") // @PreAuthorize("@ss.hasPermi('system:dict:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(SysDictData dictData) public TableDataInfo list(SysDictData dictData)
{ {
@ -50,7 +50,7 @@ public class SysDictDataController extends BaseController
} }
@Log(title = "字典数据", businessType = BusinessType.EXPORT) @Log(title = "字典数据", businessType = BusinessType.EXPORT)
@PreAuthorize("@ss.hasPermi('system:dict:export')") // @PreAuthorize("@ss.hasPermi('system:dict:export')")
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, SysDictData dictData) public void export(HttpServletResponse response, SysDictData dictData)
{ {
@ -62,7 +62,7 @@ public class SysDictDataController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:dict:query')") // @PreAuthorize("@ss.hasPermi('system:dict:query')")
@GetMapping(value = "/{dictCode}") @GetMapping(value = "/{dictCode}")
public AjaxResult getInfo(@PathVariable Long dictCode) public AjaxResult getInfo(@PathVariable Long dictCode)
{ {
@ -86,7 +86,7 @@ public class SysDictDataController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:dict:add')") // @PreAuthorize("@ss.hasPermi('system:dict:add')")
@Log(title = "字典数据", businessType = BusinessType.INSERT) @Log(title = "字典数据", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@Validated @RequestBody SysDictData dict) public AjaxResult add(@Validated @RequestBody SysDictData dict)
@ -98,7 +98,7 @@ public class SysDictDataController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:dict:edit')") // @PreAuthorize("@ss.hasPermi('system:dict:edit')")
@Log(title = "字典数据", businessType = BusinessType.UPDATE) @Log(title = "字典数据", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@Validated @RequestBody SysDictData dict) public AjaxResult edit(@Validated @RequestBody SysDictData dict)
@ -110,7 +110,7 @@ public class SysDictDataController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:dict:remove')") // @PreAuthorize("@ss.hasPermi('system:dict:remove')")
@Log(title = "字典类型", businessType = BusinessType.DELETE) @Log(title = "字典类型", businessType = BusinessType.DELETE)
@DeleteMapping("/{dictCodes}") @DeleteMapping("/{dictCodes}")
public AjaxResult remove(@PathVariable Long[] dictCodes) public AjaxResult remove(@PathVariable Long[] dictCodes)

@ -34,7 +34,7 @@ public class SysDictTypeController extends BaseController
@Autowired @Autowired
private ISysDictTypeService dictTypeService; private ISysDictTypeService dictTypeService;
@PreAuthorize("@ss.hasPermi('system:dict:list')") // @PreAuthorize("@ss.hasPermi('system:dict:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(SysDictType dictType) public TableDataInfo list(SysDictType dictType)
{ {
@ -44,7 +44,7 @@ public class SysDictTypeController extends BaseController
} }
@Log(title = "字典类型", businessType = BusinessType.EXPORT) @Log(title = "字典类型", businessType = BusinessType.EXPORT)
@PreAuthorize("@ss.hasPermi('system:dict:export')") // @PreAuthorize("@ss.hasPermi('system:dict:export')")
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, SysDictType dictType) public void export(HttpServletResponse response, SysDictType dictType)
{ {
@ -56,7 +56,7 @@ public class SysDictTypeController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:dict:query')") // @PreAuthorize("@ss.hasPermi('system:dict:query')")
@GetMapping(value = "/{dictId}") @GetMapping(value = "/{dictId}")
public AjaxResult getInfo(@PathVariable Long dictId) public AjaxResult getInfo(@PathVariable Long dictId)
{ {
@ -66,7 +66,7 @@ public class SysDictTypeController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:dict:add')") // @PreAuthorize("@ss.hasPermi('system:dict:add')")
@Log(title = "字典类型", businessType = BusinessType.INSERT) @Log(title = "字典类型", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@Validated @RequestBody SysDictType dict) public AjaxResult add(@Validated @RequestBody SysDictType dict)
@ -82,7 +82,7 @@ public class SysDictTypeController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:dict:edit')") // @PreAuthorize("@ss.hasPermi('system:dict:edit')")
@Log(title = "字典类型", businessType = BusinessType.UPDATE) @Log(title = "字典类型", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@Validated @RequestBody SysDictType dict) public AjaxResult edit(@Validated @RequestBody SysDictType dict)
@ -98,7 +98,7 @@ public class SysDictTypeController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:dict:remove')") // @PreAuthorize("@ss.hasPermi('system:dict:remove')")
@Log(title = "字典类型", businessType = BusinessType.DELETE) @Log(title = "字典类型", businessType = BusinessType.DELETE)
@DeleteMapping("/{dictIds}") @DeleteMapping("/{dictIds}")
public AjaxResult remove(@PathVariable Long[] dictIds) public AjaxResult remove(@PathVariable Long[] dictIds)
@ -110,7 +110,7 @@ public class SysDictTypeController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:dict:remove')") // @PreAuthorize("@ss.hasPermi('system:dict:remove')")
@Log(title = "字典类型", businessType = BusinessType.CLEAN) @Log(title = "字典类型", businessType = BusinessType.CLEAN)
@DeleteMapping("/refreshCache") @DeleteMapping("/refreshCache")
public AjaxResult refreshCache() public AjaxResult refreshCache()

@ -36,7 +36,7 @@ public class SysMenuController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:menu:list')") // @PreAuthorize("@ss.hasPermi('system:menu:list')")
@GetMapping("/list") @GetMapping("/list")
public AjaxResult list(SysMenu menu) public AjaxResult list(SysMenu menu)
{ {
@ -47,7 +47,7 @@ public class SysMenuController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:menu:query')") // @PreAuthorize("@ss.hasPermi('system:menu:query')")
@GetMapping(value = "/{menuId}") @GetMapping(value = "/{menuId}")
public AjaxResult getInfo(@PathVariable Long menuId) public AjaxResult getInfo(@PathVariable Long menuId)
{ {
@ -80,7 +80,7 @@ public class SysMenuController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:menu:add')") // @PreAuthorize("@ss.hasPermi('system:menu:add')")
@Log(title = "菜单管理", businessType = BusinessType.INSERT) @Log(title = "菜单管理", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@Validated @RequestBody SysMenu menu) public AjaxResult add(@Validated @RequestBody SysMenu menu)
@ -100,7 +100,7 @@ public class SysMenuController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:menu:edit')") // @PreAuthorize("@ss.hasPermi('system:menu:edit')")
@Log(title = "菜单管理", businessType = BusinessType.UPDATE) @Log(title = "菜单管理", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@Validated @RequestBody SysMenu menu) public AjaxResult edit(@Validated @RequestBody SysMenu menu)
@ -124,7 +124,7 @@ public class SysMenuController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:menu:remove')") // @PreAuthorize("@ss.hasPermi('system:menu:remove')")
@Log(title = "菜单管理", businessType = BusinessType.DELETE) @Log(title = "菜单管理", businessType = BusinessType.DELETE)
@DeleteMapping("/{menuId}") @DeleteMapping("/{menuId}")
public AjaxResult remove(@PathVariable("menuId") Long menuId) public AjaxResult remove(@PathVariable("menuId") Long menuId)

@ -35,7 +35,7 @@ public class SysNoticeController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:notice:list')") // @PreAuthorize("@ss.hasPermi('system:notice:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(SysNotice notice) public TableDataInfo list(SysNotice notice)
{ {
@ -47,7 +47,7 @@ public class SysNoticeController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:notice:query')") // @PreAuthorize("@ss.hasPermi('system:notice:query')")
@GetMapping(value = "/{noticeId}") @GetMapping(value = "/{noticeId}")
public AjaxResult getInfo(@PathVariable Long noticeId) public AjaxResult getInfo(@PathVariable Long noticeId)
{ {
@ -57,7 +57,7 @@ public class SysNoticeController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:notice:add')") // @PreAuthorize("@ss.hasPermi('system:notice:add')")
@Log(title = "通知公告", businessType = BusinessType.INSERT) @Log(title = "通知公告", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@Validated @RequestBody SysNotice notice) public AjaxResult add(@Validated @RequestBody SysNotice notice)
@ -69,7 +69,7 @@ public class SysNoticeController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:notice:edit')") // @PreAuthorize("@ss.hasPermi('system:notice:edit')")
@Log(title = "通知公告", businessType = BusinessType.UPDATE) @Log(title = "通知公告", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@Validated @RequestBody SysNotice notice) public AjaxResult edit(@Validated @RequestBody SysNotice notice)
@ -81,7 +81,7 @@ public class SysNoticeController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:notice:remove')") // @PreAuthorize("@ss.hasPermi('system:notice:remove')")
@Log(title = "通知公告", businessType = BusinessType.DELETE) @Log(title = "通知公告", businessType = BusinessType.DELETE)
@DeleteMapping("/{noticeIds}") @DeleteMapping("/{noticeIds}")
public AjaxResult remove(@PathVariable Long[] noticeIds) public AjaxResult remove(@PathVariable Long[] noticeIds)

@ -37,7 +37,7 @@ public class SysPostController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:post:list')") // @PreAuthorize("@ss.hasPermi('system:post:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(SysPost post) public TableDataInfo list(SysPost post)
{ {
@ -47,7 +47,7 @@ public class SysPostController extends BaseController
} }
@Log(title = "岗位管理", businessType = BusinessType.EXPORT) @Log(title = "岗位管理", businessType = BusinessType.EXPORT)
@PreAuthorize("@ss.hasPermi('system:post:export')") // @PreAuthorize("@ss.hasPermi('system:post:export')")
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, SysPost post) public void export(HttpServletResponse response, SysPost post)
{ {
@ -59,7 +59,7 @@ public class SysPostController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:post:query')") // @PreAuthorize("@ss.hasPermi('system:post:query')")
@GetMapping(value = "/{postId}") @GetMapping(value = "/{postId}")
public AjaxResult getInfo(@PathVariable Long postId) public AjaxResult getInfo(@PathVariable Long postId)
{ {
@ -69,7 +69,7 @@ public class SysPostController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:post:add')") // @PreAuthorize("@ss.hasPermi('system:post:add')")
@Log(title = "岗位管理", businessType = BusinessType.INSERT) @Log(title = "岗位管理", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@Validated @RequestBody SysPost post) public AjaxResult add(@Validated @RequestBody SysPost post)
@ -89,7 +89,7 @@ public class SysPostController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:post:edit')") // @PreAuthorize("@ss.hasPermi('system:post:edit')")
@Log(title = "岗位管理", businessType = BusinessType.UPDATE) @Log(title = "岗位管理", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@Validated @RequestBody SysPost post) public AjaxResult edit(@Validated @RequestBody SysPost post)
@ -109,7 +109,7 @@ public class SysPostController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:post:remove')") // @PreAuthorize("@ss.hasPermi('system:post:remove')")
@Log(title = "岗位管理", businessType = BusinessType.DELETE) @Log(title = "岗位管理", businessType = BusinessType.DELETE)
@DeleteMapping("/{postIds}") @DeleteMapping("/{postIds}")
public AjaxResult remove(@PathVariable Long[] postIds) public AjaxResult remove(@PathVariable Long[] postIds)

@ -55,7 +55,7 @@ public class SysRoleController extends BaseController
@Autowired @Autowired
private ISysDeptService deptService; private ISysDeptService deptService;
@PreAuthorize("@ss.hasPermi('system:role:list')") // @PreAuthorize("@ss.hasPermi('system:role:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(SysRole role) public TableDataInfo list(SysRole role)
{ {
@ -65,7 +65,7 @@ public class SysRoleController extends BaseController
} }
@Log(title = "角色管理", businessType = BusinessType.EXPORT) @Log(title = "角色管理", businessType = BusinessType.EXPORT)
@PreAuthorize("@ss.hasPermi('system:role:export')") // @PreAuthorize("@ss.hasPermi('system:role:export')")
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, SysRole role) public void export(HttpServletResponse response, SysRole role)
{ {
@ -77,7 +77,7 @@ public class SysRoleController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:role:query')") // @PreAuthorize("@ss.hasPermi('system:role:query')")
@GetMapping(value = "/{roleId}") @GetMapping(value = "/{roleId}")
public AjaxResult getInfo(@PathVariable Long roleId) public AjaxResult getInfo(@PathVariable Long roleId)
{ {
@ -88,7 +88,7 @@ public class SysRoleController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:role:add')") // @PreAuthorize("@ss.hasPermi('system:role:add')")
@Log(title = "角色管理", businessType = BusinessType.INSERT) @Log(title = "角色管理", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@Validated @RequestBody SysRole role) public AjaxResult add(@Validated @RequestBody SysRole role)
@ -109,7 +109,7 @@ public class SysRoleController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:role:edit')") // @PreAuthorize("@ss.hasPermi('system:role:edit')")
@Log(title = "角色管理", businessType = BusinessType.UPDATE) @Log(title = "角色管理", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@Validated @RequestBody SysRole role) public AjaxResult edit(@Validated @RequestBody SysRole role)
@ -144,7 +144,7 @@ public class SysRoleController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:role:edit')") // @PreAuthorize("@ss.hasPermi('system:role:edit')")
@Log(title = "角色管理", businessType = BusinessType.UPDATE) @Log(title = "角色管理", businessType = BusinessType.UPDATE)
@PutMapping("/dataScope") @PutMapping("/dataScope")
public AjaxResult dataScope(@RequestBody SysRole role) public AjaxResult dataScope(@RequestBody SysRole role)
@ -157,7 +157,7 @@ public class SysRoleController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:role:edit')") // @PreAuthorize("@ss.hasPermi('system:role:edit')")
@Log(title = "角色管理", businessType = BusinessType.UPDATE) @Log(title = "角色管理", businessType = BusinessType.UPDATE)
@PutMapping("/changeStatus") @PutMapping("/changeStatus")
public AjaxResult changeStatus(@RequestBody SysRole role) public AjaxResult changeStatus(@RequestBody SysRole role)
@ -171,7 +171,7 @@ public class SysRoleController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:role:remove')") // @PreAuthorize("@ss.hasPermi('system:role:remove')")
@Log(title = "角色管理", businessType = BusinessType.DELETE) @Log(title = "角色管理", businessType = BusinessType.DELETE)
@DeleteMapping("/{roleIds}") @DeleteMapping("/{roleIds}")
public AjaxResult remove(@PathVariable Long[] roleIds) public AjaxResult remove(@PathVariable Long[] roleIds)
@ -182,7 +182,7 @@ public class SysRoleController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:role:query')") // @PreAuthorize("@ss.hasPermi('system:role:query')")
@GetMapping("/optionselect") @GetMapping("/optionselect")
public AjaxResult optionselect() public AjaxResult optionselect()
{ {
@ -192,7 +192,7 @@ public class SysRoleController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:role:list')") // @PreAuthorize("@ss.hasPermi('system:role:list')")
@GetMapping("/authUser/allocatedList") @GetMapping("/authUser/allocatedList")
public TableDataInfo allocatedList(SysUser user) public TableDataInfo allocatedList(SysUser user)
{ {
@ -204,7 +204,7 @@ public class SysRoleController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:role:list')") // @PreAuthorize("@ss.hasPermi('system:role:list')")
@GetMapping("/authUser/unallocatedList") @GetMapping("/authUser/unallocatedList")
public TableDataInfo unallocatedList(SysUser user) public TableDataInfo unallocatedList(SysUser user)
{ {
@ -216,7 +216,7 @@ public class SysRoleController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:role:edit')") // @PreAuthorize("@ss.hasPermi('system:role:edit')")
@Log(title = "角色管理", businessType = BusinessType.GRANT) @Log(title = "角色管理", businessType = BusinessType.GRANT)
@PutMapping("/authUser/cancel") @PutMapping("/authUser/cancel")
public AjaxResult cancelAuthUser(@RequestBody SysUserRole userRole) public AjaxResult cancelAuthUser(@RequestBody SysUserRole userRole)
@ -227,7 +227,7 @@ public class SysRoleController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:role:edit')") // @PreAuthorize("@ss.hasPermi('system:role:edit')")
@Log(title = "角色管理", businessType = BusinessType.GRANT) @Log(title = "角色管理", businessType = BusinessType.GRANT)
@PutMapping("/authUser/cancelAll") @PutMapping("/authUser/cancelAll")
public AjaxResult cancelAuthUserAll(Long roleId, Long[] userIds) public AjaxResult cancelAuthUserAll(Long roleId, Long[] userIds)
@ -238,7 +238,7 @@ public class SysRoleController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:role:edit')") // @PreAuthorize("@ss.hasPermi('system:role:edit')")
@Log(title = "角色管理", businessType = BusinessType.GRANT) @Log(title = "角色管理", businessType = BusinessType.GRANT)
@PutMapping("/authUser/selectAll") @PutMapping("/authUser/selectAll")
public AjaxResult selectAuthUserAll(Long roleId, Long[] userIds) public AjaxResult selectAuthUserAll(Long roleId, Long[] userIds)
@ -250,7 +250,7 @@ public class SysRoleController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:role:query')") // @PreAuthorize("@ss.hasPermi('system:role:query')")
@GetMapping(value = "/deptTree/{roleId}") @GetMapping(value = "/deptTree/{roleId}")
public AjaxResult deptTree(@PathVariable("roleId") Long roleId) public AjaxResult deptTree(@PathVariable("roleId") Long roleId)
{ {

@ -61,7 +61,7 @@ public class SysUserController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:user:list')") // @PreAuthorize("@ss.hasPermi('system:user:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(SysUser user) { public TableDataInfo list(SysUser user) {
startPage(); startPage();
@ -70,7 +70,7 @@ public class SysUserController extends BaseController {
} }
@Log(title = "用户管理", businessType = BusinessType.EXPORT) @Log(title = "用户管理", businessType = BusinessType.EXPORT)
@PreAuthorize("@ss.hasPermi('system:user:export')") // @PreAuthorize("@ss.hasPermi('system:user:export')")
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, SysUser user) { public void export(HttpServletResponse response, SysUser user) {
List<SysUser> list = userService.selectUserList(user); List<SysUser> list = userService.selectUserList(user);
@ -79,7 +79,7 @@ public class SysUserController extends BaseController {
} }
@Log(title = "用户管理", businessType = BusinessType.IMPORT) @Log(title = "用户管理", businessType = BusinessType.IMPORT)
@PreAuthorize("@ss.hasPermi('system:user:import')") // @PreAuthorize("@ss.hasPermi('system:user:import')")
@PostMapping("/importData") @PostMapping("/importData")
public AjaxResult importData(MultipartFile file, boolean updateSupport) throws Exception { public AjaxResult importData(MultipartFile file, boolean updateSupport) throws Exception {
ExcelUtil<SysUser> util = new ExcelUtil<SysUser>(SysUser.class); ExcelUtil<SysUser> util = new ExcelUtil<SysUser>(SysUser.class);
@ -98,7 +98,7 @@ public class SysUserController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:user:query')") // @PreAuthorize("@ss.hasPermi('system:user:query')")
@GetMapping(value = {"/", "/{userId}"}) @GetMapping(value = {"/", "/{userId}"})
public AjaxResult getInfo(@PathVariable(value = "userId", required = false) Long userId) { public AjaxResult getInfo(@PathVariable(value = "userId", required = false) Long userId) {
userService.checkUserDataScope(userId); userService.checkUserDataScope(userId);
@ -118,7 +118,7 @@ public class SysUserController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:user:add')") // @PreAuthorize("@ss.hasPermi('system:user:add')")
@Log(title = "用户管理", businessType = BusinessType.INSERT) @Log(title = "用户管理", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@Validated @RequestBody SysUser user) { public AjaxResult add(@Validated @RequestBody SysUser user) {
@ -140,7 +140,7 @@ public class SysUserController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:user:edit')") // @PreAuthorize("@ss.hasPermi('system:user:edit')")
@Log(title = "用户管理", businessType = BusinessType.UPDATE) @Log(title = "用户管理", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@Validated @RequestBody SysUser user) { public AjaxResult edit(@Validated @RequestBody SysUser user) {
@ -160,7 +160,7 @@ public class SysUserController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:user:remove')") // @PreAuthorize("@ss.hasPermi('system:user:remove')")
@Log(title = "用户管理", businessType = BusinessType.DELETE) @Log(title = "用户管理", businessType = BusinessType.DELETE)
@DeleteMapping("/{userIds}") @DeleteMapping("/{userIds}")
public AjaxResult remove(@PathVariable Long[] userIds) { public AjaxResult remove(@PathVariable Long[] userIds) {
@ -173,7 +173,7 @@ public class SysUserController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:user:resetPwd')") // @PreAuthorize("@ss.hasPermi('system:user:resetPwd')")
@Log(title = "用户管理", businessType = BusinessType.UPDATE) @Log(title = "用户管理", businessType = BusinessType.UPDATE)
@PutMapping("/resetPwd") @PutMapping("/resetPwd")
public AjaxResult resetPwd(@RequestBody SysUser user) { public AjaxResult resetPwd(@RequestBody SysUser user) {
@ -187,7 +187,7 @@ public class SysUserController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:user:edit')") // @PreAuthorize("@ss.hasPermi('system:user:edit')")
@Log(title = "用户管理", businessType = BusinessType.UPDATE) @Log(title = "用户管理", businessType = BusinessType.UPDATE)
@PutMapping("/changeStatus") @PutMapping("/changeStatus")
public AjaxResult changeStatus(@RequestBody SysUser user) { public AjaxResult changeStatus(@RequestBody SysUser user) {
@ -200,7 +200,7 @@ public class SysUserController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:user:query')") // @PreAuthorize("@ss.hasPermi('system:user:query')")
@GetMapping("/authRole/{userId}") @GetMapping("/authRole/{userId}")
public AjaxResult authRole(@PathVariable("userId") Long userId) { public AjaxResult authRole(@PathVariable("userId") Long userId) {
AjaxResult ajax = AjaxResult.success(); AjaxResult ajax = AjaxResult.success();
@ -214,7 +214,7 @@ public class SysUserController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:user:edit')") // @PreAuthorize("@ss.hasPermi('system:user:edit')")
@Log(title = "用户管理", businessType = BusinessType.GRANT) @Log(title = "用户管理", businessType = BusinessType.GRANT)
@PutMapping("/authRole") @PutMapping("/authRole")
public AjaxResult insertAuthRole(Long userId, Long[] roleIds) { public AjaxResult insertAuthRole(Long userId, Long[] roleIds) {
@ -226,7 +226,7 @@ public class SysUserController extends BaseController {
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('system:user:list')") // @PreAuthorize("@ss.hasPermi('system:user:list')")
@GetMapping("/deptTree") @GetMapping("/deptTree")
public AjaxResult deptTree(SysDept dept) { public AjaxResult deptTree(SysDept dept) {
return success(deptService.selectDeptTreeList(dept)); return success(deptService.selectDeptTreeList(dept));

@ -46,7 +46,7 @@ public class GenController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('tool:gen:list')") // @PreAuthorize("@ss.hasPermi('tool:gen:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo genList(GenTable genTable) public TableDataInfo genList(GenTable genTable)
{ {
@ -58,7 +58,7 @@ public class GenController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('tool:gen:query')") // @PreAuthorize("@ss.hasPermi('tool:gen:query')")
@GetMapping(value = "/{tableId}") @GetMapping(value = "/{tableId}")
public AjaxResult getInfo(@PathVariable Long tableId) public AjaxResult getInfo(@PathVariable Long tableId)
{ {
@ -75,7 +75,7 @@ public class GenController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('tool:gen:list')") // @PreAuthorize("@ss.hasPermi('tool:gen:list')")
@GetMapping("/db/list") @GetMapping("/db/list")
public TableDataInfo dataList(GenTable genTable) public TableDataInfo dataList(GenTable genTable)
{ {
@ -87,7 +87,7 @@ public class GenController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('tool:gen:list')") // @PreAuthorize("@ss.hasPermi('tool:gen:list')")
@GetMapping(value = "/column/{tableId}") @GetMapping(value = "/column/{tableId}")
public TableDataInfo columnList(Long tableId) public TableDataInfo columnList(Long tableId)
{ {
@ -101,7 +101,7 @@ public class GenController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('tool:gen:import')") // @PreAuthorize("@ss.hasPermi('tool:gen:import')")
@Log(title = "代码生成", businessType = BusinessType.IMPORT) @Log(title = "代码生成", businessType = BusinessType.IMPORT)
@PostMapping("/importTable") @PostMapping("/importTable")
public AjaxResult importTableSave(String tables) public AjaxResult importTableSave(String tables)
@ -116,7 +116,7 @@ public class GenController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('tool:gen:edit')") // @PreAuthorize("@ss.hasPermi('tool:gen:edit')")
@Log(title = "代码生成", businessType = BusinessType.UPDATE) @Log(title = "代码生成", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult editSave(@Validated @RequestBody GenTable genTable) public AjaxResult editSave(@Validated @RequestBody GenTable genTable)
@ -129,7 +129,7 @@ public class GenController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('tool:gen:remove')") // @PreAuthorize("@ss.hasPermi('tool:gen:remove')")
@Log(title = "代码生成", businessType = BusinessType.DELETE) @Log(title = "代码生成", businessType = BusinessType.DELETE)
@DeleteMapping("/{tableIds}") @DeleteMapping("/{tableIds}")
public AjaxResult remove(@PathVariable Long[] tableIds) public AjaxResult remove(@PathVariable Long[] tableIds)
@ -141,7 +141,7 @@ public class GenController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('tool:gen:preview')") // @PreAuthorize("@ss.hasPermi('tool:gen:preview')")
@GetMapping("/preview/{tableId}") @GetMapping("/preview/{tableId}")
public AjaxResult preview(@PathVariable("tableId") Long tableId) throws IOException public AjaxResult preview(@PathVariable("tableId") Long tableId) throws IOException
{ {
@ -152,7 +152,7 @@ public class GenController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('tool:gen:code')") // @PreAuthorize("@ss.hasPermi('tool:gen:code')")
@Log(title = "代码生成", businessType = BusinessType.GENCODE) @Log(title = "代码生成", businessType = BusinessType.GENCODE)
@GetMapping("/download/{tableName}") @GetMapping("/download/{tableName}")
public void download(HttpServletResponse response, @PathVariable("tableName") String tableName) throws IOException public void download(HttpServletResponse response, @PathVariable("tableName") String tableName) throws IOException
@ -164,7 +164,7 @@ public class GenController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('tool:gen:code')") // @PreAuthorize("@ss.hasPermi('tool:gen:code')")
@Log(title = "代码生成", businessType = BusinessType.GENCODE) @Log(title = "代码生成", businessType = BusinessType.GENCODE)
@GetMapping("/genCode/{tableName}") @GetMapping("/genCode/{tableName}")
public AjaxResult genCode(@PathVariable("tableName") String tableName) public AjaxResult genCode(@PathVariable("tableName") String tableName)
@ -176,7 +176,7 @@ public class GenController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('tool:gen:edit')") // @PreAuthorize("@ss.hasPermi('tool:gen:edit')")
@Log(title = "代码生成", businessType = BusinessType.UPDATE) @Log(title = "代码生成", businessType = BusinessType.UPDATE)
@GetMapping("/synchDb/{tableName}") @GetMapping("/synchDb/{tableName}")
public AjaxResult synchDb(@PathVariable("tableName") String tableName) public AjaxResult synchDb(@PathVariable("tableName") String tableName)
@ -188,7 +188,7 @@ public class GenController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('tool:gen:code')") // @PreAuthorize("@ss.hasPermi('tool:gen:code')")
@Log(title = "代码生成", businessType = BusinessType.GENCODE) @Log(title = "代码生成", businessType = BusinessType.GENCODE)
@GetMapping("/batchGenCode") @GetMapping("/batchGenCode")
public void batchGenCode(HttpServletResponse response, String tables) throws IOException public void batchGenCode(HttpServletResponse response, String tables) throws IOException

@ -42,7 +42,7 @@ public class SysJobController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('monitor:job:list')") // @PreAuthorize("@ss.hasPermi('monitor:job:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(SysJob sysJob) public TableDataInfo list(SysJob sysJob)
{ {
@ -54,7 +54,7 @@ public class SysJobController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('monitor:job:export')") // @PreAuthorize("@ss.hasPermi('monitor:job:export')")
@Log(title = "定时任务", businessType = BusinessType.EXPORT) @Log(title = "定时任务", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, SysJob sysJob) public void export(HttpServletResponse response, SysJob sysJob)
@ -67,7 +67,7 @@ public class SysJobController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('monitor:job:query')") // @PreAuthorize("@ss.hasPermi('monitor:job:query')")
@GetMapping(value = "/{jobId}") @GetMapping(value = "/{jobId}")
public AjaxResult getInfo(@PathVariable("jobId") Long jobId) public AjaxResult getInfo(@PathVariable("jobId") Long jobId)
{ {
@ -77,7 +77,7 @@ public class SysJobController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('monitor:job:add')") // @PreAuthorize("@ss.hasPermi('monitor:job:add')")
@Log(title = "定时任务", businessType = BusinessType.INSERT) @Log(title = "定时任务", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody SysJob job) throws SchedulerException, TaskException public AjaxResult add(@RequestBody SysJob job) throws SchedulerException, TaskException
@ -113,7 +113,7 @@ public class SysJobController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('monitor:job:edit')") // @PreAuthorize("@ss.hasPermi('monitor:job:edit')")
@Log(title = "定时任务", businessType = BusinessType.UPDATE) @Log(title = "定时任务", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody SysJob job) throws SchedulerException, TaskException public AjaxResult edit(@RequestBody SysJob job) throws SchedulerException, TaskException
@ -149,7 +149,7 @@ public class SysJobController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('monitor:job:changeStatus')") // @PreAuthorize("@ss.hasPermi('monitor:job:changeStatus')")
@Log(title = "定时任务", businessType = BusinessType.UPDATE) @Log(title = "定时任务", businessType = BusinessType.UPDATE)
@PutMapping("/changeStatus") @PutMapping("/changeStatus")
public AjaxResult changeStatus(@RequestBody SysJob job) throws SchedulerException public AjaxResult changeStatus(@RequestBody SysJob job) throws SchedulerException
@ -162,7 +162,7 @@ public class SysJobController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('monitor:job:changeStatus')") // @PreAuthorize("@ss.hasPermi('monitor:job:changeStatus')")
@Log(title = "定时任务", businessType = BusinessType.UPDATE) @Log(title = "定时任务", businessType = BusinessType.UPDATE)
@PutMapping("/run") @PutMapping("/run")
public AjaxResult run(@RequestBody SysJob job) throws SchedulerException public AjaxResult run(@RequestBody SysJob job) throws SchedulerException
@ -174,7 +174,7 @@ public class SysJobController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('monitor:job:remove')") // @PreAuthorize("@ss.hasPermi('monitor:job:remove')")
@Log(title = "定时任务", businessType = BusinessType.DELETE) @Log(title = "定时任务", businessType = BusinessType.DELETE)
@DeleteMapping("/{jobIds}") @DeleteMapping("/{jobIds}")
public AjaxResult remove(@PathVariable Long[] jobIds) throws SchedulerException, TaskException public AjaxResult remove(@PathVariable Long[] jobIds) throws SchedulerException, TaskException

@ -34,7 +34,7 @@ public class SysJobLogController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('monitor:job:list')") // @PreAuthorize("@ss.hasPermi('monitor:job:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(SysJobLog sysJobLog) public TableDataInfo list(SysJobLog sysJobLog)
{ {
@ -46,7 +46,7 @@ public class SysJobLogController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('monitor:job:export')") // @PreAuthorize("@ss.hasPermi('monitor:job:export')")
@Log(title = "任务调度日志", businessType = BusinessType.EXPORT) @Log(title = "任务调度日志", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, SysJobLog sysJobLog) public void export(HttpServletResponse response, SysJobLog sysJobLog)
@ -59,7 +59,7 @@ public class SysJobLogController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('monitor:job:query')") // @PreAuthorize("@ss.hasPermi('monitor:job:query')")
@GetMapping(value = "/{jobLogId}") @GetMapping(value = "/{jobLogId}")
public AjaxResult getInfo(@PathVariable Long jobLogId) public AjaxResult getInfo(@PathVariable Long jobLogId)
{ {
@ -70,7 +70,7 @@ public class SysJobLogController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('monitor:job:remove')") // @PreAuthorize("@ss.hasPermi('monitor:job:remove')")
@Log(title = "定时任务调度日志", businessType = BusinessType.DELETE) @Log(title = "定时任务调度日志", businessType = BusinessType.DELETE)
@DeleteMapping("/{jobLogIds}") @DeleteMapping("/{jobLogIds}")
public AjaxResult remove(@PathVariable Long[] jobLogIds) public AjaxResult remove(@PathVariable Long[] jobLogIds)
@ -81,7 +81,7 @@ public class SysJobLogController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('monitor:job:remove')") // @PreAuthorize("@ss.hasPermi('monitor:job:remove')")
@Log(title = "调度日志", businessType = BusinessType.CLEAN) @Log(title = "调度日志", businessType = BusinessType.CLEAN)
@DeleteMapping("/clean") @DeleteMapping("/clean")
public AjaxResult clean() public AjaxResult clean()

Loading…
Cancel
Save