mirror of
https://github.com/Yanyutin753/RefreshToV1Api.git
synced 2025-10-14 15:11:26 +00:00
更新自定义网址更新access_token失败
This commit is contained in:
2
main.py
2
main.py
@@ -2605,8 +2605,8 @@ def updateRefresh_dict():
|
||||
logger.info(f"==========================================")
|
||||
logging.info("开始更新access_token.........")
|
||||
for key in refresh_dict:
|
||||
if REFRESH_TOACCESS_ENABLEOAI:
|
||||
refresh_token = key
|
||||
if REFRESH_TOACCESS_ENABLEOAI:
|
||||
access_token = oaiGetAccessToken(key)
|
||||
else:
|
||||
access_token = xyhelperGetAccessToken(REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL, key)
|
||||
|
Reference in New Issue
Block a user