Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
wang
/
go_upload_sync
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
f1f1c881
authored
Jun 04, 2021
by
wang
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fix
parent
6f79295a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
app/service/upload_sku_sync.go
app/service/upload_sku_sync.go
View file @
f1f1c881
...
...
@@ -9,6 +9,7 @@ import (
"github.com/tidwall/gjson"
"go_upload_sync/app/dao"
ls
"go_upload_sync/util/lib"
"time"
)
/**
...
...
@@ -210,7 +211,7 @@ func (this *UploadSkuSync) PushStatus3HandleList(uploadInfo *dao.UpdatesUploadSt
data
:=
make
(
map
[
string
]
interface
{})
data
[
"supplier_code"
]
=
uploadInfo
.
SupplierCode
data
[
"action_time"
]
=
uploadInfo
.
ActionTime
data
[
"end_time"
]
=
uploadInfo
.
EndTime
data
[
"end_time"
]
=
time
.
Now
()
.
Unix
()
bytes
,
err
:=
json
.
Marshal
(
data
)
if
(
err
!=
nil
){
msg
:=
fmt
.
Sprintf
(
"推送下架队列,解析主日志为json报错"
)
...
...
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