fix
This commit is contained in:
@@ -256,11 +256,11 @@ func (l *GetCloudListLogic) GetCloudList(req *types.GetCloudListReq, userinfo *a
|
||||
TransitBoxes: transitBoxes,
|
||||
MinTakeNum: 3,
|
||||
ListData: listDataRsp,
|
||||
Pagnation: types.Pagnation{
|
||||
TotalCount: total,
|
||||
TotalPage: int64(math.Ceil(float64(total) / float64(req.PageSize))),
|
||||
CurPage: req.Page,
|
||||
PageSize: req.PageSize,
|
||||
Meta: types.Meta{
|
||||
TotalCount: total,
|
||||
PageCount: int64(math.Ceil(float64(total) / float64(req.PageSize))),
|
||||
CurrentPage: req.Page,
|
||||
PerPage: req.PageSize,
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user