增加风控列表总数并优化站内提醒

This commit is contained in:
zhangshy
2026-09-13 23:51:45 +08:00
parent 38fe6f3689
commit 2a3146e050
11 changed files with 160 additions and 24 deletions
+1 -1
View File
@@ -355,7 +355,7 @@ def test_list_endpoints_follow_the_documented_envelope(monkeypatch) -> None:
assert isinstance(body["data"], list), "data 必须是纯数组"
assert "items" not in body["data"] if isinstance(body["data"], dict) else True
assert set(body["meta"]) == {"trace_id", "next_cursor", "has_more"}
assert set(body["meta"]) == {"trace_id", "next_cursor", "has_more", "total", "page_size"}
assert set(body) == {"data", "meta"}, "不得增加其他顶层字段"