From 980947cb844cc2d64199f22f6ae0f9aeff3b70c3 Mon Sep 17 00:00:00 2001 From: smallfawn <101914820+smallfawn@users.noreply.github.com> Date: Tue, 29 Aug 2023 20:08:25 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A1=AC=E5=A3=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新修复BUG --- yingsheng.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yingsheng.js b/yingsheng.js index 72d76c7..6a02b7f 100644 --- a/yingsheng.js +++ b/yingsheng.js @@ -120,9 +120,10 @@ class UserInfo { const timestamp = Math.round(new Date().getTime() / 1e3) return { "Host": "ysapi.elecfans.com", + "Connection": "keep-alive", "Authorization": this.ck, - "Content-Type": "application/json;charset=UTF-8", + "Content-Type": "application/x-www-form-urlencoded", "model": "MI 8 Lite", "timestamp": timestamp, "User-Agent": "okhttp/3.12.6",