Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
lzzzzl
/
golang_seo_server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
21cbab9e
authored
Dec 07, 2020
by
lzzzzl
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
删除测试输出
parent
5ae80e46
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
collect/lxmain/lxmain.go
collect/mip/mip.go
collect/lxmain/lxmain.go
View file @
21cbab9e
...
@@ -83,8 +83,6 @@ func RunMainTask(remainCount int, configDir string) {
...
@@ -83,8 +83,6 @@ func RunMainTask(remainCount int, configDir string) {
colDb
=
db
.
GetDB
(
collectDbConn
)
colDb
=
db
.
GetDB
(
collectDbConn
)
res
,
err
:=
colDb
.
Queryx
(
sql
)
res
,
err
:=
colDb
.
Queryx
(
sql
)
fmt
.
Println
(
sql
)
if
err
!=
nil
{
if
err
!=
nil
{
ding
.
Send
(
util
.
Configs
.
Ding_msg
.
Webhook
,
"SEO推送"
,
"查询主站ID任务失败,原因:"
+
err
.
Error
(),
ding
.
Send
(
util
.
Configs
.
Ding_msg
.
Webhook
,
"SEO推送"
,
"查询主站ID任务失败,原因:"
+
err
.
Error
(),
mobile
,
isAtAll
)
mobile
,
isAtAll
)
...
...
collect/mip/mip.go
View file @
21cbab9e
...
@@ -80,10 +80,10 @@ func RunMipTask(remainCount int, configDir string) {
...
@@ -80,10 +80,10 @@ func RunMipTask(remainCount int, configDir string) {
var
cdCount
,
_
=
strconv
.
Atoi
(
collectDbCount
)
var
cdCount
,
_
=
strconv
.
Atoi
(
collectDbCount
)
var
sql
=
colsql
.
MipSQL
(
collectCode
,
tableIndex
,
cdCount
,
cdCount
+
remainCount
)
var
sql
=
colsql
.
MipSQL
(
collectCode
,
tableIndex
,
cdCount
,
cdCount
+
remainCount
)
colDb
=
db
.
GetDB
(
collectDbConn
)
colDb
=
db
.
GetDB
(
collectDbConn
)
fmt
.
Println
(
collectDbConn
+
"---"
+
sql
)
//
fmt.Println(collectDbConn + "---" + sql)
res
,
err
:=
colDb
.
Queryx
(
sql
)
res
,
err
:=
colDb
.
Queryx
(
sql
)
fmt
.
Println
(
sql
)
//
fmt.Println(sql)
if
err
!=
nil
{
if
err
!=
nil
{
ding
.
Send
(
util
.
Configs
.
Ding_msg
.
Webhook
,
"SEO推送"
,
"查询MIP_ID任务失败,原因:"
+
err
.
Error
(),
ding
.
Send
(
util
.
Configs
.
Ding_msg
.
Webhook
,
"SEO推送"
,
"查询MIP_ID任务失败,原因:"
+
err
.
Error
(),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment