Merge branch 'develop' into feature/mhw-v1.01
This commit is contained in:
@@ -79,7 +79,6 @@ service home-user-auth {
|
||||
|
||||
type (
|
||||
UserLogoTemplateTagSetReq {
|
||||
LogoSelectedId int64 `form:"logo_selected_id"`
|
||||
TemplateTag string `form:"template_tag"`
|
||||
TemplateTagColorIndex int64 `form:"template_tag_color_index"`
|
||||
}
|
||||
|
||||
@@ -13,6 +13,9 @@ service product-template-tag {
|
||||
//获取产品模板标签列表
|
||||
@handler GetProductTemplateTagsHandler
|
||||
get /api/product-template-tag/get_product_template_tags(GetProductTemplateTagsReq) returns (response);
|
||||
//根据模板标签跟logo还有选择颜色的索引获取颜色
|
||||
@handler GetTemplateTagColorHandler
|
||||
get /api/product-template-tag/get_template_tag_color(GetTemplateTagColorReq) returns (response);
|
||||
}
|
||||
|
||||
//获取产品模板标签列表
|
||||
@@ -28,4 +31,15 @@ type GetProductTemplateTagsRsp {
|
||||
CoverMetadata interface{} `json:"cover_metadata"`
|
||||
Colors [][]string `json:"colors"`
|
||||
SelectedColorIndex int `json:"selected_color_index"`
|
||||
}
|
||||
//根据模板标签跟logo还有选择颜色的索引获取颜色
|
||||
type GetTemplateTagColorReq {
|
||||
Logo string `form:"logo"`
|
||||
TemplateTag string `form:"template_tag"`
|
||||
SelectedColorIndex int `form:"selected_color_index"`
|
||||
}
|
||||
type GetTemplateTagColorRsp {
|
||||
Colors [][]string `json:"colors"`
|
||||
SelectedColorIndex int `json:"selected_color_index"`
|
||||
TemplateTagGroups interface{} `json:"template_tag_groups"`
|
||||
}
|
||||
@@ -52,21 +52,23 @@ type GetCartsReq {
|
||||
CurrentPage int `form:"current_page"` //当前页
|
||||
}
|
||||
type GetCartsRsp {
|
||||
Meta Meta `json:"meta"` //分页信息
|
||||
CartList []CartItem `json:"cart_list"`
|
||||
Meta Meta `json:"meta"` //分页信息
|
||||
AllCartIdArray []int64 `json:"all_cartId_array"` //全部购物车id(不分页)
|
||||
CartList []CartItem `json:"cart_list"`
|
||||
}
|
||||
type CartItem {
|
||||
CartId int64 `json:"cart_id"`
|
||||
ProductInfo ProductInfo `json:"product_info"` //产品信息
|
||||
SizeInfo SizeInfo `json:"size_info"` //尺寸信息
|
||||
FittingInfo FittingInfo `json:"fitting_info"` //配件信息
|
||||
ItemPrice string `json:"item_price"` //单价
|
||||
TotalPrice string `json:"total_price"` //单价X数量=总价
|
||||
DiyInformation DiyInformation `json:"diy_information"` //diy信息
|
||||
StepNum []int64 `json:"step_num"` //阶梯数量
|
||||
PurchaseQuantity int64 `json:"purchase_quantity"` //当前购买数量
|
||||
IsInvalid bool `json:"is_invalid"` //是否无效
|
||||
InvalidDescription string `json:"invalid_description"` //无效原因
|
||||
ProductInfo ProductInfo `json:"product_info"` //产品信息
|
||||
SizeInfo SizeInfo `json:"size_info"` //尺寸信息
|
||||
FittingInfo FittingInfo `json:"fitting_info"` //配件信息
|
||||
ItemPrice string `json:"item_price"` //单价
|
||||
TotalPrice string `json:"total_price"` //单价X数量=总价
|
||||
DiyInformation DiyInformation `json:"diy_information"` //diy信息
|
||||
StepNum []int64 `json:"step_num"` //阶梯数量
|
||||
PurchaseQuantity int64 `json:"purchase_quantity"` //当前购买数量
|
||||
IsHighlyCustomized bool `json:"is_highly_customized"` //是否高度定制
|
||||
IsInvalid bool `json:"is_invalid"` //是否无效
|
||||
InvalidDescription string `json:"invalid_description"` //无效原因
|
||||
}
|
||||
type ProductInfo {
|
||||
ProductId int64 `json:"product_id"` //产品id
|
||||
|
||||
Reference in New Issue
Block a user