书籍列表接口新增参数

This commit is contained in:
2025-08-13 15:19:42 +08:00
parent 6ccc87f2bf
commit 8afe651c64
201 changed files with 6987 additions and 1066 deletions

View File

@ -11,13 +11,14 @@ import (
// Authors is the golang structure of table authors for DAO operations like Where/Data.
type Authors struct {
g.Meta `orm:"table:authors, do:true"`
Id interface{} // 作者ID
UserId interface{} // 用户ID
PenName interface{} // 笔名
Bio interface{} // 作者简介
Status interface{} // 状态1=正常2=禁用
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 软删除时间
g.Meta `orm:"table:authors, do:true"`
Id interface{} // 作者ID
UserId interface{} // 用户ID
PenName interface{} // 笔名
Bio interface{} // 作者简介
FollowerCount interface{} // 粉丝数量
Status interface{} // 状态1=正常2=待审核, 3=未通过
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 软删除时间戳
}