Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
golang-queue-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
40e97558
authored
Feb 07, 2023
by
mushishixian
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
打印更新时间
parent
db29a0b8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
9 deletions
.gitignore
special/activity_statistics/main.go
.gitignore
View file @
40e97558
/config/config.toml
/config/config.toml
/.idea
/.idea
/.DS_Store
/.DS_Store
/logs/*
/logs/*
/log/*
/log/*
/config/*.toml
/config/*.toml
/cmd/*
/cmd/*
*_slow.log
*_slow.log
\ No newline at end of file
/.history
\ No newline at end of file
special/activity_statistics/main.go
View file @
40e97558
...
@@ -104,6 +104,7 @@ func main() {
...
@@ -104,6 +104,7 @@ func main() {
updateTime
=
1
updateTime
=
1
}
}
updateTime
=
1
updateTime
=
1
fmt
.
Println
(
updateTime
)
//先去取出所有的正在进行的活动列表
//先去取出所有的正在进行的活动列表
var
giftActivityList
[]
model
.
GiftActivity
var
giftActivityList
[]
model
.
GiftActivity
err
=
specialDb
.
Reset
()
.
Table
(
&
giftActivityList
)
.
Fields
(
"id,start_time,end_time"
)
.
err
=
specialDb
.
Reset
()
.
Table
(
&
giftActivityList
)
.
Fields
(
"id,start_time,end_time"
)
.
...
...
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