27 lines
574 B
Plaintext
27 lines
574 B
Plaintext
syntax = "v1"
|
|
|
|
info (
|
|
title: // TODO: add title
|
|
desc: // TODO: add description
|
|
author: ""
|
|
email: ""
|
|
)
|
|
|
|
import "basic.api"
|
|
|
|
type request {
|
|
// TODO: add members here and delete this comment
|
|
Name string `form:"name"` // parameters are auto validated
|
|
}
|
|
|
|
service home-user-auth {
|
|
@handler UserFontsHandler
|
|
get /user/fonts(request) returns (response);
|
|
}
|
|
|
|
// FsFonts 字体表
|
|
type FsFonts {
|
|
Title string `json:"title" gorm:"column:title"`
|
|
LinuxFontname string `json:"linux_fontname" gorm:"column:linux_fontname"`
|
|
Link string `json:"link" gorm:"link"`
|
|
} |