提交 9109eb8a 编写于 作者: S shi.zeyuan

1.增加实体类说明

上级 308347d1
[mysql]
url=root:Meta.123@tcp(localhost: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
maxIdle=10
maxConn=50
......
......@@ -5,6 +5,9 @@ import (
"time"
)
/**
分析结果表
*/
type AnalyResult struct {
//是否已经发布到雷速
LeisuPubd bool `xorm:"bool notnull comment('是否已经发布到雷速') index"`
......
......@@ -4,7 +4,9 @@ import (
"tesou.io/platform/foot-parent/foot-api/common/base/pojo"
)
//菠菜公司
/**
欧赔菠菜公司表
*/
//不管是从哪个平台抓取的数据,都使用win007的菠菜公司的ID数据
type Comp struct {
//名称
......
......@@ -4,7 +4,9 @@ import (
"tesou.io/platform/foot-parent/foot-api/common/base/pojo"
)
//联赛表
/**
联赛表
*/
//不管是从哪个平台抓取的数据,都使用win007的联赛的ID数据
type League struct {
//联赛名称
......
package pojo
/**
比赛历史数据表
*/
type MatchHis struct {
MatchLast `xorm:"extends"`
......
......@@ -5,6 +5,9 @@ import (
"time"
)
/**
比赛当前数据表
*/
//足球比赛信息
type MatchLast struct {
/**
......
package pojo
import "tesou.io/platform/foot-parent/foot-api/common/base/pojo"
/**
亚赔历史表
*/
type AsiaHis struct {
/**
初上下盘赔率
......
......@@ -3,7 +3,9 @@ package pojo
import (
"tesou.io/platform/foot-parent/foot-api/common/base/pojo"
)
/**
亚赔当前表
*/
type AsiaLast struct {
//博彩公司id
CompId string `xorm:"unique(CompId_MatchId)"`
......
......@@ -2,6 +2,9 @@ package pojo
import "tesou.io/platform/foot-parent/foot-api/common/base/pojo"
/**
欧赔历史表
*/
type EuroHis struct {
/**
初盘胜平负赔率
......
......@@ -3,7 +3,9 @@ package pojo
import (
"tesou.io/platform/foot-parent/foot-api/common/base/pojo"
)
/**
欧赔当前表
*/
type EuroLast struct {
//博彩公司id
CompId string `xorm:"unique(CompId_MatchId)"`
......
......@@ -9,7 +9,7 @@ import (
func Analy() {
//关闭SQL输出
mysql.ShowSQL(false)
mysql.ShowSQL(true)
base.Log.Info("---------------------------------------------------------------")
base.Log.Info("----------------Euro20191212Service-------------------")
base.Log.Info("---------------------------------------------------------------")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册