Compare commits

..

11 Commits

Author SHA1 Message Date
4ebb71f7a0 测试:普通参数--新增&修改&删除
All checks were successful
API接口参数变更检测 / api-param-check (push) Successful in 24s
2026-06-05 17:24:59 +08:00
88aff91e5d 测试:普通参数--删除
All checks were successful
API接口参数变更检测 / api-param-check (push) Successful in 19s
2026-06-05 17:22:54 +08:00
d0aeefa1e7 测试:普通参数--新增
All checks were successful
API接口参数变更检测 / api-param-check (push) Successful in 19s
2026-06-05 17:21:19 +08:00
eec5608cce 测试:参数修改
All checks were successful
API接口参数变更检测 / api-param-check (push) Successful in 21s
2026-06-05 17:18:27 +08:00
380bc41fc4 测试:路径修改
All checks were successful
API接口参数变更检测 / api-param-check (push) Successful in 21s
2026-06-05 17:16:56 +08:00
eb4856ab56 测试:新增接口
All checks were successful
API接口参数变更检测 / api-param-check (push) Successful in 21s
2026-06-05 16:57:00 +08:00
326419bc53 测试:删除接口
All checks were successful
API接口参数变更检测 / api-param-check (push) Successful in 20s
2026-06-05 16:54:04 +08:00
a128241ccc 测试:请求方式变更
All checks were successful
API接口参数变更检测 / api-param-check (push) Successful in 20s
2026-06-05 16:52:20 +08:00
3e6fb3012b 接口类对象解析
All checks were successful
API接口参数变更检测 / api-param-check (push) Successful in 20s
2026-06-05 16:44:10 +08:00
2d1292262a 接口类对象解析
Some checks failed
API接口参数变更检测 / api-param-check (push) Has been cancelled
2026-06-05 16:43:57 +08:00
51145e7c78 接口类对象解析
Some checks failed
API接口参数变更检测 / api-param-check (push) Has been cancelled
2026-06-05 16:41:16 +08:00
3 changed files with 6 additions and 5 deletions

View File

@@ -25,6 +25,7 @@ from models import ApiEndpoint, ApiParameter
# javax.validation 必填注解 # javax.validation 必填注解
REQUIRED_FIELD_ANNS = {"NotNull", "NotEmpty", "NotBlank"} REQUIRED_FIELD_ANNS = {"NotNull", "NotEmpty", "NotBlank"}
MAPPING_ANNS = {"GetMapping", "PostMapping", "PutMapping", "DeleteMapping", "PatchMapping", "RequestMapping"}
CONTROLLER_ANNS = {"RestController", "Controller"} CONTROLLER_ANNS = {"RestController", "Controller"}
# Spring MVC 框架自动注入参数,不属于 API 调用方入参,解析时忽略 # Spring MVC 框架自动注入参数,不属于 API 调用方入参,解析时忽略

View File

@@ -398,7 +398,7 @@ def send_parameter_change_notification(
# 构建参数变更通知(只包含参数变更报告,对齐 model.md # 构建参数变更通知(只包含参数变更报告,对齐 model.md
parts: List[str] = [] parts: List[str] = []
parts.append("# 【API参数变更通知】") parts.append("# 【API参数变更通知】")
parts.append(f"- **修改人:** {push_user if push_user.startswith('@') else '@' + push_user}") parts.append(f"- **修改人:** {push_user}")
parts.append(f"- **修改时间:** {push_time}") parts.append(f"- **修改时间:** {push_time}")
parts.append("") parts.append("")
for report in changed_reports: for report in changed_reports:

View File

@@ -286,11 +286,11 @@ public class WebStatisticsController implements FtbStatisticsApi {
@NoDataSourceBind @NoDataSourceBind
@Operation(summary = "日统计触发") @Operation(summary = "日统计触发")
@GetMapping("/dayStatisticsTriggered") @GetMapping("/dayStatisticsTriggered11")
public ActionResult<Boolean> dayStatisticsTriggered(@RequestParam("tenantId") String tenantId, public ActionResult<Boolean> dayStatisticsTriggered(@RequestParam("tenantId") String tenantId,
@RequestParam("groupId") String groupId, @RequestParam("userId") Boolean userId,
@RequestParam("userId") String userId, @RequestParam("user") Integer user,
@RequestParam("day") String day) throws LoginException { @RequestParam("day") Boolean day) throws LoginException {
StatisticsSingleDto courseEventDTO = StatisticsSingleDto.builder() StatisticsSingleDto courseEventDTO = StatisticsSingleDto.builder()
.tenantId(tenantId) .tenantId(tenantId)
.groupId(groupId) .groupId(groupId)