fix
This commit is contained in:
@@ -29,7 +29,7 @@ service shopping-cart {
|
||||
//加入购物车
|
||||
type AddToCartReq {
|
||||
ProductId int64 `json:"product_id"` //产品id
|
||||
ProductWebsiteUnit string `json:"product_website_unit,optional"` //产品单位
|
||||
ProductWebsiteUnit ProductWebsiteUnit `json:"product_website_unit,optional"` //产品单位
|
||||
TemplateId int64 `json:"template_id,optional"` //模板id(不可定制的不传)
|
||||
IsHighlyCustomized int64 `json:"is_highly_customized"` //是否高度定制
|
||||
SelectColorIndex int64 `json:"select_color_index"` //选择的颜色索引
|
||||
@@ -42,6 +42,10 @@ type AddToCartReq {
|
||||
SwitchInfo map[string]interface{} `json:"switch_info,optional"` //开关信息
|
||||
DiyInfo DiyInfo `json:"diy_info,optional"` //用户diy数据(可选)
|
||||
}
|
||||
type ProductWebsiteUnit {
|
||||
Singular string `json:"singular"`
|
||||
Complex string `json:"complex"`
|
||||
}
|
||||
type DiyInfo {
|
||||
Phone string `json:"phone,optional"` //电话(可选)
|
||||
Address string `json:"address,optional"` //地址 (可选)
|
||||
|
||||
Reference in New Issue
Block a user