Skip to content

Commit

Permalink
fix: wrong code in starbook
Browse files Browse the repository at this point in the history
  • Loading branch information
oldme-git committed Nov 29, 2024
1 parent c7508df commit a564bd4
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ description: '使用GET方式查询单词的分页列表,包含模糊查询功

*api/words/v1/words_struct.go*
```go
package v1
import "github.com/gogf/gf/v2/os/gtime"
type List struct {
Id uint `json:"id"`
Word string `json:"word"`
Definition string `json:"definition"`
ProficiencyLevel uint `json:"proficiencyLevel"`
package v1

import "star/internal/model"

type List struct {
Id uint `json:"id"`
Word string `json:"word"`
Definition string `json:"definition"`
ProficiencyLevel model.ProficiencyLevel `json:"proficiencyLevel"`
}
```

Expand Down

0 comments on commit a564bd4

Please sign in to comment.