fix
This commit is contained in:
@@ -21,9 +21,9 @@ type GetCanteenDetailReq {
|
||||
Id int64 `json:"id"`
|
||||
}
|
||||
type GetCanteenDetailRsp {
|
||||
Id int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
ProductList []CanteenProduct `json:"product_list"`
|
||||
Id int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
ProductList []*CanteenProduct `json:"product_list"`
|
||||
}
|
||||
type CanteenProduct {
|
||||
Id int64 `json:"id"`
|
||||
|
||||
@@ -19,10 +19,10 @@ service map-library {
|
||||
|
||||
//获取贴图库列表
|
||||
type GetMapLibraryListRsp {
|
||||
Mid int64 `json:"mid"`
|
||||
Ctime string `json:"ctime"`
|
||||
Tag MapLibraryListTag `json:"tag"`
|
||||
Info interface{} `json:"info"`
|
||||
Mid int64 `json:"mid"`
|
||||
Ctime string `json:"ctime"`
|
||||
Tag *MapLibraryListTag `json:"tag"`
|
||||
Info interface{} `json:"info"`
|
||||
}
|
||||
type MapLibraryListTag {
|
||||
Id int64 `json:"id"`
|
||||
@@ -43,33 +43,33 @@ type Tag {
|
||||
Title string `json:"title,optional"`
|
||||
}
|
||||
type Info {
|
||||
Id string `json:"id,optional"`
|
||||
Tag string `json:"tag,optional"`
|
||||
Title string `json:"title,optional"`
|
||||
Type string `json:"type,optional"`
|
||||
Text string `json:"text,optional"`
|
||||
Fill string `json:"fill,optional"`
|
||||
FontSize int64 `json:"fontSize,optional"`
|
||||
FontFamily string `json:"fontFamily,optional"`
|
||||
IfBr bool `json:"ifBr,optional"`
|
||||
IfShow bool `json:"ifShow,optional"`
|
||||
IfGroup bool `json:"ifGroup,optional"`
|
||||
MaxNum int64 `json:"maxNum,optional"`
|
||||
Rotation int64 `json:"rotation,optional"`
|
||||
Align string `json:"align,optional"`
|
||||
VerticalAlign string `json:"verticalAlign,optional"`
|
||||
Material string `json:"material,optional"`
|
||||
Width float64 `json:"width,optional"`
|
||||
Height float64 `json:"height,optional"`
|
||||
X float64 `json:"x,optional"`
|
||||
Y float64 `json:"Y,optional"`
|
||||
Opacity float64 `json:"opacity,optional"`
|
||||
OptionalColor []OptionalColor `json:"optionalColor,optional"`
|
||||
ZIndex int64 `json:"zIndex,optional"`
|
||||
SvgPath string `json:"svgPath,optional"`
|
||||
Follow Follow `json:"follow,optional"`
|
||||
Group []Group `json:"group,optional"`
|
||||
CameraStand CameraStand `json:"cameraStand,optional"`
|
||||
Id string `json:"id,optional"`
|
||||
Tag string `json:"tag,optional"`
|
||||
Title string `json:"title,optional"`
|
||||
Type string `json:"type,optional"`
|
||||
Text string `json:"text,optional"`
|
||||
Fill string `json:"fill,optional"`
|
||||
FontSize int64 `json:"fontSize,optional"`
|
||||
FontFamily string `json:"fontFamily,optional"`
|
||||
IfBr bool `json:"ifBr,optional"`
|
||||
IfShow bool `json:"ifShow,optional"`
|
||||
IfGroup bool `json:"ifGroup,optional"`
|
||||
MaxNum int64 `json:"maxNum,optional"`
|
||||
Rotation int64 `json:"rotation,optional"`
|
||||
Align string `json:"align,optional"`
|
||||
VerticalAlign string `json:"verticalAlign,optional"`
|
||||
Material string `json:"material,optional"`
|
||||
Width float64 `json:"width,optional"`
|
||||
Height float64 `json:"height,optional"`
|
||||
X float64 `json:"x,optional"`
|
||||
Y float64 `json:"Y,optional"`
|
||||
Opacity float64 `json:"opacity,optional"`
|
||||
OptionalColor []*OptionalColor `json:"optionalColor,optional"`
|
||||
ZIndex int64 `json:"zIndex,optional"`
|
||||
SvgPath string `json:"svgPath,optional"`
|
||||
Follow Follow `json:"follow,optional"`
|
||||
Group []*Group `json:"group,optional"`
|
||||
CameraStand CameraStand `json:"cameraStand,optional"`
|
||||
}
|
||||
type Group {
|
||||
Tag string `json:"tag,optional"`
|
||||
|
||||
@@ -31,18 +31,18 @@ type GetOrderDetailReq {
|
||||
Size int64 `form:"size, optional"`
|
||||
}
|
||||
type GetOrderDetailRsp {
|
||||
Id int64 `json:"id"`
|
||||
TotalAmount int64 `json:"total_amount"`
|
||||
Deposit int64 `json:"deposit"`
|
||||
Remaining int64 `json:"remaining"`
|
||||
IsPayCompleted int64 `json:"is_pay_completed"`
|
||||
DeliveryMethod int64 `json:"delivery_method"`
|
||||
Sn string `json:"sn"`
|
||||
Status int64 `json:"status"`
|
||||
Ctime string `json:"ctime"`
|
||||
PayInfo PayInfo `json:"pay_info"`
|
||||
Address Address `json:"address"`
|
||||
ProductList []Product `json:"productList"`
|
||||
Id int64 `json:"id"`
|
||||
TotalAmount int64 `json:"total_amount"`
|
||||
Deposit int64 `json:"deposit"`
|
||||
Remaining int64 `json:"remaining"`
|
||||
IsPayCompleted int64 `json:"is_pay_completed"`
|
||||
DeliveryMethod int64 `json:"delivery_method"`
|
||||
Sn string `json:"sn"`
|
||||
Status int64 `json:"status"`
|
||||
Ctime string `json:"ctime"`
|
||||
PayInfo *PayInfo `json:"pay_info"`
|
||||
Address *Address `json:"address"`
|
||||
ProductList []*Product `json:"productList"`
|
||||
}
|
||||
type Product {
|
||||
Cover string `json:"cover"`
|
||||
|
||||
@@ -21,7 +21,7 @@ type GetTemplatevDetailReq {
|
||||
type GetTemplatevDetailRsp {
|
||||
ProductModelInfo interface{} `json:"product_model_info"`
|
||||
ProductTemplate ProductTemplate `json:"product_template"`
|
||||
LightList []Light `json:"light_list"`
|
||||
LightList []*Light `json:"light_list"`
|
||||
OptionModelInfo []interface{} `json:"option_model_info"`
|
||||
Tag int64 `json:"tag"`
|
||||
}
|
||||
@@ -31,27 +31,27 @@ type Tag {
|
||||
Title string `json:"title"`
|
||||
}
|
||||
type TemplateInfo {
|
||||
Id int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Cover string `json:"cover"`
|
||||
IsPublic bool `json:"isPublic"`
|
||||
Material string `json:"material"`
|
||||
MaterialList TemplateMateria `json:"materialList"`
|
||||
Id int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Cover string `json:"cover"`
|
||||
IsPublic bool `json:"isPublic"`
|
||||
Material string `json:"material"`
|
||||
MaterialList []*TemplateMateria `json:"materialList"`
|
||||
}
|
||||
type ProductTemplate {
|
||||
CoverImg string `json:"cover_img"`
|
||||
Id int64 `json:"id"`
|
||||
IsPublic bool `json:"is_public"`
|
||||
LogoHeight int64 `json:"logo_height"`
|
||||
LogoWidth int64 `json:"logo_width"`
|
||||
MaterialImg string `json:"material_img"`
|
||||
ModelId int64 `json:"model_id"`
|
||||
Name string `json:"name"`
|
||||
ProductId int64 `json:"product_id"`
|
||||
Sort int64 `json:"sort"`
|
||||
Tag Tag `json:"tag"`
|
||||
TemplateInfo TemplateInfo `json:"template_info"`
|
||||
Title string `json:"title"`
|
||||
CoverImg string `json:"cover_img"`
|
||||
Id int64 `json:"id"`
|
||||
IsPublic bool `json:"is_public"`
|
||||
LogoHeight int64 `json:"logo_height"`
|
||||
LogoWidth int64 `json:"logo_width"`
|
||||
MaterialImg string `json:"material_img"`
|
||||
ModelId int64 `json:"model_id"`
|
||||
Name string `json:"name"`
|
||||
ProductId int64 `json:"product_id"`
|
||||
Sort int64 `json:"sort"`
|
||||
Tag Tag `json:"tag"`
|
||||
TemplateInfo *TemplateInfo `json:"template_info"`
|
||||
Title string `json:"title"`
|
||||
}
|
||||
type Light {
|
||||
Id int64 `json:"id"`
|
||||
@@ -59,38 +59,38 @@ type Light {
|
||||
}
|
||||
|
||||
type TemplateMateria {
|
||||
Id string `json:"id"`
|
||||
Tag string `json:"tag"`
|
||||
Title string `json:"title"`
|
||||
Type string `json:"type"`
|
||||
Text string `json:"text"`
|
||||
Fill string `json:"fill"`
|
||||
FontSize int64 `json:"fontSize"`
|
||||
FontFamily string `json:"fontFamily"`
|
||||
IfBr bool `json:"ifBr"`
|
||||
IfShow bool `json:"ifShow"`
|
||||
IfGroup bool `json:"ifGroup"`
|
||||
MaxNum int64 `json:"maxNum"`
|
||||
Rotation int64 `json:"rotation"`
|
||||
LineHeight int64 `json:"lineHeight"`
|
||||
Align string `json:"align"`
|
||||
VerticalAlign string `json:"verticalAlign"`
|
||||
Material string `json:"material"`
|
||||
MaterialTime string `json:"materialTime"`
|
||||
MaterialName string `json:"materialName"`
|
||||
QRcodeType string `json:"QRcodeType"`
|
||||
Width int64 `json:"width"`
|
||||
Height int64 `json:"height"`
|
||||
Proportion int64 `json:"proportion"`
|
||||
X int64 `json:"x"`
|
||||
Y int64 `json:"y"`
|
||||
Opacity int64 `json:"opacity"`
|
||||
OptionalColor []OptionalColor `json:"optionalColor"`
|
||||
ZIndex int64 `json:"zIndex"`
|
||||
SvgPath string `json:"svgPath"`
|
||||
Follow Follow `json:"follow"`
|
||||
Group []interface{} `json:"group"`
|
||||
CameraStand CameraStand `json:"cameraStand"`
|
||||
Id string `json:"id"`
|
||||
Tag string `json:"tag"`
|
||||
Title string `json:"title"`
|
||||
Type string `json:"type"`
|
||||
Text string `json:"text"`
|
||||
Fill string `json:"fill"`
|
||||
FontSize int64 `json:"fontSize"`
|
||||
FontFamily string `json:"fontFamily"`
|
||||
IfBr bool `json:"ifBr"`
|
||||
IfShow bool `json:"ifShow"`
|
||||
IfGroup bool `json:"ifGroup"`
|
||||
MaxNum int64 `json:"maxNum"`
|
||||
Rotation int64 `json:"rotation"`
|
||||
LineHeight int64 `json:"lineHeight"`
|
||||
Align string `json:"align"`
|
||||
VerticalAlign string `json:"verticalAlign"`
|
||||
Material string `json:"material"`
|
||||
MaterialTime string `json:"materialTime"`
|
||||
MaterialName string `json:"materialName"`
|
||||
QRcodeType string `json:"QRcodeType"`
|
||||
Width int64 `json:"width"`
|
||||
Height int64 `json:"height"`
|
||||
Proportion int64 `json:"proportion"`
|
||||
X int64 `json:"x"`
|
||||
Y int64 `json:"y"`
|
||||
Opacity int64 `json:"opacity"`
|
||||
OptionalColor []*OptionalColor `json:"optionalColor"`
|
||||
ZIndex int64 `json:"zIndex"`
|
||||
SvgPath string `json:"svgPath"`
|
||||
Follow Follow `json:"follow"`
|
||||
Group []interface{} `json:"group"`
|
||||
CameraStand CameraStand `json:"cameraStand"`
|
||||
}
|
||||
type LightInfo {
|
||||
Name string `json:"name"`
|
||||
|
||||
@@ -35,9 +35,9 @@ type GetProductListRsp {
|
||||
Description string `json:"description"`
|
||||
}
|
||||
type Ob {
|
||||
Items []Items `json:"items"`
|
||||
Links Links `json:"_links"`
|
||||
Meta Meta `json:"_meta"`
|
||||
Items []*Items `json:"items"`
|
||||
Links *Links `json:"_links"`
|
||||
Meta *Meta `json:"_meta"`
|
||||
}
|
||||
type Meta {
|
||||
TotalCount int32 `json:"totalCount"`
|
||||
@@ -85,20 +85,20 @@ type GetSuccessRecommandRsp {
|
||||
|
||||
//获取分类下的产品以及尺寸
|
||||
type GetSizeByProductRsp {
|
||||
Id int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Children []Children `json:"children"`
|
||||
Id int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Children []*Children `json:"children"`
|
||||
}
|
||||
type Children {
|
||||
Id int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Cycle int `json:"cycle"`
|
||||
ChildrenList []ChildrenObj `json:"children"`
|
||||
Id int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Cycle int `json:"cycle"`
|
||||
ChildrenList []*ChildrenObj `json:"children"`
|
||||
}
|
||||
type ChildrenObj {
|
||||
Id int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
PriceList []PriceObj `json:"price_list"`
|
||||
Id int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
PriceList []*PriceObj `json:"price_list"`
|
||||
}
|
||||
type PriceObj {
|
||||
Num int `json:"num"`
|
||||
|
||||
@@ -47,19 +47,19 @@ type CartListReq {
|
||||
Size uint32 `form:"size"`
|
||||
}
|
||||
type CartListRsp {
|
||||
Id int64 `json:"id"`
|
||||
Cover string `json:"cover"`
|
||||
Name string `json:"name"`
|
||||
Capacity string `json:"capacity"`
|
||||
ETA string `json:"ETA"`
|
||||
Pcs int64 `json:"pcs"`
|
||||
ProductSn string `json:"product_sn"`
|
||||
DesignSn string `json:"designSn"`
|
||||
Option CartOption `json:"option"`
|
||||
IsCheck int64 `json:"is_check"`
|
||||
TsTime string `json:"ts_time"`
|
||||
PcsList []PcsItem `json:"pcs_list"`
|
||||
Size CartSizeItem `json:"size"`
|
||||
Id int64 `json:"id"`
|
||||
Cover string `json:"cover"`
|
||||
Name string `json:"name"`
|
||||
Capacity string `json:"capacity"`
|
||||
ETA string `json:"ETA"`
|
||||
Pcs int64 `json:"pcs"`
|
||||
ProductSn string `json:"product_sn"`
|
||||
DesignSn string `json:"designSn"`
|
||||
Option *CartOption `json:"option"`
|
||||
IsCheck int64 `json:"is_check"`
|
||||
TsTime string `json:"ts_time"`
|
||||
PcsList []*PcsItem `json:"pcs_list"`
|
||||
Size *CartSizeItem `json:"size"`
|
||||
}
|
||||
type CartOption {
|
||||
Id int64 `json:"id"`
|
||||
@@ -81,16 +81,16 @@ type CartOrderDetailReq {
|
||||
Sn string `form:"sn"`
|
||||
}
|
||||
type CartOrderDetailRsp {
|
||||
DeliveryMethod int64 `json:"delivery_method"`
|
||||
AddressId int64 `json:"address_id"`
|
||||
PayTime string `json:"pay_time"`
|
||||
PayMethod int64 `json:"pay_method"`
|
||||
PayStep int64 `json:"pay_step"`
|
||||
Subtotal string `json:"subtotal"`
|
||||
Total string `json:"total"`
|
||||
Remaining string `json:"remaining"`
|
||||
AddrList []CartAddr `json:"addr_list"`
|
||||
Items []CartDetailItem `json:"items"`
|
||||
DeliveryMethod int64 `json:"delivery_method"`
|
||||
AddressId int64 `json:"address_id"`
|
||||
PayTime string `json:"pay_time"`
|
||||
PayMethod int64 `json:"pay_method"`
|
||||
PayStep int64 `json:"pay_step"`
|
||||
Subtotal string `json:"subtotal"`
|
||||
Total string `json:"total"`
|
||||
Remaining string `json:"remaining"`
|
||||
AddrList []*CartAddr `json:"addr_list"`
|
||||
Items []*CartDetailItem `json:"items"`
|
||||
}
|
||||
type CartDetailItem {
|
||||
Cover string `json:"cover"`
|
||||
|
||||
Reference in New Issue
Block a user