fix
This commit is contained in:
@ -211,7 +211,7 @@ async function joyReward() {
|
|||||||
}
|
}
|
||||||
function getExchangeRewards() {
|
function getExchangeRewards() {
|
||||||
let opt = {
|
let opt = {
|
||||||
url: "//jdjoy.jd.com/common/gift/getBeanConfigs?reqSource=h5",
|
url: "//jdjoy.jd.com/common/gift/getBeanConfigs?reqSource=h5&invokeKey=Oex5GmEuqGep1WLC",
|
||||||
method: "GET",
|
method: "GET",
|
||||||
data: {},
|
data: {},
|
||||||
credentials: "include",
|
credentials: "include",
|
||||||
@ -255,7 +255,7 @@ function getExchangeRewards() {
|
|||||||
function exchange(saleInfoId, orderSource) {
|
function exchange(saleInfoId, orderSource) {
|
||||||
let body = {"buyParam":{"orderSource":orderSource,"saleInfoId":saleInfoId},"deviceInfo":{}}
|
let body = {"buyParam":{"orderSource":orderSource,"saleInfoId":saleInfoId},"deviceInfo":{}}
|
||||||
let opt = {
|
let opt = {
|
||||||
"url": "//jdjoy.jd.com/common/gift/new/exchange",
|
"url": "//jdjoy.jd.com/common/gift/new/exchange&invokeKey=Oex5GmEuqGep1WLC",
|
||||||
"data":body,
|
"data":body,
|
||||||
"credentials":"include","method":"POST","header":{"content-type":"application/json"}
|
"credentials":"include","method":"POST","header":{"content-type":"application/json"}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user