This commit is contained in:
苏尹岚
2021-03-24 15:29:31 +08:00
parent bba3e273f6
commit dda5e519bb

View File

@@ -688,7 +688,8 @@ func GetSkuNames(ctx *jxcontext.Context, keyword string, isBySku, isQueryMidPric
LIMIT ? OFFSET ?`
pageSize = jxutils.FormalizePageSize(pageSize)
offset = jxutils.FormalizePageOffset(offset)
fmt.Println(sqlData)
fmt.Println(sqlParams)
sqlParams = append(sqlParams, pageSize, offset)
skuNamesInfo = &SkuNamesInfo{}
dao.Begin(db) // todo 这里用事务的原因是SQL_CALC_FOUND_ROWS会出错