提交 bf91deef 编写于 作者: M monomania

1.xxx

上级 f7f9fac1
...@@ -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.AnalyTest() c1.Analy(false)
base.Log.Info("---------------------------------------------------------------") base.Log.Info("---------------------------------------------------------------")
base.Log.Info("---------------E1模型--------------") base.Log.Info("---------------E1模型--------------")
base.Log.Info("---------------------------------------------------------------") base.Log.Info("---------------------------------------------------------------")
......
[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]
......
...@@ -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)
......
...@@ -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.
先完成此消息的编辑!
想要评论请 注册