修复分页传参错误的问题

This commit is contained in:
徐俊杰 2023-03-29 23:07:28 +08:00
parent 01b8c6c6e2
commit 496e192765

View File

@ -253,7 +253,7 @@ func (a ArtistInfoArtworkLogic) ArtworkStatic(request *artistInfoArtwork.ArtistA
PageSize: int64(request.PageSize),
Total: total,
}
viewDatas, err := dao.PassedArtworkStatic(request, artistUids)
viewDatas, err := dao.PassedArtworkStatic(&artistInfoArtwork.ArtistArtworkStaticRequest{Page: 1, PageSize: -1}, artistUids)
if err != nil {
return nil, err
}