把iOS端默认的短京东ua换成长ua
This commit is contained in:
@@ -213,7 +213,7 @@ function taskUrl(function_id, body = '') {
|
||||
'Accept-Language': 'zh-cn',
|
||||
'Content-Type': 'application/json;charset=utf-8',
|
||||
'Origin': 'wq.jd.com',
|
||||
'User-Agent': 'JD4iPhone/167490 (iPhone; iOS 14.2; Scale/3.00)',
|
||||
"User-Agent": $.isNode() ? (process.env.JD_USER_AGENT ? process.env.JD_USER_AGENT : (require('./USER_AGENTS').USER_AGENT)) : ($.getdata('JDUA') ? $.getdata('JDUA') : "jdapp;iPhone;9.4.4;14.3;network/4g;Mozilla/5.0 (iPhone; CPU iPhone OS 14_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148;supportJDSHWK/1"),
|
||||
'Referer': `https://anmp.jd.com/babelDiy/Zeus/xKACpgVjVJM7zPKbd5AGCij5yV9/index.html?wxAppName=jd`,
|
||||
'Cookie': cookie
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user