Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
加钱居士.
foot
提交
db257587
F
foot
项目概览
加钱居士.
/
foot
通知
3
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
foot
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
db257587
编写于
12月 28, 2019
作者:
M
monomania
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1.修改公众号页面说明
上级
ff64258f
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
28 addition
and
11 deletion
+28
-11
assets/wechat/html/today.html
assets/wechat/html/today.html
+7
-1
assets/wechat/html/today_detail.html
assets/wechat/html/today_detail.html
+8
-0
assets/wechat/html/today_tbs.html
assets/wechat/html/today_tbs.html
+8
-1
foot-core/module/suggest/service/SuggestService.go
foot-core/module/suggest/service/SuggestService.go
+4
-8
foot-core/module/wechat/service/SuggestTodayService.go
foot-core/module/wechat/service/SuggestTodayService.go
+1
-1
未找到文件。
assets/wechat/html/today.html
浏览文件 @
db257587
<span
style=
"color: red;font-weight: bold;font-size: 12px"
>
注意:比赛为程序自动处理,自动更新同步,目前更新周期为30~60分钟一次.
</span>
<h1
style=
"color: red;font-weight: bold;font-size: 12px"
><strong>
注意
</strong></h1>
<ul
style=
"color: red;font-weight: bold;font-size: 12px"
>
<li><strong>
1.比赛为程序自动处理,自动更新同步,目前更新周期为30~60分钟一次.
</strong></li>
<li><strong>
2.推荐的场次为当前时间"往前推12个小时"至"往后推24小时"的比赛.
</strong></li>
<li><strong>
3.推荐的场次会随指数的变化而不同,如再次进入不见上次推荐的比赛,请查看"待选池比赛".
</strong></li>
<li
style=
"text-shadow: 0 0 7px blue"
><strong>
4.(重要)建议多关注支持模型E2的比赛.
</strong></li>
</ul>
<hr/>
<hr/>
<ul
style=
"font-size: 12px;font-weight: lighter"
>
<ul
style=
"font-size: 12px;font-weight: lighter"
>
<li><strong>
更新时间:{{.DataDateStr}}
</strong></li>
<li><strong>
更新时间:{{.DataDateStr}}
</strong></li>
...
...
assets/wechat/html/today_detail.html
浏览文件 @
db257587
<h1
style=
"color: red;font-weight: bold;font-size: 12px"
><strong>
注意
</strong></h1>
<ul
style=
"color: red;font-weight: bold;font-size: 12px"
>
<li><strong>
1.比赛为程序自动处理,自动更新同步,目前更新周期为30~60分钟一次.
</strong></li>
<li><strong>
2.推荐的场次为当前时间"往前推12个小时"至"往后推24小时"的比赛.
</strong></li>
<li><strong>
3.推荐的场次会随指数的变化而不同,如再次进入不见上次推荐的比赛,请查看"待选池比赛".
</strong></li>
<li
style=
"text-shadow: 0 0 7px blue"
><strong>
4.(重要)建议多关注支持模型E2的比赛.
</strong></li>
</ul>
<hr/>
<ul
style=
"font-size: 12px;font-weight: lighter"
>
<ul
style=
"font-size: 12px;font-weight: lighter"
>
<li><strong>
更新时间:{{.DataDateStr}}
</strong></li>
<li><strong>
更新时间:{{.DataDateStr}}
</strong></li>
<li><strong>
日期:{{.BeginDateStr}} 至 {{.EndDateStr}}
</strong></li>
<li><strong>
日期:{{.BeginDateStr}} 至 {{.EndDateStr}}
</strong></li>
...
...
assets/wechat/html/today_tbs.html
浏览文件 @
db257587
<span
style=
"color: red;font-weight: bold;font-size: 12px"
>
注意:以下比赛为待选池中的比赛,未被模型认可.
</span>
<h1
style=
"color: red;font-weight: bold;font-size: 12px"
><strong>
注意
</strong></h1>
<ul
style=
"color: red;font-weight: bold;font-size: 12px"
>
<li
style=
"text-shadow: 0 0 7px blue"
><strong>
(重要)1.以下比赛为待选池中的比赛,未被模型认可.如被认可成功,则会进入"今日推荐"中.
</strong></li>
<li><strong>
2.比赛为程序自动处理,自动更新同步,目前更新周期为30~60分钟一次.
</strong></li>
<li><strong>
3.待选的场次为当前时间"往前推72小时"至"往后推24小时"的比赛.
</strong></li>
<li><strong>
4.待选的场次会随指数的变化而不同,如再次进入不见上次待选的比赛,请查看"今日推荐".
</strong></li>
<li
style=
"text-shadow: 0 0 7px blue"
><strong>
4.(重要)建议多关注支持模型E2的比赛.
</strong></li>
</ul>
<hr/>
<hr/>
<ul
style=
"font-size: 12px;font-weight: lighter"
>
<ul
style=
"font-size: 12px;font-weight: lighter"
>
<li><strong>
更新时间:{{.DataDateStr}}
</strong></li>
<li><strong>
更新时间:{{.DataDateStr}}
</strong></li>
...
...
foot-core/module/suggest/service/SuggestService.go
浏览文件 @
db257587
...
@@ -4,8 +4,6 @@ import (
...
@@ -4,8 +4,6 @@ import (
"strconv"
"strconv"
vo2
"tesou.io/platform/foot-parent/foot-api/module/suggest/vo"
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/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
...
@@ -33,9 +31,8 @@ FROM
foot.t_analy_result ar
foot.t_analy_result ar
WHERE mh.LeagueId = l.Id
WHERE mh.LeagueId = l.Id
AND mh.Id = ar.MatchId
AND mh.Id = ar.MatchId
AND
ar.HitCount < THitCount
AND
(ar.HitCount < THitCount or ar.HitCount = 0)
`
`
if
len
(
param
.
AlFlag
)
>
0
{
if
len
(
param
.
AlFlag
)
>
0
{
sql
+=
" AND ar.AlFlag = '"
+
param
.
AlFlag
+
"' "
sql
+=
" AND ar.AlFlag = '"
+
param
.
AlFlag
+
"' "
}
}
...
@@ -76,12 +73,11 @@ FROM
...
@@ -76,12 +73,11 @@ FROM
foot.t_analy_result ar
foot.t_analy_result ar
WHERE mh.LeagueId = l.Id
WHERE mh.LeagueId = l.Id
AND mh.Id = ar.MatchId
AND mh.Id = ar.MatchId
AND ar.HitCount > 0
AND ar.HitCount >= ar.THitCount
`
`
if
param
.
HitCount
>
0
{
if
param
.
HitCount
>
0
{
sql
+=
" AND ar.HitCount >= THitCount AND ar.HitCount >= '"
+
strconv
.
Itoa
(
param
.
HitCount
)
+
"' "
sql
+=
" 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
+
"' "
}
}
if
len
(
param
.
AlFlag
)
>
0
{
if
len
(
param
.
AlFlag
)
>
0
{
...
...
foot-core/module/wechat/service/SuggestTodayService.go
浏览文件 @
db257587
...
@@ -184,7 +184,7 @@ func (this *SuggestTodayService) ModifyTodayDetail(wcClient *core.Client) {
...
@@ -184,7 +184,7 @@ func (this *SuggestTodayService) ModifyTodayDetail(wcClient *core.Client) {
func
(
this
*
SuggestTodayService
)
ModifyTodayTbs
(
wcClient
*
core
.
Client
)
{
func
(
this
*
SuggestTodayService
)
ModifyTodayTbs
(
wcClient
*
core
.
Client
)
{
param
:=
new
(
vo
.
SuggestVO
)
param
:=
new
(
vo
.
SuggestVO
)
now
:=
time
.
Now
()
now
:=
time
.
Now
()
h12
,
_
:=
time
.
ParseDuration
(
"-
1
2h"
)
h12
,
_
:=
time
.
ParseDuration
(
"-
7
2h"
)
beginDate
:=
now
.
Add
(
h12
)
beginDate
:=
now
.
Add
(
h12
)
param
.
BeginDateStr
=
beginDate
.
Format
(
"2006-01-02 15:04:05"
)
param
.
BeginDateStr
=
beginDate
.
Format
(
"2006-01-02 15:04:05"
)
h12
,
_
=
time
.
ParseDuration
(
"24h"
)
h12
,
_
=
time
.
ParseDuration
(
"24h"
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录