From 9400fcfaeb4804dc4fcdc4210d228df88ba3e46d Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Fri, 21 Jul 2023 17:32:15 +0800 Subject: [PATCH] fix --- server/product/internal/types/types.go | 2 +- server_api/product.api | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/product/internal/types/types.go b/server/product/internal/types/types.go index 8e21b3e8..9859cb9f 100644 --- a/server/product/internal/types/types.go +++ b/server/product/internal/types/types.go @@ -309,7 +309,7 @@ type GetPriceByPidRsp struct { Items []PriceItem `json:"items"` MinPrice float64 `json:"min_price"` MaxPrice float64 `json:"max_price"` - StepRange []StepRange `json:"step_price"` + StepRange []StepRange `json:"step_range"` } type StepRange struct { diff --git a/server_api/product.api b/server_api/product.api index f3cac168..11354e6f 100644 --- a/server_api/product.api +++ b/server_api/product.api @@ -357,7 +357,7 @@ type GetPriceByPidRsp { Items []PriceItem `json:"items"` MinPrice float64 `json:"min_price"` MaxPrice float64 `json:"max_price"` - StepRange []StepRange `json:"step_price"` + StepRange []StepRange `json:"step_range"` } type StepRange { RangeNum RangeNum `json:"range_num"`