2023-05-31 03:38:17 +00:00
|
|
|
syntax = "v1"
|
|
|
|
|
|
|
|
info (
|
|
|
|
title: // TODO: add title
|
|
|
|
desc: // TODO: add description
|
|
|
|
author: ""
|
|
|
|
email: ""
|
|
|
|
)
|
|
|
|
|
2023-05-31 10:33:02 +00:00
|
|
|
import "basic.api"
|
|
|
|
|
2023-05-31 03:38:17 +00:00
|
|
|
type request {
|
|
|
|
// TODO: add members here and delete this comment
|
2023-05-31 10:33:02 +00:00
|
|
|
Name string `form:"name"` // parameters are auto validated
|
2023-05-31 03:38:17 +00:00
|
|
|
}
|
|
|
|
|
2023-05-31 10:33:02 +00:00
|
|
|
service home-user-auth {
|
|
|
|
@handler UserFontsHandler
|
|
|
|
get /user/fonts(request) returns (response);
|
2023-05-31 03:38:17 +00:00
|
|
|
}
|
|
|
|
|
2023-05-31 10:33:02 +00:00
|
|
|
// 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"`
|
2023-06-01 03:27:34 +00:00
|
|
|
}
|