Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
加钱居士.
foot
提交
ff9ad4ef
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 搜索 >>
提交
ff9ad4ef
编写于
1月 20, 2020
作者:
S
shi.zeyuan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1.xxx
上级
d3d1dac0
变更
14
隐藏空白更改
内联
并排
Showing
14 changed file
with
49 addition
and
47 deletion
+49
-47
FOOT000Test.go
FOOT000Test.go
+1
-1
assets/common/template/analycontent/001.html
assets/common/template/analycontent/001.html
+2
-2
assets/common/template/analycontent/002.html
assets/common/template/analycontent/002.html
+1
-5
assets/common/template/analycontent/003.html
assets/common/template/analycontent/003.html
+2
-11
assets/common/template/analycontent/004.html
assets/common/template/analycontent/004.html
+11
-2
assets/common/template/analycontent/005.html
assets/common/template/analycontent/005.html
+4
-0
assets/common/template/analycontent/102.html
assets/common/template/analycontent/102.html
+1
-1
assets/common/template/analycontent/103.html
assets/common/template/analycontent/103.html
+1
-1
assets/common/template/analycontent/104.html
assets/common/template/analycontent/104.html
+1
-1
assets/common/template/analycontent/105.html
assets/common/template/analycontent/105.html
+1
-1
assets/common/template/analycontent/106.html
assets/common/template/analycontent/106.html
+1
-1
assets/common/template/analycontent/wechat_today_detail_new.html
...common/template/analycontent/wechat_today_detail_new.html
+1
-2
foot-core/module/suggest/service/SuggestService.go
foot-core/module/suggest/service/SuggestService.go
+21
-18
foot-core/module/wechat/service/SuggestTodayService.go
foot-core/module/wechat/service/SuggestTodayService.go
+1
-1
未找到文件。
FOOT000Test.go
浏览文件 @
ff9ad4ef
...
@@ -24,7 +24,7 @@ func Decimal(value float64) float64 {
...
@@ -24,7 +24,7 @@ func Decimal(value float64) float64 {
func
main
(){
func
main
(){
new
(
service
.
SuggestTodayService
)
.
ModifyTodayDetailNew
()
new
(
service
.
SuggestTodayService
)
.
ModifyTodayDetailNew
(
nil
)
}
}
//func main() {
//func main() {
...
...
assets/common/template/analycontent/001.html
浏览文件 @
ff9ad4ef
{{.MainTeam}}
{{.MainTeam}}
积{{.BFSMainZong.Score}}分,
积{{.BFSMainZong.Score}}分,
现居排行榜{{.BFSMainZong.Ranking}}名,
居排行榜{{.BFSMainZong.Ranking}}名.
{{.GuestTeam}}
{{.GuestTeam}}
积{{.BFSGuestZong.Score}}分,
积{{.BFSGuestZong.Score}}分,
现居排行榜{{.BFSGuestZong.Ranking}}名,
居排行榜{{.BFSGuestZong.Ranking}}名.
assets/common/template/analycontent/002.html
浏览文件 @
ff9ad4ef
近期两队对战{{.BattleCount}}场,
近期两队对战{{.BattleCount}}场,
主队取得{{.BattleMainWinCount}}胜,
主队{{.BattleMainWinCount}}胜,{{.BattleDrawCount}}平.{{.BattleGuestWinCount}}负.
客队取得{{.BattleGuestWinCount}}胜.
平{{.BattleDrawCount}}场.
assets/common/template/analycontent/003.html
浏览文件 @
ff9ad4ef
{{if eq .MainTeam .MainNextMainTeam }}
{{.MainTeam}}近{{.BFSMainJin.MatchCount}}场,取得{{.BFSMainJin.WinCount}}胜,{{.BFSMainJin.DrawCount}}平,{{.BFSMainJin.FailCount}}负.
下场赛事,主队继续坐阵主场,具备有一定的心理优势.
{{.GuestTeam}}近{{.BFSGuestJin.MatchCount}}场,取得{{.BFSGuestJin.WinCount}}胜,{{.BFSGuestJin.DrawCount}}平,{{.BFSGuestJin.FailCount}}负.
{{else}}
下场赛事,主队转圜客场,本场不容有失.
{{end}}
{{if eq .GuestTeam .GuestNextMainTeam }}
下场赛事,客队转回主场作战.
{{else}}
下场赛事,客队继续转圜其他客场,不免受行程疲惫影响.
{{end}}
\ No newline at end of file
assets/common/template/analycontent/004.html
浏览文件 @
ff9ad4ef
个人心得,结合基本面,亚欧盘.
{{if eq .MainTeam .MainNextMainTeam }}
推算出自认为本次比赛合理的让球应为:{{.MyLetBall}}.
下场赛事,主队继续坐阵主场,具备有一定的心理优势.
\ No newline at end of file
{{else}}
下场赛事,主队转圜客场,本场不容有失.
{{end}}
{{if eq .GuestTeam .GuestNextMainTeam }}
下场赛事,客队转回主场作战.
{{else}}
下场赛事,客队继续转圜其他客场,不免受行程疲惫影响.
{{end}}
\ No newline at end of file
assets/common/template/analycontent/005.html
0 → 100644
浏览文件 @
ff9ad4ef
个人心得,结合基本面,亚欧盘.
{{if eq .AlFlag "C1"}}
推算出自认为本次比赛合理的让球应为:{{.MyLetBall}}.
{{end}}
\ No newline at end of file
assets/common/template/analycontent/102.html
浏览文件 @
ff9ad4ef
{{ template "001.html" . }}
{{ template "001.html" . }}
{{ template "00
3
.html" . }}
{{ template "00
4
.html" . }}
{{ template "footer.html" . }}
{{ template "footer.html" . }}
...
...
assets/common/template/analycontent/103.html
浏览文件 @
ff9ad4ef
{{ template "001.html" . }}
{{ template "001.html" . }}
{{ template "00
4
.html" . }}
{{ template "00
5
.html" . }}
{{ template "footer.html" . }}
{{ template "footer.html" . }}
...
...
assets/common/template/analycontent/104.html
浏览文件 @
ff9ad4ef
{{ template "002.html" . }}
{{ template "002.html" . }}
{{ template "00
3
.html" . }}
{{ template "00
4
.html" . }}
{{ template "footer.html" . }}
{{ template "footer.html" . }}
...
...
assets/common/template/analycontent/105.html
浏览文件 @
ff9ad4ef
{{ template "002.html" . }}
{{ template "002.html" . }}
{{ template "00
4
.html" . }}
{{ template "00
5
.html" . }}
{{ template "footer.html" . }}
{{ template "footer.html" . }}
...
...
assets/common/template/analycontent/106.html
浏览文件 @
ff9ad4ef
{{ template "003.html" . }}
{{ template "004.html" . }}
{{ template "004.html" . }}
{{ template "005.html" . }}
{{ template "footer.html" . }}
{{ template "footer.html" . }}
...
...
assets/common/template/analycontent/wechat_today_detail_new.html
浏览文件 @
ff9ad4ef
{{ template "001.html" . }}
{{ template "001.html" . }}
{{ template "002.html" . }}
{{ template "002.html" . }}
{{ template "003.html" . }}
{{ template "005.html" . }}
{{ template "004.html" . }}
{{ template "footer.html" . }}
{{ template "footer.html" . }}
...
...
foot-core/module/suggest/service/SuggestService.go
浏览文件 @
ff9ad4ef
...
@@ -195,30 +195,33 @@ WHERE mh.LeagueId = l.Id
...
@@ -195,30 +195,33 @@ WHERE mh.LeagueId = l.Id
}
}
//过往战绩
//过往战绩
bfbList
:=
this
.
BFBattleService
.
FindByMatchId
(
matchId
)
bfbList
:=
this
.
BFBattleService
.
FindByMatchId
(
matchId
)
battleCount
:=
0
mainWin
:=
0
mainWin
:=
0
draw
:=
0
draw
Count
:=
0
guestWin
:=
0
guestWin
:=
0
for
_
,
e
:=
range
bfbList
{
for
_
,
e
:=
range
bfbList
{
if
e
.
BattleMainTeamGoals
==
e
.
BattleGuestTeamGoals
{
if
e
.
BattleMainTeamId
==
v
.
MainTeam
||
e
.
BattleMainTeamId
==
v
.
GuestTeam
{
draw
++
battleCount
++
}
else
{
}
if
e
.
BattleMainTeamId
==
v
.
MainTeam
&&
e
.
BattleMainTeamGoals
>
e
.
BattleGuestTeamGoals
{
if
e
.
BattleMainTeamId
==
v
.
MainTeam
&&
e
.
BattleMainTeamGoals
>
e
.
BattleGuestTeamGoals
{
mainWin
++
mainWin
++
}
}
if
e
.
BattleGuestTeamId
==
v
.
MainTeam
&&
e
.
BattleGuestTeamGoals
>
e
.
BattleMainTeamGoals
{
if
e
.
BattleGuestTeamId
==
v
.
MainTeam
&&
e
.
BattleGuestTeamGoals
>
e
.
BattleMainTeamGoals
{
mainWin
++
mainWin
++
}
}
if
e
.
BattleMainTeamId
==
v
.
GuestTeam
&&
e
.
BattleMainTeamGoals
>
e
.
BattleGuestTeamGoals
{
if
e
.
BattleMainTeamId
==
v
.
GuestTeam
&&
e
.
BattleMainTeamGoals
>
e
.
BattleGuestTeamGoals
{
guestWin
++
guestWin
++
}
}
if
e
.
BattleGuestTeamId
==
v
.
GuestTeam
&&
e
.
BattleGuestTeamGoals
>
e
.
BattleMainTeamGoals
{
if
e
.
BattleGuestTeamId
==
v
.
GuestTeam
&&
e
.
BattleGuestTeamGoals
>
e
.
BattleMainTeamGoals
{
guestWin
++
guestWin
++
}
}
if
(
e
.
BattleMainTeamId
==
v
.
MainTeam
||
e
.
BattleMainTeamId
==
v
.
GuestTeam
)
&&
e
.
BattleMainTeamGoals
==
e
.
BattleGuestTeamGoals
{
drawCount
++
}
}
}
}
v
.
BattleCount
=
len
(
bfbList
)
v
.
BattleCount
=
battleCount
v
.
BattleMainWinCount
=
mainWin
v
.
BattleMainWinCount
=
mainWin
v
.
BattleDrawCount
=
draw
v
.
BattleDrawCount
=
draw
Count
v
.
BattleGuestWinCount
=
guestWin
v
.
BattleGuestWinCount
=
guestWin
//未来赛事
//未来赛事
bffe_main
:=
this
.
BFFutureEventService
.
FindNextBattle
(
matchId
,
v
.
MainTeam
)
bffe_main
:=
this
.
BFFutureEventService
.
FindNextBattle
(
matchId
,
v
.
MainTeam
)
...
...
foot-core/module/wechat/service/SuggestTodayService.go
浏览文件 @
ff9ad4ef
...
@@ -262,8 +262,8 @@ func (this *SuggestTodayService) ModifyTodayDetailNew(wcClient *core.Client) {
...
@@ -262,8 +262,8 @@ func (this *SuggestTodayService) ModifyTodayDetailNew(wcClient *core.Client) {
"assets/wechat/html/today_detail_new.html"
,
"assets/wechat/html/today_detail_new.html"
,
"assets/common/template/analycontent/001.html"
,
"assets/common/template/analycontent/001.html"
,
"assets/common/template/analycontent/002.html"
,
"assets/common/template/analycontent/002.html"
,
"assets/common/template/analycontent/003.html"
,
"assets/common/template/analycontent/004.html"
,
"assets/common/template/analycontent/004.html"
,
"assets/common/template/analycontent/005.html"
,
"assets/common/template/analycontent/footer.html"
,
"assets/common/template/analycontent/footer.html"
,
"assets/common/template/analycontent/wechat_today_detail_new.html"
,
"assets/common/template/analycontent/wechat_today_detail_new.html"
,
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录