This commit is contained in:
laodaming 2023-07-19 17:36:27 +08:00
parent 99bd3592af
commit 37078d5772

View File

@ -45,7 +45,7 @@ func (l *GetProductListLogic) GetProductList(req *types.GetProductListReq, useri
}
return resp.SetStatusWithMessage(basic.CodeOK, "success", demo)
}
if req.Page <= 0 && req.Page > 10000 {
if req.Page <= 0{
req.Page = constants.DEFAULT_PAGE
}
//获取合适尺寸