公告板
版本库
filestore
活动
搜索
登录
main
/
speechAnalysis
浙大网新
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
添加文字和文字列表接口
zhangqian
2024-05-14
89ff3763c7eaa2db032b965596566a870dcb5030
[speechAnalysis.git]
/
request
/
text.go
1
2
3
4
5
6
7
8
9
10
11
package request
type AddTextReq struct {
Content string `gorm:"type:varchar(255);not null;default:'';comment:音频名称" json:"content" binding:"required"` // 音频名称
LocomotiveNumber string `gorm:"index;type:varchar(255);not null;default:'';comment:机车号" json:"locomotiveNumber" binding:"required"` // 机车号
}
type GetTextList struct {
PageInfo
Keyword string `form:"keyword"` // 关键字
}