饿鲜达cookie检查去掉

This commit is contained in:
苏尹岚
2020-04-03 18:02:57 +08:00
parent 2596d7a526
commit 093d87fc33

View File

@@ -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{}