fix(controller): 移除水票模板控制器中多余的权限验证注解
- 移除了根据id查询水票接口的@PreAuthorize权限验证注解 - 保留了原有的操作描述和请求映射配置 - 简化了接口的安全配置,使查询功能更易于访问
This commit is contained in:
@@ -47,7 +47,6 @@ public class GltTicketTemplateController extends BaseController {
|
|||||||
return success(gltTicketTemplateService.listRel(param));
|
return success(gltTicketTemplateService.listRel(param));
|
||||||
}
|
}
|
||||||
|
|
||||||
@PreAuthorize("hasAuthority('glt:gltTicketTemplate:list')")
|
|
||||||
@Operation(summary = "根据id查询水票")
|
@Operation(summary = "根据id查询水票")
|
||||||
@GetMapping("/{id}")
|
@GetMapping("/{id}")
|
||||||
public ApiResult<GltTicketTemplate> get(@PathVariable("id") Integer id) {
|
public ApiResult<GltTicketTemplate> get(@PathVariable("id") Integer id) {
|
||||||
|
|||||||
Reference in New Issue
Block a user