This commit is contained in:
Liang Ding 2022-06-05 11:20:22 +08:00
parent eb78e27d9c
commit e4219bf679
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
4 changed files with 27 additions and 30 deletions

View file

@ -155,7 +155,8 @@ func openNotebook(c *gin.Context) {
}
notebook := arg["notebook"].(string)
util.PushMsg(model.Conf.Language(45), 1000*60*15)
msgId := util.PushMsg(model.Conf.Language(45), 1000*60*15)
defer util.PushClearMsg(msgId)
existed, err := model.Mount(notebook)
if nil != err {
ret.Code = -1