From 05bb0aff28bd585a2693185b5dfb393a84d87473 Mon Sep 17 00:00:00 2001 From: liuwei Date: Thu, 15 May 2025 15:58:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95=E4=BA=AC=E4=B8=9Ccookie?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/jd_sign_token/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/jd_sign_token/main.py b/plugins/jd_sign_token/main.py index 6a3461f..dc55200 100644 --- a/plugins/jd_sign_token/main.py +++ b/plugins/jd_sign_token/main.py @@ -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"