推荐分类
This commit is contained in:
@@ -722,7 +722,7 @@ func GetTopCategorysByStoreIDs(db *DaoDB, storeIDs []int) (skuCategory []*model.
|
||||
ORDER BY t1.count DESC
|
||||
LIMIT ?
|
||||
`
|
||||
sqlParams = append(sqlParams, 100, 10, 2, utils.DefaultTimeValue)
|
||||
sqlParams = append(sqlParams, 100, 2, utils.DefaultTimeValue, 10)
|
||||
err = GetRows(db, &skuCategory, sql, sqlParams...)
|
||||
return skuCategory, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user