Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
wang
/
golang-open-platform
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
80526931
authored
Mar 30, 2021
by
wang
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
^
parent
cf6c9294
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
JD/service.go
service/push_Jd/service_sku_push.go
JD/service.go
View file @
80526931
...
@@ -23,7 +23,7 @@ func NewJdServer() *JdServer{
...
@@ -23,7 +23,7 @@ func NewJdServer() *JdServer{
func
(
this
*
JdServer
)
PushData
(
pushType
string
,
data
interface
{})
{
func
(
this
*
JdServer
)
PushData
(
pushType
string
,
data
interface
{})
{
token
:=
this
.
getKoken
()
token
:=
this
.
getKoken
()
fmt
.
Println
(
data
)
//
fmt.Println(data)
//return
//return
header
:=
gout
.
H
{
"Authorization"
:
token
}
header
:=
gout
.
H
{
"Authorization"
:
token
}
formData
:=
map
[
string
]
interface
{}{
formData
:=
map
[
string
]
interface
{}{
...
...
service/push_Jd/service_sku_push.go
View file @
80526931
...
@@ -96,7 +96,7 @@ func (this *SkuPushService) pushForClass(classId int) {
...
@@ -96,7 +96,7 @@ func (this *SkuPushService) pushForClass(classId int) {
}
}
func
(
this
*
SkuPushService
)
shutdown3000
()
{
func
(
this
*
SkuPushService
)
shutdown3000
()
{
if
(
skuTotalCont
>=
2
){
if
(
skuTotalCont
>=
3000
){
//this.dingdingSucessPush()
//this.dingdingSucessPush()
msg
:=
fmt
.
Sprintf
(
"%d个就终止程序"
,
skuTotalCont
)
msg
:=
fmt
.
Sprintf
(
"%d个就终止程序"
,
skuTotalCont
)
panic
(
msg
)
panic
(
msg
)
...
...
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