Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
golang_asynctask
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
ec8689c6
authored
May 27, 2021
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
完成所有的开发
parent
22713843
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
cmd/bigtv/sync_bigtv_statistics/main.go
cmd/bigtv/sync_bigtv_statistics/main.go
View file @
ec8689c6
...
@@ -44,10 +44,10 @@ func main() {
...
@@ -44,10 +44,10 @@ func main() {
runtime
.
GOMAXPROCS
(
2
)
runtime
.
GOMAXPROCS
(
2
)
currentDate
=
time
.
Now
()
.
Format
(
"2006-01-02"
)
currentDate
=
time
.
Now
()
.
Format
(
"2006-01-02"
)
//currentDate := "2021-05-0
6"
currentDate
:=
"2021-05-2
6"
//请求数据
//请求数据
currentUnix
=
time
.
Now
()
.
Unix
()
currentUnix
=
time
.
Now
()
.
Unix
()
-
36000
timeLocal
,
_
:=
time
.
LoadLocation
(
"Local"
)
timeLocal
,
_
:=
time
.
LoadLocation
(
"Local"
)
timeStart
,
_
=
time
.
ParseInLocation
(
"2006-01-02"
,
currentDate
,
timeLocal
)
timeStart
,
_
=
time
.
ParseInLocation
(
"2006-01-02"
,
currentDate
,
timeLocal
)
...
...
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