Skip to content

Commit

Permalink
Merge pull request #100 from gogf/fix/startbook
Browse files Browse the repository at this point in the history
fix: wrong code in starbook
  • Loading branch information
gqcn authored Nov 29, 2024
2 parents c7508df + a564bd4 commit 5febe12
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 5febe12

Please sign in to comment.