jdshopcookie
This commit is contained in:
@@ -307,7 +307,7 @@ func Init() {
|
|||||||
api.MtwmAPI.SetCookieWithStr(mtwmCookieStr)
|
api.MtwmAPI.SetCookieWithStr(mtwmCookieStr)
|
||||||
api.MtpsAPI.SetCookie("token", mtpsStoreToken)
|
api.MtpsAPI.SetCookie("token", mtpsStoreToken)
|
||||||
api.JdAPI.SetJdCookie(JdStorePageCookie)
|
api.JdAPI.SetJdCookie(JdStorePageCookie)
|
||||||
api.JdShopAPI.SetCookie("user", jdStorePageEarning)
|
api.JdShopAPI.SetCookie("thor", jdStorePageEarning)
|
||||||
api.JdPageAPI.SetCookie(jdapi.AccessStorePageCookieName, JdStorePageCookie)
|
api.JdPageAPI.SetCookie(jdapi.AccessStorePageCookieName, JdStorePageCookie)
|
||||||
api.JdPageAPI.SetCookie(jdapi.AccessStorePageCookieName2, JdStorePageCookie)
|
api.JdPageAPI.SetCookie(jdapi.AccessStorePageCookieName2, JdStorePageCookie)
|
||||||
api.FeieAPI.SetCookieWithStr(feiePageCookie)
|
api.FeieAPI.SetCookieWithStr(feiePageCookie)
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
package jdshop
|
package jdshop
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"regexp"
|
"regexp"
|
||||||
|
|
||||||
"git.rosy.net.cn/baseapi/platformapi/jdshopapi"
|
"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) {
|
func (p *PurchaseHandler) CreateStoreCategory(ctx *jxcontext.Context, storeID int, vendorStoreID string, storeCat *dao.SkuStoreCatInfo) (err error) {
|
||||||
if globals.EnableJdShopWrite && vendorStoreID == model.JdShopMainVendorStoreID {
|
if globals.EnableJdShopWrite && vendorStoreID == model.JdShopMainVendorStoreID {
|
||||||
fmt.Println("test1111111111111111111111", partner.GetMultiStoreVendorIDs())
|
|
||||||
err = updateOrCreateCategories(storeCat, true)
|
err = updateOrCreateCategories(storeCat, true)
|
||||||
}
|
}
|
||||||
return err
|
return err
|
||||||
|
|||||||
Reference in New Issue
Block a user