Browse Source

Merge branch 'V20221214' into fix-3169

tags/v1.22.12.1^2
chenyifan01 3 years ago
parent
commit
5496bfaf83
3 changed files with 3 additions and 1 deletions
  1. +1
    -0
      modules/convert/cloudbrain.go
  2. +1
    -0
      modules/structs/tagger.go
  3. +1
    -1
      routers/api/v1/api.go

+ 1
- 0
modules/convert/cloudbrain.go View File

@@ -104,6 +104,7 @@ func ToSpecification(s *models.Specification) *api.SpecificationShow {

func ToTagger(user *models.User) *api.Tagger {
return &api.Tagger{
ID: user.ID,
Name: user.Name,
RelAvatarURL: user.RelAvatarLink(),
Email: user.Email,


+ 1
- 0
modules/structs/tagger.go View File

@@ -1,6 +1,7 @@
package structs

type Tagger struct {
ID int64 `json:"id"`
Name string `json:"name"`
Email string `json:"email"`
RelAvatarURL string `json:"relAvatarURL"`


+ 1
- 1
routers/api/v1/api.go View File

@@ -738,7 +738,7 @@ func RegisterRoutes(m *macaron.Macaron) {
}, reqToken(), repoAssignment())

m.Group("/file_notebook", func() {
m.Get("", reqToken(), repo.GetFileNoteBookInfo)
m.Get("", repo.GetFileNoteBookInfo)
m.Post("/create", reqToken(), reqWeChat(), bind(api.CreateFileNotebookJobOption{}), repo.CreateFileNoteBook)

})


Loading…
Cancel
Save