mirror of
https://github.com/chinnkarahoi/jd_scripts.git
synced 2024-06-05 19:32:47 +08:00
fix
This commit is contained in:
parent
9f102c3476
commit
b873e17315
@ -211,7 +211,7 @@ async function joyReward() {
|
||||
}
|
||||
function getExchangeRewards() {
|
||||
let opt = {
|
||||
url: "//jdjoy.jd.com/common/gift/getBeanConfigs?reqSource=h5",
|
||||
url: "//jdjoy.jd.com/common/gift/getBeanConfigs?reqSource=h5&invokeKey=Oex5GmEuqGep1WLC",
|
||||
method: "GET",
|
||||
data: {},
|
||||
credentials: "include",
|
||||
@ -255,7 +255,7 @@ function getExchangeRewards() {
|
||||
function exchange(saleInfoId, orderSource) {
|
||||
let body = {"buyParam":{"orderSource":orderSource,"saleInfoId":saleInfoId},"deviceInfo":{}}
|
||||
let opt = {
|
||||
"url": "//jdjoy.jd.com/common/gift/new/exchange",
|
||||
"url": "//jdjoy.jd.com/common/gift/new/exchange&invokeKey=Oex5GmEuqGep1WLC",
|
||||
"data":body,
|
||||
"credentials":"include","method":"POST","header":{"content-type":"application/json"}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user