|
|
@@ -528,7 +528,7 @@ async function do168UserLogin(userName, password, captchaCode) {
|
|
|
async function checkTimeSlotPlanBuy() {
|
|
|
// let htmlUrl = `https://${gBuyPlanHost}/v1/html/buy_plan/buy_plan.html`;
|
|
|
// let htmlContent = await getHtmlContent(htmlUrl, gBuyPlanHeaders);
|
|
|
- magicJS.logger.log(`模式:${gBetMode}\n`);
|
|
|
+ magicJS.logger.log(`模式:${gBetMode}`);
|
|
|
|
|
|
let nowDate = formatNow();
|
|
|
let pksPlanListData = await getPksPlanList(gLotteryCode, nowDate, 100);
|
|
|
@@ -1010,7 +1010,7 @@ function getChangLongCostTimes(planType, pksPlanListData) {
|
|
|
failItem = failItemData.failItemA;
|
|
|
}
|
|
|
if (failItem) {
|
|
|
- if (!checkHitPrizeAfterFailOnce(failItem, pksPlanListData)) {
|
|
|
+ if (checkHitPrizeAfterFailOnce(failItem, pksPlanListData)) {
|
|
|
let timesDict = {
|
|
|
[1]: 4,
|
|
|
[3]: 8,
|
|
|
@@ -1034,7 +1034,7 @@ function hasRecentLongFail(planType, pksPlanListData) {
|
|
|
failItem = failItemData.failItemA;
|
|
|
}
|
|
|
if (failItem) {
|
|
|
- if (!checkHitPrizeAfterFailOnce(failItem, pksPlanListData)) {
|
|
|
+ if (checkHitPrizeAfterFailOnce(failItem, pksPlanListData)) {
|
|
|
return true;
|
|
|
}
|
|
|
}
|