修复管理员无法删除项目的BUG

This commit is contained in:
Minho
2017-06-09 13:25:39 +08:00
parent 028f6b3690
commit 33ad75a088
3 changed files with 4 additions and 2 deletions

View File

@@ -636,6 +636,7 @@ func (c *BookController) SaveSort() {
func (c *BookController) IsPermission() (*models.BookResult,error) {
identify := c.GetString("identify")
book ,err := models.NewBookResult().FindByIdentify(identify,c.Member.MemberId)
if err != nil {