This commit is contained in:
lxk0301
2021-06-06 19:03:35 +08:00
parent 9f102c3476
commit b873e17315

View File

@ -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"}
}