mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-12-21 19:29:53 +08:00
修复管理员无法删除项目的BUG
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user