1、实现文章阅读、附件功能

2、实现与关联项目同步功能
3、实现附件删除功能
This commit is contained in:
lifei6671
2018-07-18 17:10:24 +08:00
parent 86637ef581
commit 2416af4528
15 changed files with 653 additions and 31 deletions

View File

@@ -220,6 +220,7 @@ func (m *Document) FindListByBookId(bookId int) (docs []*Document, err error) {
return
}
//判断文章是否存在
func (m *Document) IsExist(documentId int) bool {
o := orm.NewOrm()