修改 QLAPI 系统通知

This commit is contained in:
whyour
2025-01-12 15:39:28 +08:00
parent 51ef4e7476
commit ad6e08525c
7 changed files with 24 additions and 25 deletions
+4 -2
View File
@@ -6,7 +6,9 @@ cron: 1 9 * * *
"""
print("test script")
QLAPI.notify("test script", "test desc")
QLAPI.systemNotify({"title": "test script", "content": "dddd"})
print(QLAPI.notify("test script", "test desc"))
print("test systemNotify")
print(QLAPI.systemNotify({"title": "test script", "content": "dddd"}))
print("test getEnvs")
print(QLAPI.getEnvs("1"))
print("test desc")