psyduck/config/profile.js
2025-02-25 22:08:27 +08:00

91 lines
3.2 KiB
JavaScript

export default {
env: {
index: true,
salt: 'psyDuck'
},
global: {},
psyDuck: {
config: {
jd: {
userName: "pt_pin\\s*=\\s*([^;]+)",
configuration: {
'https://api.m.jd.com': {
agent: {
rejectUnauthorized: false,
ciphers: "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256",
secureProtocol: "TLSv1_2_method",
},
referer: "https://prodev.m.jd.com/",
shell: true,
},
'isvjcloud.com': {
cookieJar: true,
shell: true,
},
'kai.jd.com': {
shell: true
},
'ms.jr.jd.com': {
shell: true
},
'u.jd.com': {
shell: true
}
},
referer: "https://prodev.m.jd.com/",
timer: {
params: {
'url':
'https://api.m.jd.com/client.action?functionId=jdDiscoveryRedPoint&body=%7B%7D&uuid=487f7b22f68312d2c1bbc93b1&client=apple&clientVersion=10.0.10&st=1677768101596&sv=120&sign=fbaf17e9b2a79543cd3e296665517fb5',
},
wait: 120,
haskey: 'time'
},
prepare: [
{
'eval': 'algo.bill'
},
{
'eval': 'algo.isv',
'haskey': 'public',
'equal': 'isv'
},
{
'eval': '_userData',
'haskey': 'userData'
},
{
'eval': '_shareData',
'haskey': 'shareData'
},
{
'eval': '_inviteJson',
'haskey': 'inviteJson',
}
],
appids: [
'redrain-2021',
'wh5',
'SecKill2020',
'content_ecology',
'u',
'ihub_3c',
'u_hongbao',
'babelh5',
'publicUseApi',
'newtry'
],
}
},
map: {
'js': 'jd'
}
},
enc: {
token: '7530233633333336393633323337333239742830363633333537303333373336353a28727b303c2633363333373333333338393332276a222932333336333337353630333739353363726162313833333333353633323930363333626f63753333353333333334363034363633336823632233333933333333383333323136333360326f2a353934333633363421333633363333703c752133353138333633327630303333333370326e67333236373333363d',
jdApi: '263333368a19469e722333274f680ff0666222274feee1a87673333701129040',
jdShare: ''
}
}