From 749f69c0d6d9b8b99d31daedb70226b7232a64c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=8A=B1=E8=8A=B1=E8=8A=B1=E5=84=BF?= <860563585@qq.com> Date: Wed, 24 Apr 2024 03:49:23 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=8A=BD=E5=8D=A1=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E6=8E=A5=E5=8F=A3=20=E5=A6=82=E9=9C=80=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E6=8A=BD=E5=8D=A1=E8=AE=B0=E5=BD=95=E8=AF=B7=E4=BF=AE?= =?UTF-8?q?=E6=94=B9xiaoyao/apps/user.js=20105=E8=A1=8C=E4=B8=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit let url = `https://public-operation-hk4e.mihoyo.com/gacha_info/api/getGachaLog?authkey_ver=1&sign_type=2&auth_appid=webview_gacha&init_type=301&gacha_id=fecafa7b6560db5f3182222395d88aaa6aaac1bc×tamp=${Math.floor(Date.now() / 1000)}&lang=zh-cn&device_type=mobile&plat_type=ios®ion=${e.region}&authkey=${encodeURIComponent(authkey)}&game_biz=hk4e_cn&gacha_type=301&page=1&size=5&end_id=0` Signed-off-by: 小花花花儿 <860563585@qq.com> --- plugins/genshin/model/gachaLog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/genshin/model/gachaLog.js b/plugins/genshin/model/gachaLog.js index 4cd82fd..2b9215e 100644 --- a/plugins/genshin/model/gachaLog.js +++ b/plugins/genshin/model/gachaLog.js @@ -214,7 +214,7 @@ export default class GachaLog extends base { async logApi(param) { // 调用一次接口判断链接是否正确 - let logUrl = "https://hk4e-api.mihoyo.com/event/gacha_info/api/getGachaLog?" + let logUrl = "https://public-operation-hk4e.mihoyo.com/gacha_info/api/getGachaLog?" /** 国际服 */ if (!["cn_gf01", "cn_qd01"].includes(param.region)) { logUrl = "https://hk4e-api-os.mihoyo.com/event/gacha_info/api/getGachaLog?"