mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-12-19 10:58:32 +08:00
1、实现删除项目
2、实现生成访问令牌 3、实现添加评论
This commit is contained in:
@@ -25,6 +25,7 @@ type BookResult struct {
|
||||
MemberId int `json:"member_id"`
|
||||
RoleId int `json:"role_id"`
|
||||
RoleName string `json:"role_name"`
|
||||
Status int
|
||||
|
||||
LastModifyText string `json:"last_modify_text"`
|
||||
}
|
||||
@@ -81,6 +82,7 @@ func (m *BookResult) FindByIdentify(identify string,member_id int) (*BookResult,
|
||||
m.ModifyTime = book.ModifyTime
|
||||
m.Cover = book.Cover
|
||||
m.Label = book.Label
|
||||
m.Status = book.Status
|
||||
|
||||
m.MemberId = relationship.MemberId
|
||||
m.RoleId = relationship.RoleId
|
||||
|
||||
Reference in New Issue
Block a user