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
1c5d1d8b
authored
May 27, 2021
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调试数据不正确
parent
68598635
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
8 deletions
cmd/bigtv/sync_bigtv_statistics/main.go
cmd/bigtv/sync_bigtv_statistics/main.go
View file @
1c5d1d8b
...
...
@@ -44,17 +44,10 @@ func main() {
runtime
.
GOMAXPROCS
(
2
)
sqlDb
:=
scm_data_dao
.
GetDashboardDb
()
sqlDb
.
Exec
(
"truncate lie_btv_daily_order_transaction"
)
sqlDb
.
Exec
(
"truncate lie_btv_daily_top_order"
)
sqlDb
.
Exec
(
"truncate lie_btv_daily_top_search"
)
currentDate
=
time
.
Now
()
.
Format
(
"2006-01-02"
)
currentDate
=
"2021-05-26"
//请求数据
currentUnix
=
time
.
Now
()
.
Unix
()
-
36000
currentUnix
=
time
.
Now
()
.
Unix
()
timeLocal
,
_
:=
time
.
LoadLocation
(
"Local"
)
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