新增:获取系统商品列表-分页 库存排序

This commit is contained in:
2024-05-22 11:39:24 +08:00
parent 747dd0c306
commit 22e50153de
4 changed files with 29 additions and 16 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ func (r *Product) GetProductPlatform(c *gin.Context) {
func (r *Product) GetProductPage(c *gin.Context) {
productRequest := requests.ProductRequest{}
req := productRequest.GetProductPage
if err := c.ShouldBind(&req); err != nil {
if err := c.ShouldBindJSON(&req); err != nil {
responses.FailWithMessage(err.Error(), c)
return
}