fix(aihr): protect prompt template reads

This commit is contained in:
2026-07-14 05:22:04 +08:00
parent 29a2c19f3f
commit 4307be45e0
3 changed files with 3 additions and 1 deletions
@@ -31,6 +31,7 @@ public class AihrPromptTemplateController {
private final AihrPracticeSeedService practiceSeedService;
@SaCheckRole(value = {TenantConstants.SUPER_ADMIN_ROLE_KEY, HR_OPERATOR_ROLE}, mode = SaMode.OR)
@GetMapping
public R<List<PromptTemplateResponse>> list(@RequestParam(required = false) String category,
@RequestParam(required = false) String code,