Commit 646d6c27 authored by hongguangwu's avatar hongguangwu

MVP1.7.7-详情权限去除

parent 1d257b94
...@@ -80,9 +80,8 @@ public class TCompleteMonitorSetController { ...@@ -80,9 +80,8 @@ public class TCompleteMonitorSetController {
* @param id id * @param id id
* @return R * @return R
*/ */
@Operation(summary = "通过id查询", description = "通过id查询:hasPermission('archives_tcompletemonitorset_get')") @Operation(summary = "通过id查询", description = "通过id查询")
@GetMapping("/{id}") @GetMapping("/{id}")
@PreAuthorize("@pms.hasPermission('archives_tcompletemonitorset_get')")
public R<TCompleteMonitorSet> getById(@PathVariable("id") String id) { public R<TCompleteMonitorSet> getById(@PathVariable("id") String id) {
return R.ok(tCompleteMonitorSetService.getById(id)); return R.ok(tCompleteMonitorSetService.getById(id));
} }
......
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