jdshopcookie

This commit is contained in:
苏尹岚
2020-05-09 13:32:26 +08:00
parent aa58745013
commit 397a4c2a8a
2 changed files with 1 additions and 3 deletions

View File

@@ -307,7 +307,7 @@ func Init() {
api.MtwmAPI.SetCookieWithStr(mtwmCookieStr)
api.MtpsAPI.SetCookie("token", mtpsStoreToken)
api.JdAPI.SetJdCookie(JdStorePageCookie)
api.JdShopAPI.SetCookie("user", jdStorePageEarning)
api.JdShopAPI.SetCookie("thor", jdStorePageEarning)
api.JdPageAPI.SetCookie(jdapi.AccessStorePageCookieName, JdStorePageCookie)
api.JdPageAPI.SetCookie(jdapi.AccessStorePageCookieName2, JdStorePageCookie)
api.FeieAPI.SetCookieWithStr(feiePageCookie)

View File

@@ -1,7 +1,6 @@
package jdshop
import (
"fmt"
"regexp"
"git.rosy.net.cn/baseapi/platformapi/jdshopapi"
@@ -89,7 +88,6 @@ func (p *PurchaseHandler) GetStoreAllCategories(ctx *jxcontext.Context, storeID
func (p *PurchaseHandler) CreateStoreCategory(ctx *jxcontext.Context, storeID int, vendorStoreID string, storeCat *dao.SkuStoreCatInfo) (err error) {
if globals.EnableJdShopWrite && vendorStoreID == model.JdShopMainVendorStoreID {
fmt.Println("test1111111111111111111111", partner.GetMultiStoreVendorIDs())
err = updateOrCreateCategories(storeCat, true)
}
return err