fix
This commit is contained in:
@@ -25,14 +25,22 @@ service shopping-cart {
|
||||
|
||||
//加入购物车
|
||||
type AddToCartReq {
|
||||
ProductId int64 `json:"product_id"` //产品id
|
||||
TemplateId int64 `json:"template_id"` //模板id
|
||||
SizeId int64 `json:"size_id"` //尺寸id
|
||||
FittingId int64 `json:"fitting_id"` //配件id
|
||||
PurchaseQuantity int64 `json:"purchase_quantity"` //购买数量
|
||||
Logo string `json:"logo"` //logo地址
|
||||
CombineImage string `json:"combine_image"` //合图地址
|
||||
RenderImage string `json:"render_image"` //渲染结果图
|
||||
ProductId int64 `json:"product_id"` //产品id
|
||||
TemplateId int64 `json:"template_id,optional"` //模板id(不可定制的不传)
|
||||
SizeId int64 `json:"size_id"` //尺寸id
|
||||
FittingId int64 `json:"fitting_id,optional"` //配件id(没有可以不传)
|
||||
PurchaseQuantity int64 `json:"purchase_quantity"` //购买数量
|
||||
Logo string `json:"logo,optional"` //logo地址(没有可以不传)
|
||||
CombineImage string `json:"combine_image,optional"` //合图地址 (没有可以不传)
|
||||
RenderImage string `json:"render_image,optional"` //渲染结果图 (没有可以不传)
|
||||
DiyInfo DiyInfo `json:"diy_info,optional"` //用户diy数据(可选)
|
||||
}
|
||||
type DiyInfo {
|
||||
Phone string `json:"phone,optional"` //电话(可选)
|
||||
Address string `json:"address,optional"` //地址 (可选)
|
||||
Website string `json:"website,optional"` //网站 (可选)
|
||||
Qrcode string `json:"qrcode,optional"` //二维码 (可选)
|
||||
Slogan string `json:"slogan,optional"` //slogan (可选)
|
||||
}
|
||||
//删除购物车
|
||||
type DeleteCartReq {
|
||||
|
||||
Reference in New Issue
Block a user