公告板
版本库
filestore
活动
搜索
登录
main
/
speechAnalysis
浙大网新
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
上传音频时保存车站号,车次,车站到火车信息表,提供火车信息查询接口
zhangqian
2024-05-15
8adde93b8f2af29fb8a6405efaa49a41a1c22f8d
[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"` // 关键字
}