This commit is contained in:
laodaming 2023-07-24 10:30:08 +08:00
parent 72a6412eed
commit 1e2f6d8b7f
5 changed files with 16 additions and 16 deletions

View File

@ -143,14 +143,14 @@ func (l *GetProductListLogic) GetProductList(req *types.GetProductListReq, useri
sizeNum = mapSizeNum
}
item := types.Items{
Id: v.Id,
Sn: *v.Sn,
Title: *v.Title,
Intro: *v.Intro,
IsEnv: *v.IsProtection,
IsMicro: *v.IsMicrowave,
SizeNum: uint32(sizeNum),
MiniPrice: minPrice,
Id: v.Id,
Sn: *v.Sn,
Title: *v.Title,
Intro: *v.Intro,
IsEnv: *v.IsProtection,
IsMicro: *v.IsMicrowave,
SizeNum: uint32(sizeNum),
MinPrice: minPrice,
}
//千人千面处理
r := image.ThousandFaceImageFormatReq{

View File

@ -330,7 +330,7 @@ func (l *GetTagProductListLogic) getTagProducts(req getTagProductsReq) (productL
IsEnv: *productInfo.IsProtection,
IsMicro: *productInfo.IsMicrowave,
SizeNum: uint32(sizeNum),
MiniPrice: minPrice,
MinPrice: minPrice,
HaveOptionalFitting: haveOptionalFitting,
}
//千人千面处理

View File

@ -153,7 +153,7 @@ func (l *HomePageRecommendProductListLogic) HomePageRecommendProductList(req *ty
IsEnv: *productInfo.IsProtection,
IsMicro: *productInfo.IsMicrowave,
SizeNum: uint32(sizeNum),
MiniPrice: minPrice,
MinPrice: minPrice,
HaveOptionalFitting: haveOptionalFitting,
}
//千人千面处理

View File

@ -33,7 +33,7 @@ type Items struct {
IsEnv int64 `json:"isEnv"`
IsMicro int64 `json:"isMicro"`
SizeNum uint32 `json:"sizeNum"`
MiniPrice int64 `json:"miniPrice"`
MinPrice int64 `json:"minPrice"`
CoverDefault string `json:"coverDefault"`
}
@ -279,7 +279,7 @@ type TagProduct struct {
IsEnv int64 `json:"is_env"`
IsMicro int64 `json:"is_micro"`
SizeNum uint32 `json:"size_num"`
MiniPrice int64 `json:"mini_price"`
MinPrice int64 `json:"min_price"`
CoverDefault string `json:"cover_default"`
HaveOptionalFitting bool `json:"have_optional_fitting"`
}
@ -401,7 +401,7 @@ type HomePageRecommendProductListRsp struct {
IsEnv int64 `json:"is_env"`
IsMicro int64 `json:"is_micro"`
SizeNum uint32 `json:"size_num"`
MiniPrice int64 `json:"mini_price"`
MinPrice int64 `json:"min_price"`
CoverDefault string `json:"cover_default"`
HaveOptionalFitting bool `json:"have_optional_fitting"`
}

View File

@ -103,7 +103,7 @@ type Items {
IsEnv int64 `json:"isEnv"`
IsMicro int64 `json:"isMicro"`
SizeNum uint32 `json:"sizeNum"`
MiniPrice int64 `json:"miniPrice"`
MinPrice int64 `json:"minPrice"`
CoverDefault string `json:"coverDefault"`
}
//获取支付成功后推荐产品
@ -328,7 +328,7 @@ type TagProduct {
IsEnv int64 `json:"is_env"`
IsMicro int64 `json:"is_micro"`
SizeNum uint32 `json:"size_num"`
MiniPrice int64 `json:"mini_price"`
MinPrice int64 `json:"min_price"`
CoverDefault string `json:"cover_default"`
HaveOptionalFitting bool `json:"have_optional_fitting"`
}
@ -443,7 +443,7 @@ type HomePageRecommendProductListRsp {
IsEnv int64 `json:"is_env"`
IsMicro int64 `json:"is_micro"`
SizeNum uint32 `json:"size_num"`
MiniPrice int64 `json:"mini_price"`
MinPrice int64 `json:"min_price"`
CoverDefault string `json:"cover_default"`
HaveOptionalFitting bool `json:"have_optional_fitting"`
}