|
@@ -241,7 +241,7 @@ func BuyerListRedisCache(query string, in *bxbuyer.BuyerListReq) (buyerNames []s
|
|
|
}
|
|
|
// 根据页码返回数据
|
|
|
start := in.PageSize * (in.PageNum - 1)
|
|
|
- end := in.PageSize*in.PageNum + 1
|
|
|
+ end := in.PageSize * in.PageNum
|
|
|
resp.Data.Count = int64(len(saveBuyerList))
|
|
|
if end > int64(len(saveBuyerList)-1) {
|
|
|
end = int64(len(saveBuyerList) - 1)
|