fusenapi/server_api/product-templatev2.api
laodaming edeb2bb5f1 fix
2023-06-20 19:56:18 +08:00

37 lines
892 B
Plaintext

syntax = "v1"
info (
title: "产品模板"// TODO: add title
desc: // TODO: add description
author: ""
email: ""
)
import "basic.api"
service product-templatev2 {
//获取产品模板详情
@handler GetTemplatevDetailHandler
get /product-template/detail(GetTemplatevDetailReq) returns (response);
}
//获取产品模板详情
type GetTemplatevDetailReq {
ModelId int64 `form:"model_id"`
TemplateId int64 `form:"template_id"`
}
type GetTemplatevDetailRsp {
ProductModelInfo interface{} `json:"product_model_info"`
ProductTemplate interface{} `json:"product_template"`
LightList []*Light `json:"light_list"`
OptionModelInfo []interface{} `json:"option_model_info"`
Tag int64 `json:"tag"`
}
type Tag {
Id int64 `json:"id"`
Title string `json:"title"`
}
type Light {
Id int64 `json:"id"`
Info interface{} `json:"info"`
}