FC002AnalyTest.go 908 字节
Newer Older
M
1.xxxx  
monomania 已提交
1 2 3 4 5 6 7 8 9
package main

import (
	"tesou.io/platform/foot-parent/foot-api/common/base"
	"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
	"tesou.io/platform/foot-parent/foot-core/module/analy/service"
)

func main() {
M
1.xxx  
monomania 已提交
10

M
1.xxxx  
monomania 已提交
11
	//关闭SQL输出
S
shi.zeyuan 已提交
12
	mysql.ShowSQL(false)
M
1.xxxx  
monomania 已提交
13 14 15
	base.Log.Info("---------------------------------------------------------------")
	base.Log.Info("---------------C1模型--------------")
	base.Log.Info("---------------------------------------------------------------")
M
monomania 已提交
16
	c1 := new(service.C3Service)
17
	c1.MaxLetBall = 1
M
monomania 已提交
18
	c1.AnalyTest()
M
1.xxx  
monomania 已提交
19 20 21
	base.Log.Info("---------------------------------------------------------------")
	base.Log.Info("---------------E1模型--------------")
	base.Log.Info("---------------------------------------------------------------")
22
	e1 := new(service.C1Service)
M
1.xxx  
monomania 已提交
23 24
	e1.MaxLetBall = 1
	e1.PrintOddData = true
25
	//e1.Analy(true)
M
1.xxxx  
monomania 已提交
26 27 28 29
	//关闭SQL输出
	mysql.ShowSQL(true)
}