This commit is contained in:
苏尹岚
2021-02-07 12:12:28 +08:00
parent c7a751933b
commit 813e8c6e0c

View File

@@ -416,6 +416,11 @@ func GetStoreCategories(db *DaoDB, vendorID, storeID int, skuIDs []int, level in
sql += " AND t4.level = ?"
sqlParams = append(sqlParams, level)
}
if storeID == 102902 {
fmt.Println(sql)
fmt.Println(sqlParams)
}
if err = GetRows(db, &cats, fmt.Sprintf(sql, fieldPrefixParams...), sqlParams...); err != nil {
return nil, err
}