Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
加钱居士.
foot
提交
bf91deef
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,发现更多精彩内容 >>
提交
bf91deef
编写于
4月 09, 2020
作者:
M
monomania
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1.xxx
上级
f7f9fac1
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
8 addition
and
6 deletion
+8
-6
FC002AnalyTest.go
FC002AnalyTest.go
+1
-1
conf/app.ini
conf/app.ini
+2
-2
foot-core/module/analy/service/AnalyService.go
foot-core/module/analy/service/AnalyService.go
+1
-1
foot-core/module/analy/service/C4Service.go
foot-core/module/analy/service/C4Service.go
+4
-2
未找到文件。
FC002AnalyTest.go
浏览文件 @
bf91deef
...
@@ -15,7 +15,7 @@ func main() {
...
@@ -15,7 +15,7 @@ func main() {
base
.
Log
.
Info
(
"---------------------------------------------------------------"
)
base
.
Log
.
Info
(
"---------------------------------------------------------------"
)
c1
:=
new
(
service
.
C4Service
)
c1
:=
new
(
service
.
C4Service
)
c1
.
MaxLetBall
=
5
c1
.
MaxLetBall
=
5
c1
.
Analy
Test
(
)
c1
.
Analy
(
false
)
base
.
Log
.
Info
(
"---------------------------------------------------------------"
)
base
.
Log
.
Info
(
"---------------------------------------------------------------"
)
base
.
Log
.
Info
(
"---------------E1模型--------------"
)
base
.
Log
.
Info
(
"---------------E1模型--------------"
)
base
.
Log
.
Info
(
"---------------------------------------------------------------"
)
base
.
Log
.
Info
(
"---------------------------------------------------------------"
)
...
...
conf/app.ini
浏览文件 @
bf91deef
[mysql]
[mysql]
url
=
root:Meta.123@tcp(mysql.io:3306)/foot?charset=utf8
#
url=root:Meta.123@tcp(mysql.io:3306)/foot?charset=utf8
#
url=root:awe.FOG5188@tcp(39.108.212.245:3306)/foot?charset=utf8
url
=
root:awe.FOG5188@tcp(39.108.212.245:3306)/foot?charset=utf8
maxIdle
=
10
maxIdle
=
10
maxConn
=
50
maxConn
=
50
[cookies]
[cookies]
...
...
foot-core/module/analy/service/AnalyService.go
浏览文件 @
bf91deef
...
@@ -205,7 +205,7 @@ func (this *AnalyService) ModifyAllResult() {
...
@@ -205,7 +205,7 @@ func (this *AnalyService) ModifyAllResult() {
SELECT
SELECT
ar.*
ar.*
FROM
FROM
foot.t_analy_result ar
WHERE ar.tovoid IS TRUE
foot.t_analy_result ar
`
`
//结果值
//结果值
entitys
:=
make
([]
*
entity5
.
AnalyResult
,
0
)
entitys
:=
make
([]
*
entity5
.
AnalyResult
,
0
)
...
...
foot-core/module/analy/service/C4Service.go
浏览文件 @
bf91deef
...
@@ -95,6 +95,10 @@ func (this *C4Service) analyStub(v *pojo.MatchLast) (int, *entity5.AnalyResult)
...
@@ -95,6 +95,10 @@ func (this *C4Service) analyStub(v *pojo.MatchLast) (int, *entity5.AnalyResult)
return
-
2
,
temp_data
return
-
2
,
temp_data
}
}
base
.
Log
.
Info
(
"比赛时间:"
,
matchDateStr
+
",对阵:"
+
v
.
GuestTeamId
,
",初盘让球:"
,
a18Bet
.
SLetBall
,
",即时盘让球:"
,
a18Bet
.
ELetBall
,
" ,比分:"
,
v
.
MainTeamGoals
,
":"
,
v
.
GuestTeamGoals
,
" ,半场比分:"
,
v
.
MainTeamHalfGoals
,
":"
,
v
.
GuestTeamHalfGoals
)
mainGoal
,
guestGoal
:=
0
,
0
mainGoal
,
guestGoal
:=
0
,
0
mainScore
,
guestScore
:=
0
,
0
mainScore
,
guestScore
:=
0
,
0
for
_
,
temp
:=
range
mainJinList
{
for
_
,
temp
:=
range
mainJinList
{
...
@@ -204,8 +208,6 @@ func (this *C4Service) analyStub(v *pojo.MatchLast) (int, *entity5.AnalyResult)
...
@@ -204,8 +208,6 @@ func (this *C4Service) analyStub(v *pojo.MatchLast) (int, *entity5.AnalyResult)
return
-
3
,
temp_data
return
-
3
,
temp_data
}
}
base
.
Log
.
Info
(
"比赛时间:"
,
matchDateStr
+
",对阵:"
+
v
.
GuestTeamId
,
",初盘让球:"
,
a18Bet
.
SLetBall
,
",即时盘让球:"
,
eLetBall
,
",球差:"
,
diffGoal
,
",分差:"
,
diffScore
,
" ,比分:"
,
v
.
MainTeamGoals
,
":"
,
v
.
GuestTeamGoals
,
" ,半场比分:"
,
v
.
MainTeamHalfGoals
,
":"
,
v
.
GuestTeamHalfGoals
)
if
len
(
temp_data
.
Id
)
>
0
{
if
len
(
temp_data
.
Id
)
>
0
{
temp_data
.
HitCount
=
temp_data
.
HitCount
+
1
temp_data
.
HitCount
=
temp_data
.
HitCount
+
1
//比赛结果
//比赛结果
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录