fix
This commit is contained in:
@@ -14,7 +14,7 @@ service map-library {
|
||||
get /map-library/list ( ) returns (response);
|
||||
//保存贴图信息
|
||||
@handler SaveMapLibraryHandler
|
||||
post /map-library/save (SaveMapLibraryReq) returns (response);
|
||||
post /map-library/save () returns (response);
|
||||
}
|
||||
|
||||
//获取贴图库列表
|
||||
@@ -30,70 +30,67 @@ type MapLibraryListTag {
|
||||
}
|
||||
|
||||
//保存贴图信息
|
||||
type SaveMapLibraryReq {
|
||||
Data []SaveMapLibraryData `json:"-"`
|
||||
}
|
||||
type SaveMapLibraryData {
|
||||
Mid string `json:"mid"`
|
||||
Tid string `json:"tid"`
|
||||
Ctime string `json:"ctime"`
|
||||
Tag Tag `json:"tag"`
|
||||
Info Info `json:"info"`
|
||||
Tag Tag `json:"tag,optional"`
|
||||
Info Info `json:"info,optional"`
|
||||
}
|
||||
|
||||
type Tag {
|
||||
Id int64 `json:"id"`
|
||||
Title string `json:"title"`
|
||||
Id int64 `json:"id,optional"`
|
||||
Title string `json:"title,optional"`
|
||||
}
|
||||
type Info {
|
||||
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"`
|
||||
Align string `json:"align"`
|
||||
VerticalAlign string `json:"verticalAlign"`
|
||||
Material string `json:"material"`
|
||||
Width float64 `json:"width"`
|
||||
Height float64 `json:"height"`
|
||||
X float64 `json:"x"`
|
||||
Y float64 `json:"Y"`
|
||||
Opacity float64 `json:"opacity"`
|
||||
OptionalColor []OptionalColor `json:"optionalColor"`
|
||||
ZIndex int64 `json:"zIndex"`
|
||||
SvgPath string `json:"svgPath"`
|
||||
Follow Follow `json:"follow"`
|
||||
Group []Group `json:"group"`
|
||||
CameraStand CameraStand `json:"cameraStand"`
|
||||
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"`
|
||||
Text string `json:"text"`
|
||||
Title string `json:"title"`
|
||||
IfBr bool `json:"ifBr"`
|
||||
IfShow bool `json:"ifShow"`
|
||||
MaxNum int64 `json:"maxNum"`
|
||||
Tag string `json:"tag,optional"`
|
||||
Text string `json:"text,optional"`
|
||||
Title string `json:"title,optional"`
|
||||
IfBr bool `json:"ifBr,optional"`
|
||||
IfShow bool `json:"ifShow,optional"`
|
||||
MaxNum int64 `json:"maxNum,optional"`
|
||||
}
|
||||
type OptionalColor {
|
||||
OptionalColor string `json:"color"`
|
||||
Name string `json:"name"`
|
||||
Default bool `json:"default"`
|
||||
OptionalColor string `json:"color,optional"`
|
||||
Name string `json:"name,optional"`
|
||||
Default bool `json:"default,optional"`
|
||||
}
|
||||
type Follow {
|
||||
Fill string `json:"fill"`
|
||||
IfShow string `json:"ifShow"`
|
||||
Content string `json:"content"`
|
||||
Fill string `json:"fill,optional"`
|
||||
IfShow string `json:"ifShow,optional"`
|
||||
Content string `json:"content,optional"`
|
||||
}
|
||||
type CameraStand {
|
||||
X int64 `json:"x"`
|
||||
Y int64 `json:"y"`
|
||||
Z int64 `json:"z"`
|
||||
X int64 `json:"x,optional"`
|
||||
Y int64 `json:"y,optional"`
|
||||
Z int64 `json:"z,optional"`
|
||||
}
|
||||
Reference in New Issue
Block a user