推荐分类

This commit is contained in:
苏尹岚
2019-12-03 11:09:06 +08:00
parent d570664efa
commit ab9bdbbff9

View File

@@ -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
}