1、实现删除项目

2、实现生成访问令牌
3、实现添加评论
This commit is contained in:
lifei6671
2017-04-23 20:33:21 +08:00
parent a05a13dd4e
commit d1b2c52124
9 changed files with 399 additions and 8 deletions

View File

@@ -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