饿鲜达cookie检查去掉
This commit is contained in:
@@ -6,8 +6,6 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"git.rosy.net.cn/baseapi/platformapi/ebaiapi"
|
|
||||||
|
|
||||||
"git.rosy.net.cn/baseapi/utils"
|
"git.rosy.net.cn/baseapi/utils"
|
||||||
"git.rosy.net.cn/jx-callback/business/jxutils"
|
"git.rosy.net.cn/jx-callback/business/jxutils"
|
||||||
"git.rosy.net.cn/jx-callback/business/jxutils/jxcontext"
|
"git.rosy.net.cn/jx-callback/business/jxutils/jxcontext"
|
||||||
@@ -165,16 +163,16 @@ func GetCheckVendorCookie(ctx *jxcontext.Context, vendorIDs []int, isAuto bool)
|
|||||||
flag = true
|
flag = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
result, err := api.Ebai2API.GetEbaiDepotSku(ebaiapi.EbaiWholeCountryStore, "190700570")
|
// result, err := api.Ebai2API.GetEbaiDepotSku(ebaiapi.EbaiWholeCountryStore, "190700570")
|
||||||
if err != nil || len(result) < 1 {
|
// if err != nil || len(result) < 1 {
|
||||||
cc := &CheckCookie{}
|
// cc := &CheckCookie{}
|
||||||
cc.VendorID = v
|
// cc.VendorID = v
|
||||||
cc.VendorOrgCode = "饿百后台饿鲜达全国账号"
|
// cc.VendorOrgCode = "饿百后台饿鲜达全国账号"
|
||||||
cc.Status = "无效"
|
// cc.Status = "无效"
|
||||||
ccList = append(ccList, cc)
|
// ccList = append(ccList, cc)
|
||||||
errMsg += fmt.Sprintf(" 饿百账号:[饿百后台饿鲜达全国账号]的Cookie无效了!", vv)
|
// errMsg += fmt.Sprintf(" 饿百账号:[饿百后台饿鲜达全国账号]的Cookie无效了!", vv)
|
||||||
flag = true
|
// flag = true
|
||||||
}
|
// }
|
||||||
// result2, err2 := api.EbaiAPI.GetExianDaSkuDepot("190600741")
|
// result2, err2 := api.EbaiAPI.GetExianDaSkuDepot("190600741")
|
||||||
// if err2 != nil || result2 == nil {
|
// if err2 != nil || result2 == nil {
|
||||||
// cc := &CheckCookie{}
|
// cc := &CheckCookie{}
|
||||||
|
|||||||
Reference in New Issue
Block a user