diff --git a/assets/wechat/html/today.html b/assets/wechat/html/today.html
index 963d753bf43ffda9ea304cc2688917c8e7f94990..0545bccfe5d44d0aa3317e5f67cbb0424faa4288 100644
--- a/assets/wechat/html/today.html
+++ b/assets/wechat/html/today.html
@@ -1,4 +1,10 @@
-注意:比赛为程序自动处理,自动更新同步,目前更新周期为30~60分钟一次.
+
注意
+
+ - 1.比赛为程序自动处理,自动更新同步,目前更新周期为30~60分钟一次.
+ - 2.推荐的场次为当前时间"往前推12个小时"至"往后推24小时"的比赛.
+ - 3.推荐的场次会随指数的变化而不同,如再次进入不见上次推荐的比赛,请查看"待选池比赛".
+ - 4.(重要)建议多关注支持模型E2的比赛.
+
- 更新时间:{{.DataDateStr}}
diff --git a/assets/wechat/html/today_detail.html b/assets/wechat/html/today_detail.html
index f1a065620e0577d4b87d1dd9fcafbf4630d0306e..adb0690cf8855c66c732477ad92f97baa4e24b51 100644
--- a/assets/wechat/html/today_detail.html
+++ b/assets/wechat/html/today_detail.html
@@ -1,3 +1,11 @@
+注意
+
+ - 1.比赛为程序自动处理,自动更新同步,目前更新周期为30~60分钟一次.
+ - 2.推荐的场次为当前时间"往前推12个小时"至"往后推24小时"的比赛.
+ - 3.推荐的场次会随指数的变化而不同,如再次进入不见上次推荐的比赛,请查看"待选池比赛".
+ - 4.(重要)建议多关注支持模型E2的比赛.
+
+
- 更新时间:{{.DataDateStr}}
- 日期:{{.BeginDateStr}} 至 {{.EndDateStr}}
diff --git a/assets/wechat/html/today_tbs.html b/assets/wechat/html/today_tbs.html
index 1923b5eac85cd01e2406a8c34c0a9433b18bfc19..63b61bafbab628efd0e45a0555f2688302ac5837 100644
--- a/assets/wechat/html/today_tbs.html
+++ b/assets/wechat/html/today_tbs.html
@@ -1,4 +1,11 @@
-注意:以下比赛为待选池中的比赛,未被模型认可.
+注意
+
+ - (重要)1.以下比赛为待选池中的比赛,未被模型认可.如被认可成功,则会进入"今日推荐"中.
+ - 2.比赛为程序自动处理,自动更新同步,目前更新周期为30~60分钟一次.
+ - 3.待选的场次为当前时间"往前推72小时"至"往后推24小时"的比赛.
+ - 4.待选的场次会随指数的变化而不同,如再次进入不见上次待选的比赛,请查看"今日推荐".
+ - 4.(重要)建议多关注支持模型E2的比赛.
+
- 更新时间:{{.DataDateStr}}
diff --git a/foot-core/module/suggest/service/SuggestService.go b/foot-core/module/suggest/service/SuggestService.go
index 995f6ef08d56261646b62f81b5d1040baa00fb9c..afcb040b703aada8b28f0ecaba272f4d2ae98136 100644
--- a/foot-core/module/suggest/service/SuggestService.go
+++ b/foot-core/module/suggest/service/SuggestService.go
@@ -4,8 +4,6 @@ import (
"strconv"
vo2 "tesou.io/platform/foot-parent/foot-api/module/suggest/vo"
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
- "tesou.io/platform/foot-parent/foot-core/common/utils"
- "tesou.io/platform/foot-parent/foot-core/module/analy/constants"
)
/**
@@ -33,9 +31,8 @@ FROM
foot.t_analy_result ar
WHERE mh.LeagueId = l.Id
AND mh.Id = ar.MatchId
- AND ar.HitCount < THitCount
+ AND (ar.HitCount < THitCount or ar.HitCount = 0)
`
-
if len(param.AlFlag) > 0 {
sql += " AND ar.AlFlag = '" + param.AlFlag + "' "
}
@@ -76,12 +73,11 @@ FROM
foot.t_analy_result ar
WHERE mh.LeagueId = l.Id
AND mh.Id = ar.MatchId
+ AND ar.HitCount > 0
+ AND ar.HitCount >= ar.THitCount
`
if param.HitCount > 0 {
- sql += " AND ar.HitCount >= THitCount AND ar.HitCount >= '" + strconv.Itoa(param.HitCount) + "' "
- } else {
- hit_count_str := utils.GetVal(constants.SECTION_NAME, "hit_count")
- sql += " AND ar.HitCount >= THitCount AND ar.HitCount >= '" + hit_count_str + "' "
+ sql += " AND ar.HitCount >= '" + strconv.Itoa(param.HitCount) + "' "
}
if len(param.AlFlag) > 0 {
diff --git a/foot-core/module/wechat/service/SuggestTodayService.go b/foot-core/module/wechat/service/SuggestTodayService.go
index 96bf11482cee8f3fc0b99b117230495163307931..91450e084c9a08d602f83f2fb1a699676b05c501 100644
--- a/foot-core/module/wechat/service/SuggestTodayService.go
+++ b/foot-core/module/wechat/service/SuggestTodayService.go
@@ -184,7 +184,7 @@ func (this *SuggestTodayService) ModifyTodayDetail(wcClient *core.Client) {
func (this *SuggestTodayService) ModifyTodayTbs(wcClient *core.Client) {
param := new(vo.SuggestVO)
now := time.Now()
- h12, _ := time.ParseDuration("-12h")
+ h12, _ := time.ParseDuration("-72h")
beginDate := now.Add(h12)
param.BeginDateStr = beginDate.Format("2006-01-02 15:04:05")
h12, _ = time.ParseDuration("24h")