|
|
@@ -54,7 +54,6 @@ const GCommonHeads = {
|
|
|
'Content-Type': `application/json; charset=utf-8`,
|
|
|
'Connection': `keep-alive`,
|
|
|
'User-Agent': ofpayUserAgent,
|
|
|
- 'Referer': `https://www.gandart.com/`,
|
|
|
'Accept-Language': `zh-CN,zh-Hans;q=0.9`,
|
|
|
'Authorization': ofpayAuthorization,
|
|
|
'Cookie': ofpayCookie,
|
|
|
@@ -329,7 +328,7 @@ function checkPickItem(prizeName, awardList){
|
|
|
function getMarketItemsFromCache(marketId, eventVisitorId){
|
|
|
let retData = null;
|
|
|
try{
|
|
|
- let key = `${OfPayConstKey.marketItemsData}#${urlParams.marketId}${urlParams.eventVisitorId}`;
|
|
|
+ let key = `${OfPayConstKey.marketItemsData}#${marketId}${eventVisitorId}`;
|
|
|
let jsonStr = lk.getVal(key);
|
|
|
if(jsonStr && jsonStr.length > 0){
|
|
|
retData = JSON.parse(jsonStr);
|