mirror of
https://github.com/earthjasonlin/star-rail-warp-export.git
synced 2025-07-31 09:50:18 +08:00
Compare commits
2 Commits
413afea538
...
000866f724
Author | SHA1 | Date | |
---|---|---|---|
|
000866f724 | ||
de7ac8f364 |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "star-rail-warp-export",
|
||||
"version": "0.2.0",
|
||||
"version": "0.2.1",
|
||||
"main": "./dist/electron/main/main.js",
|
||||
"author": "biuuu <https://github.com/biuuu>",
|
||||
"homepage": "https://github.com/biuuu/star-rail-warp-export",
|
||||
|
789
src/idJson.json
789
src/idJson.json
File diff suppressed because it is too large
Load Diff
@@ -213,10 +213,7 @@ const getGachaLogs = async ({ name, key }, queryString) => {
|
||||
let region = ''
|
||||
let region_time_zone = ''
|
||||
let endId = '0'
|
||||
let gachaURLPath = 'getGachaLog'
|
||||
if (queryString.includes('gacha_type=21') || queryString.includes('gacha_type=22')) {
|
||||
gachaURLPath = 'getLdGachaLog'
|
||||
}
|
||||
let gachaURLPath = ['21', '22'].includes(key) ? 'getLdGachaLog' : 'getGachaLog'
|
||||
const url = `${apiDomain}/common/gacha_record/api/${gachaURLPath}?${queryString}`
|
||||
do {
|
||||
// if (page % 10 === 0) {
|
||||
|
Reference in New Issue
Block a user