Compare commits
13 Commits
ba3f1c6507
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 4ebb71f7a0 | |||
| 88aff91e5d | |||
| d0aeefa1e7 | |||
| eec5608cce | |||
| 380bc41fc4 | |||
| eb4856ab56 | |||
| 326419bc53 | |||
| a128241ccc | |||
| 3e6fb3012b | |||
| 2d1292262a | |||
| 51145e7c78 | |||
| 90b0045659 | |||
| a1c28570d4 |
@@ -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:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
# ---------- API 变动检查 ----------
|
# ---------- API 变动检查 ----------
|
||||||
# 总开关:false 时跳过 Controller 接口参数变更检测(不对比、不通知)
|
# 总开关:false 时跳过 Controller 接口参数变更检测(不对比、不通知)
|
||||||
check:
|
check:
|
||||||
enabled: false
|
enabled: true
|
||||||
|
|
||||||
# 业务 Java 源码目录(相对仓库根目录)
|
# 业务 Java 源码目录(相对仓库根目录)
|
||||||
# 单模块: source_dir: "src/main/java"
|
# 单模块: source_dir: "src/main/java"
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ public class DayStatisticsDto {
|
|||||||
* 门店ID集合
|
* 门店ID集合
|
||||||
*/
|
*/
|
||||||
@NotEmpty(message = "门店ID集合不能为空")
|
@NotEmpty(message = "门店ID集合不能为空")
|
||||||
private List<Integer> storeIds;
|
private List<String> storeIds;
|
||||||
/**
|
/**
|
||||||
* 日期(yyyy-mm-dd)
|
* 日期(yyyy-mm-dd)
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user