chore(git): 更新.gitignore并重构控制器方法命名
在.gitignore中新增三个文档路径,同时将EmployeeBigBrotherController的createEmployeeBigBrother方法重命名为allocationEmployeeBigBrother,使语义更准确反映“分配”业务含义。
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -59,3 +59,6 @@ application-my.yaml
|
||||
/.continue/
|
||||
/script/
|
||||
/sql/
|
||||
/.claude/agents/backend-architect.md
|
||||
/tkdata-model-server-issues.md
|
||||
/CLAUDE.md
|
||||
|
||||
@@ -107,7 +107,7 @@ public class EmployeeBigBrotherController {
|
||||
@PostMapping("/allocation")
|
||||
@Operation(summary = "分配大哥给员工")
|
||||
@PreAuthorize("@ss.hasPermission('server:employee-big-brother:allocation')")
|
||||
public CommonResult<Boolean> createEmployeeBigBrother(@Valid @RequestBody List<EmployeeBigBrotherSaveReqVO> createReqVO) {
|
||||
public CommonResult<Boolean> allocationEmployeeBigBrother(@Valid @RequestBody List<EmployeeBigBrotherSaveReqVO> createReqVO) {
|
||||
return success(employeeBigBrotherService.allocationEmployeeBigBrother(createReqVO));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user