1.4.8-API方式扫码不发通知修复

This commit is contained in:
RachelOS
2025-12-17 16:50:30 +08:00
parent 792faeedaf
commit fb4487fb2f
3 changed files with 5 additions and 3 deletions
+1
View File
@@ -199,3 +199,4 @@ The following are the environment variable configurations supported in `config.y
| `LOG_LEVEL` | `INFO` | Log level |
| `EXPORT_PDF` | `False` | Whether to enable PDF export functionality |
+2 -1
View File
@@ -107,7 +107,8 @@ class WeChatAPI:
self.set_lock()
# 启动登录状态检查
self._start_login_check(qr_info['uuid'])
if self.notice_callback is not None:
self.notice_callback()
return {
'code': f"{self.qr_code_path}?t={int(time.time())}",
'is_exists': os.path.exists(self.qr_code_path),
+2 -2
View File
@@ -158,8 +158,8 @@ if __name__=="__main__":
# testWeb()
# testNotice()
# testMd2Doc()
testLogin()
# test_send_wx_code()
# testLogin()
test_send_wx_code()
# testCheckAuth()
# testToken() # 注释掉避免线程冲突
# testMarkDown()