书籍列表接口新增参数
This commit is contained in:
@ -10,12 +10,13 @@ import (
|
||||
|
||||
// Authors is the golang structure for table authors.
|
||||
type Authors struct {
|
||||
Id int64 `json:"id" orm:"id" description:"作者ID"` // 作者ID
|
||||
UserId int64 `json:"userId" orm:"user_id" description:"用户ID"` // 用户ID
|
||||
PenName string `json:"penName" orm:"pen_name" description:"笔名"` // 笔名
|
||||
Bio string `json:"bio" orm:"bio" description:"作者简介"` // 作者简介
|
||||
Status int `json:"status" orm:"status" description:"状态:1=正常,2=禁用"` // 状态:1=正常,2=禁用
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"` // 创建时间
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"软删除时间戳"` // 软删除时间戳
|
||||
Id int64 `json:"id" orm:"id" description:"作者ID"` // 作者ID
|
||||
UserId int64 `json:"userId" orm:"user_id" description:"用户ID"` // 用户ID
|
||||
PenName string `json:"penName" orm:"pen_name" description:"笔名"` // 笔名
|
||||
Bio string `json:"bio" orm:"bio" description:"作者简介"` // 作者简介
|
||||
FollowerCount uint `json:"followerCount" orm:"follower_count" description:"粉丝数量"` // 粉丝数量
|
||||
Status int `json:"status" orm:"status" description:"状态:1=正常,2=待审核, 3=未通过"` // 状态:1=正常,2=待审核, 3=未通过
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"` // 创建时间
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"软删除时间戳"` // 软删除时间戳
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user