列表总数获取失败

This commit is contained in:
xiangheng
2024-05-14 11:32:52 +08:00
parent 68f72278bf
commit c7cadf17ad
14 changed files with 14 additions and 14 deletions

View File

@@ -56,7 +56,7 @@ func (albSrv albumService) AlbumList(page request.PageReq, listReq CommonAlbumLi
// 总数
var count int64
err := albumModel.Count(&count).Error
if e = response.CheckErr(err, "AlbumList Count err"); e != nil {
if e = response.CheckErr(err, "Album列表总数获取失败"); e != nil {
return
}
// 数据