Initial commit

This commit is contained in:
wanghep
2026-03-20 21:47:30 +08:00
commit 2eab960303
83 changed files with 51694 additions and 0 deletions

20
tools/send_test_alert.py Normal file
View File

@ -0,0 +1,20 @@
from __future__ import annotations
import json
import sys
from pathlib import Path
ROOT = Path(__file__).resolve().parents[1]
sys.path.insert(0, str(ROOT / "backend"))
from app.services.alert_service import alert_service # noqa: E402
def main() -> None:
result = alert_service.send_close_snapshot_test_alert()
print(json.dumps(result, ensure_ascii=False, indent=2))
if __name__ == "__main__":
main()