fix(auth): 修正水票模板权限注解错误
- 将添加水票接口的权限从 save 修改为 update - 将批量添加水票接口的权限从 save 修改为 update - 确保权限控制与实际操作类型匹配
This commit is contained in:
@@ -71,7 +71,7 @@ public class GltTicketTemplateController extends BaseController {
|
||||
|
||||
|
||||
|
||||
@PreAuthorize("hasAuthority('glt:gltTicketTemplate:save')")
|
||||
@PreAuthorize("hasAuthority('glt:gltTicketTemplate:update')")
|
||||
@OperationLog
|
||||
@Operation(summary = "添加水票")
|
||||
@PostMapping()
|
||||
@@ -109,7 +109,7 @@ public class GltTicketTemplateController extends BaseController {
|
||||
return fail("删除失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('glt:gltTicketTemplate:save')")
|
||||
@PreAuthorize("hasAuthority('glt:gltTicketTemplate:update')")
|
||||
@OperationLog
|
||||
@Operation(summary = "批量添加水票")
|
||||
@PostMapping("/batch")
|
||||
|
||||
Reference in New Issue
Block a user