|
@@ -34,6 +34,11 @@ type GetDictRequest struct {
|
|
|
DictID uint `form:"id" binding:"required"`
|
|
DictID uint `form:"id" binding:"required"`
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+type ListWordsResponse struct {
|
|
|
|
|
+ Total uint `json:"total"`
|
|
|
|
|
+ List []model.WordResult `json:"list"`
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
type GetDictResponse struct {
|
|
type GetDictResponse struct {
|
|
|
*model.DictResult `json:"dict"`
|
|
*model.DictResult `json:"dict"`
|
|
|
Words ListWordsResponse `json:"words"`
|
|
Words ListWordsResponse `json:"words"`
|