提交 04f36003 编写于 作者: M monomania

1.独立出更新亚赔,欧赔入口类

上级 bdf00538
......@@ -5,13 +5,35 @@ import (
"regexp"
"strings"
"tesou.io/platform/foot-parent/foot-api/module/match/pojo"
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
"tesou.io/platform/foot-parent/foot-core/module/match/service"
"tesou.io/platform/foot-parent/foot-spider/launch"
"tesou.io/platform/foot-parent/foot-spider/module/win007"
)
func init(){
//开启SQL输出
mysql.ShowSQL(true)
}
func main() {
launch.Spider(4)
Spider(0)
}
func Spider(matchLevel int) {
launch.Before_spider_match()
launch.Before_spider_asiaLast()
launch.Before_spider_euroLast()
launch.Before_spider_euroHis()
//执行抓取比赛数据
//执行抓取比赛欧赔数据
//执行抓取亚赔数据
//执行抓取欧赔历史
launch.Spider_match(matchLevel)
launch.Spider_asiaLast()
launch.Spider_euroLast()
launch.Spider_euroHis()
}
func test() {
......
package main
import (
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
"tesou.io/platform/foot-parent/foot-spider/launch"
)
func init(){
//开启SQL输出
mysql.ShowSQL(true)
}
func main() {
launch.Spider_asiaLast()
}
package main
import (
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
"tesou.io/platform/foot-parent/foot-spider/launch"
)
func init(){
//开启SQL输出
mysql.ShowSQL(true)
}
func main() {
launch.Spider_euroLast()
launch.Spider_euroHis()
}
package launch
func Spider(matchLevel int) {
Before_spider_match()
Before_spider_asiaLast()
Before_spider_euroLast()
Before_spider_euroHis()
//执行抓取比赛数据
//执行抓取比赛欧赔数据
//执行抓取亚赔数据
//执行抓取欧赔历史
Spider_match(matchLevel)
Spider_asiaLast()
Spider_euroLast()
Spider_euroHis()
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册