Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
kaopu-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
604a245b
authored
Dec 06, 2019
by
huangchengyi
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1.0
parent
7f5c107d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
cmd/dong/main.go
cmd/dong/main.go
View file @
604a245b
...
@@ -72,15 +72,16 @@ func main() {
...
@@ -72,15 +72,16 @@ func main() {
logic
.
LogWrite
(
"统计项目"
+
mod_name
+
"结束:"
+
strconv
.
Itoa
(
k
),
mod_name_log
,
1
)
logic
.
LogWrite
(
"统计项目"
+
mod_name
+
"结束:"
+
strconv
.
Itoa
(
k
),
mod_name_log
,
1
)
}
}
//最后关闭数据连接
d
:=
dao
.
New
()
d
.
Close
()
//关闭数据库连接
time
.
Sleep
(
60
*
time
.
Second
)
time
.
Sleep
(
60
*
time
.
Second
)
}
}
fmt
.
Println
(
"
\r\n
所有任务已经完成"
)
fmt
.
Println
(
"
\r\n
所有任务已经完成"
)
}
}
//最后关闭数据连接
d
:=
dao
.
New
()
d
.
Close
()
//关闭数据库连接
}
}
//队列监听
//队列监听
...
...
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