|
|
@@ -155,6 +155,13 @@ async function doLotteryTracking() {
|
|
|
}
|
|
|
let lotteryRet = await getLotteryPksInfo(gLotteryCode);
|
|
|
let drawIssue = lotteryRet.drawIssue;
|
|
|
+ let tmpDrawIssue = magicJS.data.read('168_PksTrackingDrawIssue', '');
|
|
|
+ // 期号
|
|
|
+ let strDrawIssue = String(drawIssue);
|
|
|
+ if (tmpDrawIssue == strDrawIssue) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
let drawTime = lotteryRet.drawTime;
|
|
|
let tipsMsg = ``;
|
|
|
let rowTextArr = [
|
|
|
@@ -195,6 +202,8 @@ async function doLotteryTracking() {
|
|
|
}
|
|
|
tipsMsg += `期号:${drawIssue} 开奖时间:${drawTime}\n`;
|
|
|
magicJS.notification.appendNotifyInfo(tipsMsg);
|
|
|
+
|
|
|
+ magicJS.data.write('168_PksTrackingDrawIssue', strDrawIssue);
|
|
|
}
|
|
|
|
|
|
|