This commit is contained in:
thsrite 2023-09-08 21:31:36 +08:00
parent 846459c244
commit db23b62fd1

View File

@ -296,6 +296,8 @@ class MessageForward(_PluginBase):
logger.error(f"wechat配置 appid = {appid} 获取token失败请检查配置")
return None, None
if isinstance(access_token_time, datetime):
access_token_time = access_token_time.strftime('%Y-%m-%d %H:%M:%S')
self._pattern_token[index] = {
"appid": appid,
"corpid": corpid,