refactor: 重构微信Token管理逻辑

This commit is contained in:
ws
2026-04-28 17:42:27 +08:00
parent 9a209d7c82
commit 67c359dd2b
5 changed files with 145 additions and 57 deletions
+2
View File
@@ -17,6 +17,8 @@ wx:
secret: e82fa407fad13a9df35503f2d176e5a4
subscribe-template-id: Csf_dJU7DhvVFt_03sphPPBCGlnmcWQSPhgqfxHZ5RQ
env: develop # 环境版本: release(正式版), trial(体验版), develop(开发版)
token-type: stable # token类型: standard(标准版), stable(稳定版)
token-expire-buffer: 300 # token提前过期缓冲时间(秒)
corp: # 企业ID
corpid: ww257614cff8a1b61b
# 应用Secret