Compare commits
11 Commits
90b0045659
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 4ebb71f7a0 | |||
| 88aff91e5d | |||
| d0aeefa1e7 | |||
| eec5608cce | |||
| 380bc41fc4 | |||
| eb4856ab56 | |||
| 326419bc53 | |||
| a128241ccc | |||
| 3e6fb3012b | |||
| 2d1292262a | |||
| 51145e7c78 |
@@ -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 调用方入参,解析时忽略
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user