fix
This commit is contained in:
@@ -19,40 +19,13 @@ type GetTemplatevDetailReq {
|
||||
TemplateId int64 `form:"template_id"`
|
||||
}
|
||||
type GetTemplatevDetailRsp {
|
||||
ProductModelInfo ProductModelInfo `json:"product_model_info"`
|
||||
ProductTemplate ProductTemplate `json:"product_template"`
|
||||
LightList []Light `json:"light_list"`
|
||||
OptionModelInfo []interface{} `json:"option_model_info"`
|
||||
Tag int64 `json:"tag"`
|
||||
ProductModelInfo interface{} `json:"product_model_info"`
|
||||
ProductTemplate ProductTemplate `json:"product_template"`
|
||||
LightList []Light `json:"light_list"`
|
||||
OptionModelInfo []interface{} `json:"option_model_info"`
|
||||
Tag int64 `json:"tag"`
|
||||
}
|
||||
|
||||
type ProductModelInfo {
|
||||
Id int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
KnifeTerritory string `json:"knifeTerritory"`
|
||||
Cover string `json:"cover"`
|
||||
CameraData CameraData `json:"cameraData"`
|
||||
ControlsData ControlsData `json:"controlsData"`
|
||||
Material ModelMaterial `json:"material"`
|
||||
ModelData ModelData `json:"modelData"`
|
||||
LightData int64 `json:"lightData"`
|
||||
LightList []int64 `json:"lightList"`
|
||||
Parts string `json:"parts"`
|
||||
PartsList []int64 `json:"partsList"`
|
||||
Tag int64 `json:"tag"`
|
||||
}
|
||||
|
||||
type CameraData {
|
||||
X int64 `json:"x"`
|
||||
Y int64 `json:"y"`
|
||||
Z int64 `json:"z"`
|
||||
}
|
||||
type ControlsData {
|
||||
MinDistance int64 `json:"minDistance"`
|
||||
MaxDistance int64 `json:"maxDistance"`
|
||||
MaxPolarAngle float64 `json:"maxPolarAngle"`
|
||||
MinPolarAngle float64 `json:"minPolarAngle"`
|
||||
}
|
||||
type Tag {
|
||||
Id int64 `json:"id"`
|
||||
Title string `json:"title"`
|
||||
@@ -85,20 +58,6 @@ type Light {
|
||||
Info LightInfo `json:"info"`
|
||||
}
|
||||
|
||||
type ModelMaterial {
|
||||
AoMap string `json:"aoMap"`
|
||||
AoMapint64ensity int64 `json:"aoMapint64ensity"`
|
||||
NormalMap string `json:"normalMap"`
|
||||
NormalScale []int64 `json:"normalScale"`
|
||||
SpecularMap string `json:"specularMap"`
|
||||
Roughness int64 `json:"roughness"`
|
||||
MetalnessMap string `json:"metalnessMap"`
|
||||
Metalness int64 `json:"metalness"`
|
||||
}
|
||||
type ModelData {
|
||||
Path string `json:"path"`
|
||||
Shadow string `json:"shadow"`
|
||||
}
|
||||
type TemplateMateria {
|
||||
Id string `json:"id"`
|
||||
Tag string `json:"tag"`
|
||||
|
||||
Reference in New Issue
Block a user