更新抽卡记录接口

如需更新抽卡记录请修改xiaoyao/apps/user.js
105行为

    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&timestamp=${Math.floor(Date.now() / 1000)}&lang=zh-cn&device_type=mobile&plat_type=ios&region=${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>
This commit is contained in:
小花花花儿 2024-04-24 03:49:23 +00:00 committed by Gitee
parent 7400cd6683
commit 749f69c0d6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -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?"