Commit 530f24a0 by wang

^

parent d3ba0c4f
......@@ -21,7 +21,9 @@ func NewJdServer() *JdServer{
[{"goods_id":"1160551105263565205","ladder_price":[],"stock":1,"update_time":1605511052},{"goods_id":"1160551105280217407","ladder_price":[],"stock":1,"update_time":1605511052},{"goods_id":"1160551105657295093","ladder_price":[],"stock":1,"update_time":1605511056},{"goods_id":"1160551105664771955","ladder_price":[],"stock":1,"update_time":1605511056},{"goods_id":"1160551105727360314","ladder_price":[],"stock":1,"update_time":1605511057},{"goods_id":"1160551107420254201","ladder_price":[],"stock":1,"update_time":1605511074},{"goods_id":"1160551103393553911","ladder_price":[],"stock":32,"update_time":1605511033},{"goods_id":"1160551104739159301","ladder_price":[],"stock":1,"update_time":1605511047},{"goods_id":"1160551105513875543","ladder_price":[],"stock":1,"update_time":1605511055},{"goods_id":"1160551103993208968","ladder_price":[],"stock":28,"update_time":1605511039}]
*/
func (this *JdServer) PushData(pushType string ,data interface{}) {
token:=this.getKoken()
fmt.Println(data)
return
header:=gout.H{"Authorization": token}
formData:=map[string]interface{}{
......
......@@ -96,7 +96,7 @@ func (this *SkuPushService) pushForClass(classId int) {
}
func (this *SkuPushService) shutdown3000() {
if(skuTotalCont>=3000){
if(skuTotalCont>=2){
//this.dingdingSucessPush()
msg:=fmt.Sprintf("%d个就终止程序",skuTotalCont)
panic(msg)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment