feat: 新增预警定时扫描器,移除附件归档字段并为角色表补充更新时间

This commit is contained in:
SunYF
2026-10-31 15:41:27 +08:00
parent 11dbdaae75
commit 0c03d32682
107 changed files with 10790 additions and 1844 deletions
+1 -1
View File
@@ -243,7 +243,7 @@ func doGeneralOutbound(ctx *svc.ServiceContext, req generalOutboundRequest) (str
rec := httptest.NewRecorder()
httpReq := httptest.NewRequest(http.MethodPost, "/api/outbound/general", bytes.NewReader(body))
httpReq.Header.Set("Content-Type", "application/json")
generalOutboundHandler(ctx)(rec, httpReq)
makeOutboundHandler(ctx, "general")(rec, httpReq)
var env struct {
Code int `json:"code"`
Message string `json:"message"`