text stringlengths 24 1.04M | metadata stringlengths 233 497 |
|---|---|
### File: foot-api/module/odds/pojo/EuroLast.go
package pojo
import (
"tesou.io/platform/foot-parent/foot-api/common/base/pojo"
)
/**
欧赔当前表,仅初盘,即时盘
*/
type EuroLast struct {
//博彩公司id
CompId int `xorm:"unique(CompId_MatchId)"`
CompName string `xorm:"varchar(50)"`
//比赛id
MatchId string `xorm:"unique(CompId_MatchId... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-api/module/odds/pojo/EuroLast.go", "license": "mit", "size": 925} |
### File: foot-api/module/odds/pojo/EuroTrack.go
package pojo
import "tesou.io/platform/foot-parent/foot-api/common/base/pojo"
/**
欧赔历史,变化过程表
*/
type EuroTrack struct {
/**
初盘胜平负赔率
*/
Sp3 float64
Sp1 float64
Sp0 float64
//博彩公司id
CompId int `xorm:"unique(CompId_MatchId_OddDate_Num)"`
//比赛id
MatchId string ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-api/module/odds/pojo/EuroTrack.go", "license": "mit", "size": 663} |
### File: foot-api/module/odds/pojo/OverUnderHis.go
package pojo
type OverUnderHis struct {
OverUnderLast `xorm:"extends"`
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-api/module/odds/pojo/OverUnderHis.go", "license": "mit", "size": 75} |
### File: foot-api/module/odds/pojo/OverUnderLast.go
package pojo
import "tesou.io/platform/foot-parent/foot-api/common/base/pojo"
type OverUnderLast struct {
Num int `xorm: comment('Num') index`
//博彩公司id
CompId int `xorm:"unique(CompId_MatchId)"`
CompName string `xorm:"varchar(50) index"`
//比赛id
MatchId str... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-api/module/odds/pojo/OverUnderLast.go", "license": "mit", "size": 826} |
### File: foot-api/module/odds/pojo/OverUnderTrack.go
package pojo
import "tesou.io/platform/foot-parent/foot-api/common/base/pojo"
type OverUnderTrack struct {
//博彩公司id
CompId int `xorm:"unique(CompId_MatchId_OddDate_Num) "`
//比赛id
MatchId string `xorm:"unique(CompId_MatchId_OddDate_Num) varchar(20)"`
//数据时间
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-api/module/odds/pojo/OverUnderTrack.go", "license": "mit", "size": 573} |
### File: foot-api/module/suggest/enums/PubSource.go
package enums
/**
*来源
*/
type PubSourceLevel int
var SourceMap = map[PubSourceLevel]string{LEISU: "雷速", WECHAT_PUBLIC: "微信公众号", SELF_MEDIA: "自媒体"}
const (
/**
* 雷速
*/
LEISU PubSourceLevel = iota
WECHAT_PUBLIC
SELF_MEDIA
)
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-api/module/suggest/enums/PubSource.go", "license": "mit", "size": 261} |
### File: foot-api/module/suggest/pojo/Pub.go
package pojo
import (
"tesou.io/platform/foot-parent/foot-api/common/base/pojo"
"tesou.io/platform/foot-parent/foot-api/module/suggest/enums"
)
/**
发布记录
*/
type Pub struct {
//发布源类型
Source enums.PubSourceLevel
//发布的帐号
Account string
//发布的赛事ID
MatchId string
//发布... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-api/module/suggest/pojo/Pub.go", "license": "mit", "size": 384} |
### File: foot-api/module/suggest/pojo/SuggStub.go
package pojo
import (
pojo2 "tesou.io/platform/foot-parent/foot-api/module/analy/pojo"
)
/**
发布记录
*/
type SuggStub struct {
pojo2.AnalyResult `xorm:"extends"`
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-api/module/suggest/pojo/SuggStub.go", "license": "mit", "size": 177} |
### File: foot-api/module/suggest/vo/SuggStubVO.go
package vo
import (
"tesou.io/platform/foot-parent/foot-api/module/suggest/pojo"
)
type SuggStubVO struct {
//比赛时间
MatchDateStr string
//联赛
LeagueId string
LeagueName string
//主队
MainTeam string
//客队
GuestTeam string
//主队进球
MainTeamGoal string
//客队进球
Gu... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-api/module/suggest/vo/SuggStubVO.go", "license": "mit", "size": 519} |
### File: foot-api/module/suggest/vo/SuggestDetailVO.go
package vo
import (
pojo3 "tesou.io/platform/foot-parent/foot-api/module/match/pojo"
pojo2 "tesou.io/platform/foot-parent/foot-api/module/odds/pojo"
"tesou.io/platform/foot-parent/foot-api/module/suggest/pojo"
)
type SuggStubDetailVO struct {
MatchDateStr st... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-api/module/suggest/vo/SuggestDetailVO.go", "license": "mit", "size": 1147} |
### File: foot-api/module/suggest/vo/TBaseVO.go
package vo
type TBaseVO struct {
//全量数据爬取时间
FullSpiderDateStr string
//数据爬取时间
SpiderDateStr string
//数据时间
DataDateStr string
//开始时间
BeginDateStr string
//结束时间
EndDateStr string
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-api/module/suggest/vo/TBaseVO.go", "license": "mit", "size": 242} |
### File: foot-api/module/suggest/vo/TMonthVO.go
package vo
type TMonthVO struct {
//引入父级属性
TWeekVO
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-api/module/suggest/vo/TMonthVO.go", "license": "mit", "size": 68} |
### File: foot-api/module/suggest/vo/TTodayDetailVO.go
package vo
type TTodayDetailVO struct {
//引入父级属性
TBaseVO
DataList []SuggStubDetailVO
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-api/module/suggest/vo/TTodayDetailVO.go", "license": "mit", "size": 105} |
### File: foot-api/module/suggest/vo/TTodayVO.go
package vo
type TTodayVO struct {
//引入父级属性
TBaseVO
//总场次
MatchCount int64
//红
RedCount int64
//走
WalkCount int64
//黑
BlackCount int64
//最长连红
LinkRedCount int64
//最长连黑
LinkBlackCount int64
//胜率
Val string
MainAlflag string
//红
MainRedCount int64
//黑... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-api/module/suggest/vo/TTodayVO.go", "license": "mit", "size": 394} |
### File: foot-api/module/suggest/vo/TWeekVO.go
package vo
type TWeekVO struct {
//引入父级属性
TBaseVO
//总场次
MatchCount int64
//红
RedCount int64
//走
WalkCount int64
//黑
BlackCount int64
//最长连红
LinkRedCount int64
//最长连黑
LinkBlackCount int64
//胜率
Val string
MainAlflag string
//红
MainRedCount int64
//黑
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-api/module/suggest/vo/TWeekVO.go", "license": "mit", "size": 393} |
### File: foot-core/common/base/controller/BaseController.go
package controller
import (
"github.com/astaxie/beego"
"strconv"
"tesou.io/platform/foot-parent/foot-api/common/base/pojo"
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
)
type BaseController struct {
beego.Controller
mysql.BaseSe... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/common/base/controller/BaseController.go", "license": "mit", "size": 1074} |
### File: foot-core/common/base/service/mysql/BaseService.go
package mysql
import (
"container/list"
_ "github.com/go-sql-driver/mysql"
"github.com/go-xorm/core"
"github.com/go-xorm/xorm"
"gopkg.in/mgo.v2/bson"
"reflect"
"strconv"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-pa... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/common/base/service/mysql/BaseService.go", "license": "mit", "size": 7085} |
### File: foot-core/common/base/service/mysql/DBOpsService.go
package mysql
import (
"encoding/json"
"tesou.io/platform/foot-parent/foot-api/common/base"
entity4 "tesou.io/platform/foot-parent/foot-api/module/analy/pojo"
entity3 "tesou.io/platform/foot-parent/foot-api/module/elem/pojo"
entity1 "tesou.io/platform/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/common/base/service/mysql/DBOpsService.go", "license": "mit", "size": 2262} |
### File: foot-core/common/fliters/MyFilter.go
package fliters
import (
"github.com/astaxie/beego"
"github.com/astaxie/beego/context"
"tesou.io/platform/foot-parent/foot-api/common/base"
)
func init() {
beego.InsertFilter("*", beego.BeforeStatic, BeforeStatic, false)
beego.InsertFilter("*", beego.BeforeRouter, B... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/common/fliters/MyFilter.go", "license": "mit", "size": 1291} |
### File: foot-core/common/routers/MyRouter.go
package routers
import (
"github.com/astaxie/beego"
"tesou.io/platform/foot-parent/foot-core/module/index/controller"
controller2 "tesou.io/platform/foot-parent/foot-core/module/match/controller"
controller3 "tesou.io/platform/foot-parent/foot-core/module/wechat/contr... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/common/routers/MyRouter.go", "license": "mit", "size": 644} |
### File: foot-core/common/utils/IOUtil.go
package utils
import (
"bufio"
"io"
"io/ioutil"
"tesou.io/platform/foot-parent/foot-api/common/base"
"os"
"time"
)
// 一次性读取
func ReadAll(filePth string) ([]byte, error) {
f, err := os.Open(filePth)
if err != nil {
return nil, err
}
defer f.Close()
/*
ReadAl... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/common/utils/IOUtil.go", "license": "mit", "size": 2769} |
### File: foot-core/common/utils/IniUtil.go
package utils
import (
"gopkg.in/ini.v1"
"tesou.io/platform/foot-parent/foot-api/common/base"
)
var (
//配置信息
iniFile *ini.File
)
func init() {
file, e := ini.Load("conf/app.ini")
if e != nil {
base.Log.Info("Fail to load conf/app.ini" + e.Error())
return
}
iniF... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/common/utils/IniUtil.go", "license": "mit", "size": 1070} |
### File: foot-core/common/utils/MyUtil.go
package utils
import (
"runtime"
"strings"
"time"
)
/**
获取当前的函数名称
*/
func RunFuncName() string {
pc := make([]uintptr, 1)
runtime.Callers(2, pc)
f := runtime.FuncForPC(pc[0])
funcName := f.Name()
funcName = funcName[strings.LastIndex(funcName, ".")+1:]
return funcNa... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/common/utils/MyUtil.go", "license": "mit", "size": 555} |
### File: foot-core/launch/FC100PortalApplication.go
package launch
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/launch/FC100PortalApplication.go", "license": "mit", "size": 16} |
### File: foot-core/launch/FC101DBInitApplication.go
package launch
import (
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
)
func TruncateTable() {
//开启SQL输出
opsService := new(mysql.DBOpsService)
//指定需要清空的数据表
opsService.TruncateTable([]string{"t_match_last", "t_asia_last", "t_euro_last"})... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/launch/FC101DBInitApplication.go", "license": "mit", "size": 418} |
### File: foot-core/launch/FC200AnalyApplication.go
package launch
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"
)
var (
maxLetBall = 1.0
showSql = false
printOddD... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/launch/FC200AnalyApplication.go", "license": "mit", "size": 2746} |
### File: foot-core/module/analy/constants/Constant.go
package constants
const (
SECTION_NAME = "analy"
/**
默认参考有亚赔公司-- many,多数,Bet365,澳门,18Bet
*/
DEFAULT_REFER_ASIA = "many"
/**
C1算法,参考的亚赔公司-- Bet365,澳门,18Bet,10BET,12bet
*/
C1_REFER_ASIA = "18Bet"
)
const (
//胜
WIN = 3
//平
DRAW = 1
//负
LOST = 0
//... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/analy/constants/Constant.go", "license": "mit", "size": 484} |
### File: foot-core/module/analy/service/A1Service.go
package service
import (
"math"
entity5 "tesou.io/platform/foot-parent/foot-api/module/analy/pojo"
"tesou.io/platform/foot-parent/foot-api/module/match/pojo"
entity3 "tesou.io/platform/foot-parent/foot-api/module/odds/pojo"
"tesou.io/platform/foot-parent/foot-... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/analy/service/A1Service.go", "license": "mit", "size": 3436} |
### File: foot-core/module/analy/service/A2Service.go
package service
import (
"math"
"tesou.io/platform/foot-parent/foot-api/common/base"
entity5 "tesou.io/platform/foot-parent/foot-api/module/analy/pojo"
"tesou.io/platform/foot-parent/foot-api/module/match/pojo"
entity3 "tesou.io/platform/foot-parent/foot-api/m... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/analy/service/A2Service.go", "license": "mit", "size": 3466} |
### File: foot-core/module/analy/service/A3Service.go
package service
import (
"math"
"tesou.io/platform/foot-parent/foot-api/common/base"
entity5 "tesou.io/platform/foot-parent/foot-api/module/analy/pojo"
"tesou.io/platform/foot-parent/foot-api/module/match/pojo"
entity3 "tesou.io/platform/foot-parent/foot-api/m... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/analy/service/A3Service.go", "license": "mit", "size": 4966} |
### File: foot-core/module/analy/service/AnalyService.go
package service
import (
"fmt"
"math"
"strconv"
"strings"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-api/common/base/pojo"
entity5 "tesou.io/platform/foot-parent/foot-api/module/analy/pojo"
"tesou.io/platform... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/analy/service/AnalyService.go", "license": "mit", "size": 16192} |
### File: foot-core/module/analy/service/E1Service.go
package service
import (
"math"
entity5 "tesou.io/platform/foot-parent/foot-api/module/analy/pojo"
"tesou.io/platform/foot-parent/foot-api/module/match/pojo"
entity3 "tesou.io/platform/foot-parent/foot-api/module/odds/pojo"
"tesou.io/platform/foot-parent/foot-... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/analy/service/E1Service.go", "license": "mit", "size": 3584} |
### File: foot-core/module/analy/service/E2Service.go
package service
import (
"math"
entity5 "tesou.io/platform/foot-parent/foot-api/module/analy/pojo"
"tesou.io/platform/foot-parent/foot-api/module/match/pojo"
entity3 "tesou.io/platform/foot-parent/foot-api/module/odds/pojo"
"tesou.io/platform/foot-parent/foot-... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/analy/service/E2Service.go", "license": "mit", "size": 3140} |
### File: foot-core/module/analy/service/E3Service.go
package service
import (
"math"
entity5 "tesou.io/platform/foot-parent/foot-api/module/analy/pojo"
"tesou.io/platform/foot-parent/foot-api/module/match/pojo"
entity3 "tesou.io/platform/foot-parent/foot-api/module/odds/pojo"
"tesou.io/platform/foot-parent/foot-... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/analy/service/E3Service.go", "license": "mit", "size": 3460} |
### File: foot-core/module/analy/service/Q1Service.go
package service
import (
"math"
entity5 "tesou.io/platform/foot-parent/foot-api/module/analy/pojo"
"tesou.io/platform/foot-parent/foot-api/module/match/pojo"
entity3 "tesou.io/platform/foot-parent/foot-api/module/odds/pojo"
"tesou.io/platform/foot-parent/foot-... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/analy/service/Q1Service.go", "license": "mit", "size": 2911} |
### File: foot-core/module/core/service/ConfService.go
package service
import (
"strconv"
"tesou.io/platform/foot-parent/foot-core/common/utils"
)
/**
获取配置信息
*/
type ConfService struct {
}
func (this *ConfService) GetSpiderCycleTime() int64 {
var result int64
temp_val := utils.GetVal("spider", "cycle_time")
if... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/core/service/ConfService.go", "license": "mit", "size": 405} |
### File: foot-core/module/elem/service/CompService.go
package service
import (
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-api/module/elem/pojo"
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
)
//菠菜公司
type CompService struct {
mysql.BaseService
}
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/elem/service/CompService.go", "license": "mit", "size": 793} |
### File: foot-core/module/elem/service/LeagueSeasonService.go
package service
import (
"strings"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-api/module/elem/pojo"
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
)
//联赛表
type LeagueSeasonService stru... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/elem/service/LeagueSeasonService.go", "license": "mit", "size": 1453} |
### File: foot-core/module/elem/service/LeagueService.go
package service
import (
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-api/module/elem/pojo"
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
)
//联赛表
type LeagueService struct {
mysql.BaseService... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/elem/service/LeagueService.go", "license": "mit", "size": 1144} |
### File: foot-core/module/elem/service/LeagueSubService.go
package service
import (
"strings"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-api/module/elem/pojo"
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
)
//联赛表
type LeagueSubService struct {
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/elem/service/LeagueSubService.go", "license": "mit", "size": 1073} |
### File: foot-core/module/elem/service/TeamService.go
package service
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/elem/service/TeamService.go", "license": "mit", "size": 16} |
### File: foot-core/module/index/controller/IndexController.go
package controller
import "tesou.io/platform/foot-parent/foot-core/common/base/controller"
type IndexController struct {
controller.BaseController
}
// @router / [get]
func (this *IndexController) Get() {
this.Data["json"] = "hello"
this.ServeJSON()
}... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/index/controller/IndexController.go", "license": "mit", "size": 258} |
### File: foot-core/module/leisu/constants/Constant.go
package constants
const (
SECTION_NAME = "leisu"
//登录地址
LOGIN_URL = ""
//比赛信息地址
MATCH_LIST_URL = "https://hao.leisu.com/match"
//发布前需要查询限制
PUB_LIMIT_URL = "https://api.leisu.com/api/v2/prediction/times?sport_id=1"
//查询是否可以收费
PRICE_URL = "https://api.leisu... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/leisu/constants/Constant.go", "license": "mit", "size": 484} |
### File: foot-core/module/leisu/controller/LeisuController.go
package controller
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/leisu/controller/LeisuController.go", "license": "mit", "size": 19} |
### File: foot-core/module/leisu/service/BalanceService.go
package service
import "tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
/**
查看余额
*/
type StatService struct {
mysql.BaseService
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/leisu/service/BalanceService.go", "license": "mit", "size": 161} |
### File: foot-core/module/leisu/service/LeisuService.go
package service
import (
"bytes"
"html/template"
"math/rand"
"strconv"
"strings"
"tesou.io/platform/foot-parent/foot-api/common/base"
vo2 "tesou.io/platform/foot-parent/foot-api/module/suggest/vo"
"tesou.io/platform/foot-parent/foot-core/common/utils"
"... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/leisu/service/LeisuService.go", "license": "mit", "size": 3650} |
### File: foot-core/module/leisu/service/LoginService.go
package service
import "tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
/**
登录,保存cookies
*/
type LoginService struct {
mysql.BaseService
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/leisu/service/LoginService.go", "license": "mit", "size": 173} |
### File: foot-core/module/leisu/service/MatchPoolService.go
package service
import (
"github.com/PuerkitoBio/goquery"
"strconv"
"strings"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
constants2 "tesou.io/platform/foot-parent/foot-core/m... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/leisu/service/MatchPoolService.go", "license": "mit", "size": 4519} |
### File: foot-core/module/leisu/service/PriceService.go
package service
import (
"encoding/json"
"math/rand"
"strconv"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-core/common/utils"
constants2 "tesou.io/platform/foot-parent/foot-core/module/leisu/constants"
utils2 "... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/leisu/service/PriceService.go", "license": "mit", "size": 1686} |
### File: foot-core/module/leisu/service/PushLimitService.go
package service
import (
"encoding/json"
"tesou.io/platform/foot-parent/foot-api/common/base"
constants2 "tesou.io/platform/foot-parent/foot-core/module/leisu/constants"
utils2 "tesou.io/platform/foot-parent/foot-core/module/leisu/utils"
vo2 "tesou.io/p... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/leisu/service/PushLimitService.go", "license": "mit", "size": 920} |
### File: foot-core/module/leisu/service/PushService.go
package service
import (
"encoding/json"
"fmt"
"math/rand"
"strconv"
"strings"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-api/module/suggest/enums"
"tesou.io/platform/foot-parent/foot-api/module/suggest/pojo"
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/leisu/service/PushService.go", "license": "mit", "size": 6493} |
### File: foot-core/module/leisu/utils/HttpUtil.go
package utils
import (
"compress/gzip"
"encoding/json"
"github.com/PuerkitoBio/goquery"
"io"
"io/ioutil"
"net/http"
"net/url"
"reflect"
"strconv"
"strings"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-core/common... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/leisu/utils/HttpUtil.go", "license": "mit", "size": 6087} |
### File: foot-core/module/leisu/vo/MatchVO.go
package vo
import "time"
/**
比赛对应的赔率信息
*/
type OddINFVO struct {
//类型, 1 胜平负 2 让球胜平负 5北单胜负过关
DataIdx int
//赔率
DataOdd float64
//11-5北单胜负过关主队 12-5北单胜负过关客队
DataSelects int
//提示
DataTip string
//让球
DataPk float64
}
/**
比赛信息
*/
type MatchVO struct {
DataId ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/leisu/vo/MatchVO.go", "license": "mit", "size": 1113} |
### File: foot-core/module/leisu/vo/PriceVO.go
package vo
import "encoding/json"
type PriceVO struct {
//返回值, 0代表成功
Code int64
Data []int64
//msg
Msg string
}
func (this *PriceVO) ToString() string {
bytes, _ := json.Marshal(this)
return string(bytes)
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/leisu/vo/PriceVO.go", "license": "mit", "size": 231} |
### File: foot-core/module/leisu/vo/PubLimitVO.go
package vo
import "encoding/json"
/**
发布查询到的用户的限制内容
*/
type PubLimitVO struct {
//返回值, 0代表成功
Code int64
//可推荐次数
Limit_times int64
//可用推荐次数
Remain_times int64
//己用的推荐次数
Used_times int64
//msg
Msg string
}
/**
获取发布次数
*/
func (this *PubLimitVO) ToS... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/leisu/vo/PubLimitVO.go", "license": "mit", "size": 430} |
### File: foot-core/module/leisu/vo/PubRespVO.go
package vo
import "encoding/json"
/**
发布推荐结果
*/
type PubRespVO struct {
//返回值, 0代表成功
Code int64
//ID
Id int64
//msg
Msg string
}
/**
获取发布次数
*/
func (this *PubRespVO) ToString() string {
bytes, _ := json.Marshal(this)
return string(bytes)
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/leisu/vo/PubRespVO.go", "license": "mit", "size": 291} |
### File: foot-core/module/leisu/vo/PubVO.go
package vo
type MatchINFVO struct {
//比赛ID
Id int64 `json:"id"`
//暂时不明白其意义 tr中可获取
Selects []int `json:"selects"`
//所选择的赔率
Values []float64 `json:"values"`
}
/**
发布推荐
*/
type PubVO struct {
//标题15字
Title string `json:"title"`
//内容100字
Content string `json:"content... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/leisu/vo/PubVO.go", "license": "mit", "size": 471} |
### File: foot-core/module/match/controller/MatchController.go
package controller
import "tesou.io/platform/foot-parent/foot-core/common/base/controller"
type MatchController struct {
controller.BaseController
}
func (th *MatchController) Get() {
th.Data["json"] = "match"
th.ServeJSON()
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/match/controller/MatchController.go", "license": "mit", "size": 233} |
### File: foot-core/module/match/controller/MatchLastController.go
package controller
import "tesou.io/platform/foot-parent/foot-core/common/base/controller"
type MatchLastController struct {
controller.BaseController
}
func (th *MatchLastController) Get() {
th.Data["json"] = "match"
th.ServeJSON()
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/match/controller/MatchLastController.go", "license": "mit", "size": 241} |
### File: foot-core/module/match/service/BFBattleService.go
package service
import (
"strings"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-api/module/match/pojo"
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
)
type BFBattleService struct {
mysql.... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/match/service/BFBattleService.go", "license": "mit", "size": 1604} |
### File: foot-core/module/match/service/BFFutureEventService.go
package service
import (
"strings"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-api/module/match/pojo"
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
)
type BFFutureEventService struct... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/match/service/BFFutureEventService.go", "license": "mit", "size": 1610} |
### File: foot-core/module/match/service/BFJinService.go
package service
import (
"strings"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-api/module/match/pojo"
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
"time"
)
type BFJinService struct {
mysq... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/match/service/BFJinService.go", "license": "mit", "size": 2071} |
### File: foot-core/module/match/service/BFScoreService.go
package service
import (
"strings"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-api/module/match/pojo"
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
)
type BFScoreService struct {
mysql.Ba... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/match/service/BFScoreService.go", "license": "mit", "size": 1054} |
### File: foot-core/module/match/service/MatchHisService.go
package service
import (
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-api/module/match/pojo"
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
)
type MatchHisService struct {
mysql.BaseService... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/match/service/MatchHisService.go", "license": "mit", "size": 1320} |
### File: foot-core/module/match/service/MatchLastService.go
package service
import (
"strconv"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-api/module/match/pojo"
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
)
//足球比赛信息
type MatchLastService struc... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/match/service/MatchLastService.go", "license": "mit", "size": 2531} |
### File: foot-core/module/odds/service/AsiaHisService.go
package service
import (
"strconv"
"strings"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-api/module/odds/pojo"
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
"tesou.io/platform/foot-parent/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/odds/service/AsiaHisService.go", "license": "mit", "size": 2461} |
### File: foot-core/module/odds/service/AsiaLastService.go
package service
import (
"strings"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-api/module/odds/pojo"
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
)
type AsiaLastService struct {
mysql.Ba... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/odds/service/AsiaLastService.go", "license": "mit", "size": 1495} |
### File: foot-core/module/odds/service/AsiaTrackService.go
package service
import (
"strings"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-api/module/odds/pojo"
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
)
type AsiaTrackService struct {
mysql.... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/odds/service/AsiaTrackService.go", "license": "mit", "size": 1502} |
### File: foot-core/module/odds/service/BetfairService.go
package service
import (
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-api/module/odds/pojo"
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
)
type BetfairService struct {
mysql.BaseService
}
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/odds/service/BetfairService.go", "license": "mit", "size": 874} |
### File: foot-core/module/odds/service/EuroHisService.go
package service
import (
"strconv"
"strings"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-api/module/odds/pojo"
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
)
type EuroHisService struct {
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/odds/service/EuroHisService.go", "license": "mit", "size": 1558} |
### File: foot-core/module/odds/service/EuroLastService.go
package service
import (
"strings"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-api/module/odds/pojo"
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
)
type EuroLastService struct {
mysql.Ba... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/odds/service/EuroLastService.go", "license": "mit", "size": 1431} |
### File: foot-core/module/odds/service/EuroTrackService.go
package service
import (
"strings"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-api/module/odds/pojo"
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
)
type EuroTrackService struct {
mysql.... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/odds/service/EuroTrackService.go", "license": "mit", "size": 1495} |
### File: foot-core/module/odds/service/OverUnderHisService.go
package service
import (
"strconv"
"strings"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-api/module/odds/pojo"
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
"tesou.io/platform/foot-pa... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/odds/service/OverUnderHisService.go", "license": "mit", "size": 2520} |
### File: foot-core/module/odds/service/OverUnderLastService.go
package service
import (
"strings"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-api/module/odds/pojo"
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
)
type OverUnderLastService struct {... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/odds/service/OverUnderLastService.go", "license": "mit", "size": 1555} |
### File: foot-core/module/spider/constants/Constant.go
package constants
import "time"
var (
//数据爬取时间
SpiderDateStr = time.Now().Format("2006-01-02 15:04:05")
//全量数据爬取时间
FullSpiderDateStr = time.Now().Format("2006-01-02 15:04:05")
)
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/spider/constants/Constant.go", "license": "mit", "size": 212} |
### File: foot-core/module/suggest/service/PubService.go
package service
import (
"strings"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-api/module/suggest/pojo"
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
)
/**
发布推荐
*/
type PubService struct {
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/suggest/service/PubService.go", "license": "mit", "size": 603} |
### File: foot-core/module/suggest/service/SuggestService.go
package service
import (
"strconv"
"tesou.io/platform/foot-parent/foot-api/module/match/pojo"
vo2 "tesou.io/platform/foot-parent/foot-api/module/suggest/vo"
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
service2 "tesou.io/platform/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/suggest/service/SuggestService.go", "license": "mit", "size": 13896} |
### File: foot-core/module/tesou/constants/Constant.go
package constants
const (
)
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/tesou/constants/Constant.go", "license": "mit", "size": 31} |
### File: foot-core/module/tesou/service/PubService.go
package service
type PubService struct {
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/tesou/service/PubService.go", "license": "mit", "size": 45} |
### File: foot-core/module/tesou/utils/HttpUtil.go
package utils
import (
"compress/gzip"
"encoding/json"
"github.com/PuerkitoBio/goquery"
"io"
"io/ioutil"
"net/http"
"net/url"
"reflect"
"strconv"
"strings"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-core/common... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/tesou/utils/HttpUtil.go", "license": "mit", "size": 6147} |
### File: foot-core/module/tesou/vo/MatchVO.go
package vo
import "time"
/**
比赛对应的赔率信息
*/
type OddINFVO struct {
//类型, 1 胜平负 2 让球胜平负 5北单胜负过关
DataIdx int
//赔率
DataOdd float64
//11-5北单胜负过关主队 12-5北单胜负过关客队
DataSelects int
//提示
DataTip string
//让球
DataPk float64
}
/**
比赛信息
*/
type MatchVO struct {
DataId ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/tesou/vo/MatchVO.go", "license": "mit", "size": 1113} |
### File: foot-core/module/tesou/vo/PriceVO.go
package vo
import "encoding/json"
type PriceVO struct {
//返回值, 0代表成功
Code int64
Data []int64
//msg
Msg string
}
func (this *PriceVO) ToString() string {
bytes, _ := json.Marshal(this)
return string(bytes)
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/tesou/vo/PriceVO.go", "license": "mit", "size": 231} |
### File: foot-core/module/tesou/vo/PubLimitVO.go
package vo
import "encoding/json"
/**
发布查询到的用户的限制内容
*/
type PubLimitVO struct {
//返回值, 0代表成功
Code int64
//可推荐次数
Limit_times int64
//可用推荐次数
Remain_times int64
//己用的推荐次数
Used_times int64
//msg
Msg string
}
/**
获取发布次数
*/
func (this *PubLimitVO) ToS... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/tesou/vo/PubLimitVO.go", "license": "mit", "size": 430} |
### File: foot-core/module/tesou/vo/PubRespVO.go
package vo
import "encoding/json"
/**
发布推荐结果
*/
type PubRespVO struct {
//返回值, 0代表成功
Code int64
//ID
Id int64
//msg
Msg string
}
/**
获取发布次数
*/
func (this *PubRespVO) ToString() string {
bytes, _ := json.Marshal(this)
return string(bytes)
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/tesou/vo/PubRespVO.go", "license": "mit", "size": 291} |
### File: foot-core/module/tesou/vo/PubVO.go
package vo
type MatchINFVO struct {
//比赛ID
Id int64 `json:"id"`
//暂时不明白其意义 tr中可获取
Selects []int `json:"selects"`
//所选择的赔率
Values []float64 `json:"values"`
}
/**
发布推荐
*/
type PubVO struct {
//标题15字
Title string `json:"title"`
//内容100字
Content string `json:"content... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/tesou/vo/PubVO.go", "license": "mit", "size": 471} |
### File: foot-core/module/wechat/constants/Constant.go
package constants
const (
)
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/wechat/constants/Constant.go", "license": "mit", "size": 31} |
### File: foot-core/module/wechat/controller/MaterialController.go
package controller
import (
"fmt"
_ "github.com/astaxie/beego"
"github.com/chanxuehong/wechat/mp/material"
"io/ioutil"
"strings"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-core/common/base/controller... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/wechat/controller/MaterialController.go", "license": "mit", "size": 2237} |
### File: foot-core/module/wechat/controller/WechatController.go
package controller
import (
_ "github.com/astaxie/beego"
"github.com/chanxuehong/wechat/mp/core"
"github.com/chanxuehong/wechat/mp/menu"
"github.com/chanxuehong/wechat/mp/message/callback/request"
"github.com/chanxuehong/wechat/mp/message/callback/r... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/wechat/controller/WechatController.go", "license": "mit", "size": 2686} |
### File: foot-core/module/wechat/service/MaterialService.go
package service
import (
"github.com/chanxuehong/wechat/mp/core"
)
type MaterialService struct {
SuggestTodayService
SuggestWeekService
SuggestMonthService
}
func (this *MaterialService) ModifyNews(wcClient *core.Client) {
this.SuggestTodayService.Mod... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/wechat/service/MaterialService.go", "license": "mit", "size": 684} |
### File: foot-core/module/wechat/service/MessageService.go
package service
import (
"encoding/json"
"fmt"
"github.com/chanxuehong/wechat/mp/message/callback/response"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
"tesou.io/platform/foot-... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/wechat/service/MessageService.go", "license": "mit", "size": 1137} |
### File: foot-core/module/wechat/service/SuggestMonthService.go
package service
import (
"bytes"
"fmt"
"github.com/chanxuehong/wechat/mp/core"
"github.com/chanxuehong/wechat/mp/material"
"html/template"
"strconv"
"strings"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/fo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/wechat/service/SuggestMonthService.go", "license": "mit", "size": 8547} |
### File: foot-core/module/wechat/service/SuggestTodayService.go
package service
import (
"bytes"
"fmt"
"github.com/chanxuehong/wechat/mp/core"
"github.com/chanxuehong/wechat/mp/material"
"html/template"
"strconv"
"strings"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/fo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/wechat/service/SuggestTodayService.go", "license": "mit", "size": 25267} |
### File: foot-core/module/wechat/service/SuggestWeekService.go
package service
import (
"bytes"
"fmt"
"github.com/chanxuehong/wechat/mp/core"
"github.com/chanxuehong/wechat/mp/material"
"html/template"
"strconv"
"strings"
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/module/wechat/service/SuggestWeekService.go", "license": "mit", "size": 8559} |
### File: foot-core/test/TestMain.go
package test
import (
"gopkg.in/mgo.v2"
"gopkg.in/mgo.v2/bson"
)
type Person struct {
Id bson.ObjectId `bson:"_id"`
Name string `bson:"tname"` //bson:"name" 表示mongodb数据库中对应的字段名称
Phone string `bson:"tphone"`
}
const URL = "mongo.io:27017" //mong... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/test/TestMain.go", "license": "mit", "size": 2843} |
### File: foot-core/test/TestParentBson.go
package test
import "gopkg.in/mgo.v2/bson"
type TestParentBson struct {
P bson.ObjectId
PName string
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/test/TestParentBson.go", "license": "mit", "size": 119} |
### File: foot-core/test/bson/TestBson.go
package bson
import (
"tesou.io/platform/foot-parent/foot-core/test"
"gopkg.in/mgo.v2/bson"
)
type ParentBson struct {
P bson.ObjectId
PName string
}
type TestBson struct {
test.TestParentBson
A bool
B int "myb"
C string "myc,omitempty"
D string `bson:",omite... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-core/test/bson/TestBson.go", "license": "mit", "size": 357} |
### File: foot-gui/handler/ConsoleInputStreamHandler.go
package handler
type ConsoleInputStreamHandler struct {
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-gui/handler/ConsoleInputStreamHandler.go", "license": "mit", "size": 63} |
### File: foot-robot/helper/RobotHelper.go
package helper
import (
"github.com/go-vgo/robotgo"
)
type RobotHelper struct {
}
/**
检查标题
*/
//func (this *RobotHelper) CheckTitle(val string) bool {
// temp_titles := utils.GetVal("robot", "win_titiles")
// title_arr := strings.Split(temp_titles, ",")
//
// for _, e := ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-robot/helper/RobotHelper.go", "license": "mit", "size": 891} |
### File: foot-spider/common/base/down/Downloader.go
package down
import (
"bytes"
"github.com/PuerkitoBio/goquery"
"github.com/bitly/go-simplejson"
// iconv "github.com/djimenez/iconv-go"
"github.com/hu17889/go_spider/core/common/mlog"
"github.com/hu17889/go_spider/core/common/page"
"github.com/hu17889/go_... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-spider/common/base/down/Downloader.go", "license": "mit", "size": 9955} |
### File: foot-spider/launch/FS101PortalApplication.go
package launch
import (
"strconv"
"strings"
"tesou.io/platform/foot-parent/foot-core/common/base/service/mysql"
"tesou.io/platform/foot-parent/foot-core/common/utils"
"tesou.io/platform/foot-parent/foot-core/module/spider/constants"
"time"
)
func Clean() {
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Go", "repo_name": "vincentmi/foot", "path": "foot-spider/launch/FS101PortalApplication.go", "license": "mit", "size": 2280} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.