Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
加钱居士.
foot
提交
b1f8f465
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,体验更适合开发者的 AI 搜索 >>
提交
b1f8f465
编写于
12月 26, 2019
作者:
S
shi.zeyuan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1.不删除分析出的比赛
上级
e2dd8ad4
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
27 addition
and
32 deletion
+27
-32
assets/wechat/html/month.html
assets/wechat/html/month.html
+1
-4
assets/wechat/html/today.html
assets/wechat/html/today.html
+1
-4
assets/wechat/html/today_detail.html
assets/wechat/html/today_detail.html
+2
-1
assets/wechat/html/today_tbs.html
assets/wechat/html/today_tbs.html
+1
-4
assets/wechat/html/week.html
assets/wechat/html/week.html
+1
-4
assets/wechat/使用说明.md
assets/wechat/使用说明.md
+4
-0
foot-core/module/analy/service/AnalyService.go
foot-core/module/analy/service/AnalyService.go
+2
-0
foot-core/module/analy/service/Asia20191206Service.go
foot-core/module/analy/service/Asia20191206Service.go
+3
-3
foot-core/module/analy/service/Euro20191206Service.go
foot-core/module/analy/service/Euro20191206Service.go
+3
-3
foot-core/module/analy/service/Euro20191212Service.go
foot-core/module/analy/service/Euro20191212Service.go
+3
-3
foot-core/module/analy/service/Euro20191226Service.go
foot-core/module/analy/service/Euro20191226Service.go
+3
-3
foot-core/module/suggest/service/SuggestService.go
foot-core/module/suggest/service/SuggestService.go
+1
-1
foot-core/module/wechat/service/SuggestTodayService.go
foot-core/module/wechat/service/SuggestTodayService.go
+2
-2
未找到文件。
assets/wechat/html/month.html
浏览文件 @
b1f8f465
...
...
@@ -40,10 +40,7 @@
style=
"background-color: orange"
{{
end
}}
>
<strong>
{{preResultStr .PreResult}}
</strong>
{{alFlagStr .AlFlag}}
{{preResultStr .PreResult}}({{alFlagStr .AlFlag}})
</td>
</tr>
...
...
assets/wechat/html/today.html
浏览文件 @
b1f8f465
...
...
@@ -45,10 +45,7 @@
style=
"background-color: orange"
{{
end
}}
>
<strong>
{{preResultStr .PreResult}}
</strong>
{{alFlagStr .AlFlag}}
{{preResultStr .PreResult}}({{alFlagStr .AlFlag}})
</td>
</tr>
...
...
assets/wechat/html/today_detail.html
浏览文件 @
b1f8f465
...
...
@@ -11,7 +11,8 @@
<li>
联 赛:{{.LeagueName}}
</li>
<li>
对阵双方:{{.MainTeam}}({{.LetBall}}){{.GuestTeam}}
</li>
<li>
球探指数:{{.HitCount}}
</li>
<li>
分 析:
<span
style=
"color: red;font-weight: bold;font-size: 12px"
>
tips:内容开发中....
</span></li>
<li>
推荐选项:
<span
style=
"color: red;font-weight: bold;"
>
{{preResultStr .PreResult}}
</span></li>
<li>
分 析:
<span
style=
"color: red;font-weight: bold;font-size: 12px"
>
内容开发中....
</span></li>
</ul>
<hr/>
{{end}}
...
...
assets/wechat/html/today_tbs.html
浏览文件 @
b1f8f465
...
...
@@ -36,10 +36,7 @@
{{.MainTeamGoal}}:{{.GuestTeamGoal}}
</td>
<td>
<strong>
{{preResultStr .PreResult}}
</strong>
{{alFlagStr .AlFlag}}
{{preResultStr .PreResult}}({{alFlagStr .AlFlag}})
</td>
<td
style=
"color: red"
>
<strong>
{{.HitCount}}
</strong>
...
...
assets/wechat/html/week.html
浏览文件 @
b1f8f465
...
...
@@ -40,10 +40,7 @@
style=
"background-color: orange"
{{
end
}}
>
<strong>
{{preResultStr .PreResult}}
</strong>
{{alFlagStr .AlFlag}}
{{preResultStr .PreResult}}({{alFlagStr .AlFlag}})
</td>
</tr>
...
...
assets/wechat/使用说明.md
浏览文件 @
b1f8f465
...
...
@@ -44,6 +44,10 @@
>> 主队盘口打出
*
客
>> 客队盘口打出
*
上盘
>> 让球方盘口打出
*
下盘
>> 受让球方盘口打出
## 模型说明
*
A1模型
...
...
foot-core/module/analy/service/AnalyService.go
浏览文件 @
b1f8f465
...
...
@@ -156,6 +156,8 @@ WHERE ml.LeagueId = l.Id
}
if
hitCount
>
0
{
sql_build
+=
" AND ar.HitCount >= "
+
strconv
.
Itoa
(
hitCount
)
}
else
{
sql_build
+=
" AND ar.HitCount > 0 "
}
if
option
>=
0
{
sql_build
+=
" AND ar.PreResult = "
+
strconv
.
Itoa
(
option
)
+
" "
...
...
foot-core/module/analy/service/Asia20191206Service.go
浏览文件 @
b1f8f465
...
...
@@ -53,10 +53,10 @@ func (this *Asia20191206Service) Analy() {
hit_count
,
_
:=
strconv
.
Atoi
(
hit_count_str
)
if
temp_data
.
HitCount
>=
hit_count
{
temp_data
.
HitCount
=
(
hit_count
/
2
)
-
1
this
.
AnalyService
.
Modify
(
temp_data
)
continue
}
else
{
temp_data
.
HitCount
=
0
}
this
.
AnalyService
.
Del
(
temp_data
)
this
.
AnalyService
.
Modify
(
temp_data
)
}
}
}
...
...
foot-core/module/analy/service/Euro20191206Service.go
浏览文件 @
b1f8f465
...
...
@@ -48,10 +48,10 @@ func (this *Euro20191206Service) Analy() {
hit_count
,
_
:=
strconv
.
Atoi
(
hit_count_str
)
if
temp_data
.
HitCount
>=
hit_count
{
temp_data
.
HitCount
=
(
hit_count
/
2
)
-
1
this
.
AnalyService
.
Modify
(
temp_data
)
continue
}
else
{
temp_data
.
HitCount
=
0
}
this
.
AnalyService
.
Del
(
temp_data
)
this
.
AnalyService
.
Modify
(
temp_data
)
}
}
}
...
...
foot-core/module/analy/service/Euro20191212Service.go
浏览文件 @
b1f8f465
...
...
@@ -48,10 +48,10 @@ func (this *Euro20191212Service) Analy() {
hit_count
,
_
:=
strconv
.
Atoi
(
hit_count_str
)
if
temp_data
.
HitCount
>=
hit_count
{
temp_data
.
HitCount
=
(
hit_count
/
2
)
-
1
this
.
AnalyService
.
Modify
(
temp_data
)
continue
}
else
{
temp_data
.
HitCount
=
0
}
this
.
AnalyService
.
Del
(
temp_data
)
this
.
AnalyService
.
Modify
(
temp_data
)
}
}
}
...
...
foot-core/module/analy/service/Euro20191226Service.go
浏览文件 @
b1f8f465
...
...
@@ -48,10 +48,10 @@ func (this *Euro20191226Service) Analy() {
hit_count
,
_
:=
strconv
.
Atoi
(
hit_count_str
)
if
temp_data
.
HitCount
>=
hit_count
{
temp_data
.
HitCount
=
(
hit_count
/
2
)
-
1
this
.
AnalyService
.
Modify
(
temp_data
)
continue
}
else
{
temp_data
.
HitCount
=
0
}
this
.
AnalyService
.
Del
(
temp_data
)
this
.
AnalyService
.
Modify
(
temp_data
)
}
}
}
...
...
foot-core/module/suggest/service/SuggestService.go
浏览文件 @
b1f8f465
...
...
@@ -75,7 +75,7 @@ FROM
foot.t_match_his mh,
foot.t_analy_result ar
WHERE mh.LeagueId = l.Id
AND mh.Id = ar.MatchId
AND mh.Id = ar.MatchId
`
if
param
.
HitCount
>
0
{
sql
+=
" AND ar.HitCount >= THitCount AND ar.HitCount >= '"
+
strconv
.
Itoa
(
param
.
HitCount
)
+
"' "
...
...
foot-core/module/wechat/service/SuggestTodayService.go
浏览文件 @
b1f8f465
...
...
@@ -24,11 +24,11 @@ type SuggestTodayService struct {
func
preResultStr
(
val
int
)
string
{
if
3
==
val
{
return
"主"
return
"主
不败
"
}
else
if
1
==
val
{
return
"平"
}
else
if
0
==
val
{
return
"客"
return
"客
不败
"
}
return
"-"
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录