public.api
379 字节
syntax = "v1"
info(
title: "天联字库图表模板"
desc: "图表模板"
author: "小火箭"
email: "email"
version: "v1"
)
@server(
group: public
)
service Core {
@doc "获取文件"
@handler getFile
get /public/:filename (PublicGetFileRequest)
}
type(
PublicGetFileRequest struct{
FileName string `path:"filename"`
}
)