api/v1/test/product.go
@@ -229,14 +229,13 @@ if err != nil || getProductListResponse.Code != 0 { global.GVA_LOG.Error("获取失败!", zap.Error(err)) response.FailWithMessage("获取失败", c) return } else { response.OkWithDetailed(response.PageResult{ List: productList, Total: int64(len(productList)), Page: pageInfo.Page, PageSize: pageInfo.PageSize, }, "获取成功", c) } response.OkWithDetailed(response.PageResult{ List: productList, Total: int64(len(productList)), Page: pageInfo.Page, PageSize: pageInfo.PageSize, }, "获取成功", c) }