This commit is contained in:
Faker
2022-07-11 15:02:46 +08:00
parent 84c8dc271c
commit e77feb8e48
8 changed files with 59 additions and 53 deletions

View File

@@ -545,7 +545,7 @@ function try_MyTrials(page, selected) {
'origin': 'https://prodev.m.jd.com',
'User-Agent': 'jdapp;iPhone;10.3.4;;;M/5.0;appBuild/167945;jdSupportDarkMode/1;;;Mozilla/5.0 (iPhone; CPU iPhone OS 15_2_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148;supportJDSHWK/1;',
'referer': 'https://prodev.m.jd.com/',
'cookie': `${$.cookie} __jda=1.1.1.1.1.1;`
'cookie': `${$.cookie} __jda=1.0;`
},
}
$.post(options, (err, resp, data) => {
@@ -586,7 +586,7 @@ function taskurl_xh(appid, functionId, body = JSON.stringify({})) {
return {
"url": `${URL}?appid=${appid}&functionId=${functionId}&clientVersion=10.3.4&client=wh5&body=${encodeURIComponent(body)}`,
'headers': {
'Cookie': `${$.cookie} __jda=1.1.1.1.1.1;`,
'Cookie': `${$.cookie} __jda=1.0;`,
'user-agent': 'jdapp;iPhone;10.1.2;15.0;ff2caa92a8529e4788a34b3d8d4df66d9573f499;network/wifi;model/iPhone13,4;addressid/2074196292;appBuild/167802;jdSupportDarkMode/1;Mozilla/5.0 (iPhone; CPU iPhone OS 15_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148;supportJDSHWK/1',
'Referer': 'https://prodev.m.jd.com/',
'origin': 'https://prodev.m.jd.com/',