修复抽卡记录 (#412)

This commit is contained in:
Ca(HCO₃)₂ 2024-04-24 12:41:01 +08:00 committed by GitHub
parent 7400cd6683
commit 10a7e5aee2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -214,10 +214,10 @@ export default class GachaLog extends base {
async logApi(param) { 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)) { if (!["cn_gf01", "cn_qd01"].includes(param.region)) {
logUrl = "https://hk4e-api-os.mihoyo.com/event/gacha_info/api/getGachaLog?" logUrl = "https://hk4e-api-os.hoyoverse.com/gacha_info/api/getGachaLog?"
} }
let logParam = new URLSearchParams({ let logParam = new URLSearchParams({
@ -809,7 +809,7 @@ export default class GachaLog extends base {
{ lable: "最欧", num: minValue, unit: "抽" } { lable: "最欧", num: minValue, unit: "抽" }
]] ]]
} }
// 集录池 // 集录池
if ([500].includes(type)) { if ([500].includes(type)) {
line = [[ line = [[
{ lable: "未出五星", num: data.noFiveNum, unit: "抽" }, { lable: "未出五星", num: data.noFiveNum, unit: "抽" },