Remove legacy test script and enhance main application with WeChat server and menu management features. Added commands for starting the WeChat callback server and managing WeChat menus, along with necessary imports and error handling. Updated requirements to include Flask for the WeChat server functionality.

This commit is contained in:
2026-01-08 15:16:42 +08:00
parent 317dbf3c58
commit a8108d9afd
25 changed files with 3089 additions and 152 deletions
+4 -1
View File
@@ -2,7 +2,10 @@
包的main入口,使项目可以直接通过 python -m gx_gp_monitor 运行
"""
from .main import main
try:
from .main import main
except ImportError:
from main import main
if __name__ == "__main__":
main()