Skip to content

Commit

Permalink
Update jd_joy_reward_Mod.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ccwav committed Nov 4, 2021
1 parent 631eaf9 commit 2e2448d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jd_joy_reward_Mod.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ async function joyReward() {
}
function getExchangeRewards() {
let opt = {
url: "//jdjoy.jd.com/common/gift/getBeanConfigs?reqSource=h5&invokeKey=JL1VTNRadM68cIMQ",
url: "//jdjoy.jd.com/common/gift/getBeanConfigs?reqSource=h5&invokeKey=q8DNJdpcfRQ69gIx",
method: "GET",
data: {},
credentials: "include",
Expand All @@ -325,7 +325,7 @@ function getExchangeRewards() {
}
return new Promise((resolve) => {
let lkt = new Date().getTime()
let lks = $.md5('' + 'JL1VTNRadM68cIMQ' + lkt).toString()
let lks = $.md5('' + 'q8DNJdpcfRQ69gIx' + lkt).toString()
const option = {
url: "https:" + taroRequest(opt)['url'] + $.validate,
headers: {
Expand Down Expand Up @@ -372,7 +372,7 @@ function exchange(saleInfoId, orderSource) {
"deviceInfo": {}
}
let opt = {
"url": "//jdjoy.jd.com/common/gift/new/exchange?reqSource=h5&invokeKey=JL1VTNRadM68cIMQ",
"url": "//jdjoy.jd.com/common/gift/new/exchange?reqSource=h5&invokeKey=q8DNJdpcfRQ69gIx",
"data": body,
"credentials": "include",
"method": "POST",
Expand All @@ -382,7 +382,7 @@ function exchange(saleInfoId, orderSource) {
}
return new Promise((resolve) => {
let lkt = new Date().getTime()
let lks = $.md5('' + 'JL1VTNRadM68cIMQ' + lkt).toString()
let lks = $.md5('' + 'q8DNJdpcfRQ69gIx' + lkt).toString()
const option = {
url: "https:" + taroRequest(opt)['url'] + $.validate,
body: `${JSON.stringify(body)}`,
Expand Down

0 comments on commit 2e2448d

Please sign in to comment.