调试京东cookie设置
This commit is contained in:
@@ -262,7 +262,7 @@ class JDTokenPlugin(MessagePluginInterface):
|
|||||||
if existing_env:
|
if existing_env:
|
||||||
# 更新已存在的环境变量
|
# 更新已存在的环境变量
|
||||||
existing_env['value'] = token
|
existing_env['value'] = token
|
||||||
env_update: dict = {'id': env_id, 'value': token, 'remarks': remark}
|
env_update: dict = {"id": env_id, "value": token, "remarks": remark,"name": "JD_COOKIE"}
|
||||||
result = self.ql.updateEnv(env_update)
|
result = self.ql.updateEnv(env_update)
|
||||||
if result:
|
if result:
|
||||||
return f"✅ 已成功更新京东账号 [{remark}] 的Token"
|
return f"✅ 已成功更新京东账号 [{remark}] 的Token"
|
||||||
|
|||||||
Reference in New Issue
Block a user