Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
加钱居士.
foot
提交
80f51f8d
F
foot
项目概览
加钱居士.
/
foot
通知
3
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
foot
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
80f51f8d
编写于
12月 22, 2019
作者:
M
monomania
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1.增加作者声明 2.leisu标题,内容多化样开发
上级
2a540c27
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
17 addition
and
5 deletion
+17
-5
assets/leisu/html/content.html
assets/leisu/html/content.html
+1
-0
assets/leisu/html/title.html
assets/leisu/html/title.html
+0
-0
conf/app.ini
conf/app.ini
+4
-2
foot-core/module/analy/service/AnalyService.go
foot-core/module/analy/service/AnalyService.go
+3
-2
foot-core/module/wechat/service/MatchService.go
foot-core/module/wechat/service/MatchService.go
+9
-1
未找到文件。
assets/leisu/html/content.html
0 → 100644
浏览文件 @
80f51f8d
本次推荐为程序全自动处理,全程无人为参与干预.进而避免了人为分析的主观性及不稳定因素.程序根据各大波菜多维度数据,结合作者多年足球分析经验,十年程序员生涯,精雕细琢历经26个月得出的产物.程序执行流程包括且不仅限于(数据自动获取-->分析学习-->自动推送发布).经近三个月的实验准确率一直能维持在一个较高的水平.依据该项目为依托已经吸引了不少朋友,现目前通过雷速号再次验证程序的准确率,望大家长期关注校验.
\ No newline at end of file
assets/leisu/html/title.html
0 → 100644
浏览文件 @
80f51f8d
conf/app.ini
浏览文件 @
80f51f8d
...
...
@@ -14,7 +14,7 @@ LWT=KBjo3NZHBCcMfcnaZ1JXVula6ZKdmthk0DqnddpGOcwxb/d/nr2ULipCnjSsetvzCgwBKwkj7nBL
SERVERID
=
f35c9b1c268fcc8b58043d36d0dddd26|1575817686|1575815177
[spider]
###matchLevel比赛级别 //0全部,1一级,2足彩,3竞猜,4单场
match_level
=
0
match_level
=
4
###执行周期间隔时间
cycle_time
=
68
[analy]
...
...
@@ -50,4 +50,6 @@ OriId=gh_a8328f3c25d2
AppID
=
wx76e3dd0445aa0055
AppSecret
=
4257a40eb6f59e50777fdcc2b47b31a4
Token
=
cc9dfaa76d534c60bafa9fd947a049dd
#
EncodingAESKey
=
1upqonqsdMpQFP1ltHp5eBdCMvmVR26QBP8KJ60pM7D
\ No newline at end of file
#EncodingAESKey=1upqonqsdMpQFP1ltHp5eBdCMvmVR26QBP8KJ60pM7D
###文章作者
author
=
AI足球
\ No newline at end of file
foot-core/module/analy/service/AnalyService.go
浏览文件 @
80f51f8d
...
...
@@ -93,8 +93,9 @@ WHERE ar.MatchDate < NOW()
}
for
_
,
e
:=
range
entitys
{
aList
:=
this
.
AsiaLastService
.
FindByMatchIdCompId
(
e
.
MatchId
,
"18Bet"
)
if
len
(
aList
)
<
1
{
continue
if
nil
==
aList
||
len
(
aList
)
<
1
{
aList
=
make
([]
*
entity3
.
AsiaLast
,
1
)
aList
[
0
]
=
new
(
entity3
.
AsiaLast
)
}
his
:=
this
.
MatchHisService
.
FindById
(
e
.
MatchId
)
if
nil
==
his
{
...
...
foot-core/module/wechat/service/MatchService.go
浏览文件 @
80f51f8d
...
...
@@ -11,6 +11,7 @@ import (
"tesou.io/platform/foot-parent/foot-api/common/base"
"tesou.io/platform/foot-parent/foot-api/module/suggest/vo"
"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/analy/service"
service2
"tesou.io/platform/foot-parent/foot-core/module/suggest/service"
"time"
...
...
@@ -65,6 +66,8 @@ func (this *MatchService) ModifyToday(wcClient *core.Client) {
first
.
Title
=
fmt
.
Sprintf
(
"今日推荐 %v"
,
time
.
Now
()
.
Format
(
"01月02日"
))
first
.
Digest
=
fmt
.
Sprintf
(
"%d场赛事"
,
len
(
tempList
))
first
.
ThumbMediaId
=
"chP-LBQxy9SVbAFjwZ4QEuxc8rI6Dy-bm5n3yZbsuJA"
first
.
ContentSourceURL
=
"https://gitee.com/aoe5188/poem-parent"
first
.
Author
=
utils
.
GetVal
(
"wechat"
,
"author"
)
todayVO
:=
vo
.
TodayVO
{}
todayVO
.
DataList
=
make
([]
vo
.
SuggestVO
,
len
(
tempList
))
...
...
@@ -96,6 +99,7 @@ func (this *MatchService) Week(wcClient *core.Client) string {
first
.
Title
=
"最近七天战绩"
first
.
Digest
=
"20191216-20191219"
first
.
ThumbMediaId
=
"chP-LBQxy9SVbAFjwZ4QEo81I0bHaY3YDYRwVGmf7o8"
var
first_content
string
for
_
,
e
:=
range
listData
{
bytes
,
_
:=
json
.
Marshal
(
e
)
...
...
@@ -121,6 +125,7 @@ func (this *MatchService) ModifyWeek(wcClient *core.Client) {
h168
,
_
:=
time
.
ParseDuration
(
"-168h"
)
beginDate
:=
now
.
Add
(
h168
)
param
.
BeginDateStr
=
beginDate
.
Format
(
"2006-01-02 15:04:05"
)
param
.
IsDesc
=
true
//今日推荐
tempList
:=
this
.
SuggestService
.
Query
(
param
)
//更新推送
...
...
@@ -130,7 +135,7 @@ func (this *MatchService) ModifyWeek(wcClient *core.Client) {
first
.
ThumbMediaId
=
"chP-LBQxy9SVbAFjwZ4QEo81I0bHaY3YDYRwVGmf7o8"
first
.
ShowCoverPic
=
0
first
.
ContentSourceURL
=
"https://gitee.com/aoe5188/poem-parent"
first
.
Author
=
utils
.
GetVal
(
"wechat"
,
"author"
)
temp
:=
vo
.
WeekVO
{}
temp
.
BeginDateStr
=
param
.
BeginDateStr
temp
.
EndDateStr
=
param
.
EndDateStr
...
...
@@ -216,6 +221,7 @@ func (this *MatchService) ModifyMonth(wcClient *core.Client) {
h168
,
_
:=
time
.
ParseDuration
(
"-720h"
)
beginDate
:=
now
.
Add
(
h168
)
param
.
BeginDateStr
=
beginDate
.
Format
(
"2006-01-02 15:04:05"
)
param
.
IsDesc
=
true
//今日推荐
tempList
:=
this
.
SuggestService
.
Query
(
param
)
//更新推送
...
...
@@ -223,6 +229,8 @@ func (this *MatchService) ModifyMonth(wcClient *core.Client) {
first
.
Title
=
"最近一月战绩"
first
.
Digest
=
fmt
.
Sprintf
(
"%v-%v"
,
beginDate
.
Format
(
"2006年01月02日"
),
now
.
Format
(
"2006年01月02日"
))
first
.
ThumbMediaId
=
"chP-LBQxy9SVbAFjwZ4QEo81I0bHaY3YDYRwVGmf7o8"
first
.
ContentSourceURL
=
"https://gitee.com/aoe5188/poem-parent"
first
.
Author
=
utils
.
GetVal
(
"wechat"
,
"author"
)
temp
:=
vo
.
WeekVO
{}
temp
.
BeginDateStr
=
param
.
BeginDateStr
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录