更新 wechat.py

This commit is contained in:
jxxghp 2024-02-15 21:51:57 +08:00 committed by GitHub
parent a5f5d41104
commit cbffddc57f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,13 +9,12 @@ from app.core.context import MediaInfo, Context
from app.core.metainfo import MetaInfo
from app.log import logger
from app.utils.http import RequestUtils
from app.utils.singleton import Singleton
from app.utils.string import StringUtils
lock = threading.Lock()
class WeChat(metaclass=Singleton):
class WeChat:
# 企业微信Token
_access_token = None
# 企业微信Token过期时间