Merge branch 'develop' of https://gitee.com/fusenpack/fusenapi into develop

This commit is contained in:
eson 2023-07-24 12:18:43 +08:00
commit 98ae3e2106
5 changed files with 17 additions and 17 deletions

View File

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

View File

@ -223,7 +223,7 @@ func (l *GetTagProductListLogic) dealWithTagMenuData(req dealWithTagMenuDataReq)
TagProductList: nil, TagProductList: nil,
TypeName: *tagInfo.Title, TypeName: *tagInfo.Title,
TypeId: tagInfo.Id, TypeId: tagInfo.Id,
Level: *tagInfo.Level, Level: int64(lenLevel),
LevelPrefix: *tagInfo.LevelPrefix, LevelPrefix: *tagInfo.LevelPrefix,
Icon: *tagInfo.Icon, Icon: *tagInfo.Icon,
Sort: *tagInfo.Sort, Sort: *tagInfo.Sort,
@ -330,7 +330,7 @@ func (l *GetTagProductListLogic) getTagProducts(req getTagProductsReq) (productL
IsEnv: *productInfo.IsProtection, IsEnv: *productInfo.IsProtection,
IsMicro: *productInfo.IsMicrowave, IsMicro: *productInfo.IsMicrowave,
SizeNum: uint32(sizeNum), SizeNum: uint32(sizeNum),
MiniPrice: minPrice, MinPrice: minPrice,
HaveOptionalFitting: haveOptionalFitting, HaveOptionalFitting: haveOptionalFitting,
} }
//千人千面处理 //千人千面处理

View File

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

View File

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

View File

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