银豹cookie
This commit is contained in:
@@ -363,6 +363,8 @@ func GetStoreCategories(db *DaoDB, vendorID, storeID int, skuIDs []int, level in
|
|||||||
sql += " AND t4.level = ?"
|
sql += " AND t4.level = ?"
|
||||||
sqlParams = append(sqlParams, level)
|
sqlParams = append(sqlParams, level)
|
||||||
}
|
}
|
||||||
|
fmt.Println(sql)
|
||||||
|
fmt.Println(sqlParams)
|
||||||
if err = GetRows(db, &cats, fmt.Sprintf(sql, fieldPrefixParams...), sqlParams...); err != nil {
|
if err = GetRows(db, &cats, fmt.Sprintf(sql, fieldPrefixParams...), sqlParams...); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -181,8 +181,6 @@ func (p *PurchaseHandler) CreateStoreCategory(ctx *jxcontext.Context, storeID in
|
|||||||
catName = utils.FilterEmoji(storeCat.Name)
|
catName = utils.FilterEmoji(storeCat.Name)
|
||||||
parentCatName = utils.FilterEmoji(storeCat.ParentCatName)
|
parentCatName = utils.FilterEmoji(storeCat.ParentCatName)
|
||||||
)
|
)
|
||||||
fmt.Println("test1111111111111111111111", api.YinBaoAPI.GetCookie(".POSPALAUTH30220"))
|
|
||||||
fmt.Println("test22222222222222222222", api.YinBaoAPI.GetCookie("pageOpenCount"))
|
|
||||||
vendorCatID, err := api.YinBaoAPI.AddNewCategory(vendorStoreID, catName, parentCatName)
|
vendorCatID, err := api.YinBaoAPI.AddNewCategory(vendorStoreID, catName, parentCatName)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
storeCat.VendorCatID = vendorCatID
|
storeCat.VendorCatID = vendorCatID
|
||||||
|
|||||||
Reference in New Issue
Block a user