mirror of
https://github.com/mindoc-org/mindoc.git
synced 2026-02-27 17:03:57 +08:00
feat:超级管理员可修改项目集和项目密码
This commit is contained in:
@@ -173,7 +173,7 @@ func (c *BookController) SaveBook() {
|
||||
book.Editor = editor
|
||||
book.HistoryCount = historyCount
|
||||
book.IsDownload = 0
|
||||
book.BookPassword = c.GetString("bPassword")
|
||||
book.BookPassword = strings.TrimSpace(c.GetString("bPassword"))
|
||||
book.ItemId = itemId
|
||||
|
||||
if autoRelease {
|
||||
|
||||
Reference in New Issue
Block a user