银豹cookie

This commit is contained in:
苏尹岚
2020-03-26 15:49:45 +08:00
parent d4fc40f328
commit 29b174d352
2 changed files with 1 additions and 1 deletions

View File

@@ -266,7 +266,6 @@ func Init() {
api.JdPageAPI.SetCookie(jdapi.AccessStorePageCookieName, JdStorePageCookie)
api.JdPageAPI.SetCookie(jdapi.AccessStorePageCookieName2, JdStorePageCookie)
api.YinBaoAPI.SetCookie(".POSPALAUTH30220", yinbaoCookie)
api.YinBaoAPI.SetCookie("pageOpenCount", utils.Int2Str(api.YinBaoAPI.GetPageCount()))
}
func syncStoreSku() {

View File

@@ -178,6 +178,7 @@ 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.EnableYbStoreWrite {
api.YinBaoAPI.SetCookie("pageOpenCount", utils.Int2Str(api.YinBaoAPI.GetPageCount()))
vendorOrgCode, err := getVendorOrgCode(storeID)
if err != nil {
return err