first commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package req
|
||||
|
||||
// KeywordReplyPair 关键词回复对
|
||||
type KeywordReplyPair struct {
|
||||
Keyword string `json:"keyword"`
|
||||
Reply string `json:"reply"`
|
||||
}
|
||||
|
||||
// SetKeywordReplyModel 设置关键词回复请求
|
||||
type SetKeywordReplyModel struct {
|
||||
Enable bool `json:"enable"` // 是否启用关键词回复
|
||||
Pairs []KeywordReplyPair `json:"pairs"` // 关键词回复对列表
|
||||
}
|
||||
|
||||
// GetKeywordReplyModel 获取关键词回复请求
|
||||
type GetKeywordReplyModel struct {
|
||||
// 空结构体,不需要请求参数
|
||||
}
|
||||
Reference in New Issue
Block a user