调试京东cookie设置

This commit is contained in:
liuwei
2025-05-15 15:58:22 +08:00
parent abc86df2d9
commit 05bb0aff28

View File

@@ -262,7 +262,7 @@ class JDTokenPlugin(MessagePluginInterface):
if existing_env:
# 更新已存在的环境变量
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)
if result:
return f"✅ 已成功更新京东账号 [{remark}] 的Token"