|
|
@@ -292,6 +292,8 @@ function checkPlanABuyNotify(pksPlanItemData, pksPlanListData){
|
|
|
}
|
|
|
|
|
|
async function getPksPlanList(lotCode, date, rows=30) {
|
|
|
+ const url = `https://${gHost}/api/LotteryPlan/getPksPlanList.do?lotCode=${lotCode}&rows=${rows}&date=${date}`;
|
|
|
+ magicJS.logger.info(url);
|
|
|
let cacheData = magicJS.data.read('168_PksPlanListDataCache', null);
|
|
|
// magicJS.logger.info(`cacheData=${JSON.stringify(cacheData)}`);
|
|
|
if(cacheData && cacheData[0]){
|
|
|
@@ -303,9 +305,6 @@ async function getPksPlanList(lotCode, date, rows=30) {
|
|
|
return cacheData;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- const url = `https://${gHost}/api/LotteryPlan/getPksPlanList.do?lotCode=${lotCode}&rows=${rows}&date=${date}`;
|
|
|
- magicJS.logger.info(url);
|
|
|
const myRequest = {
|
|
|
url: url,
|
|
|
headers: gCommonHeaders,
|