no message

master
zcy 2022-04-18 22:46:10 +08:00
parent ab9eea340b
commit 81d522ac2b
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,7 @@
package controller
import (
"background/config"
"background/db"
"background/logs"
"background/model"
@ -351,6 +352,7 @@ func UpdateArtilceTree(c *gin.Context) {
logs.Error(e.Error())
return
}
config.RedisOne().Del("artilcetree")
rsp.Msg = "OK"
rsp.Status = 0
}
@ -500,6 +502,7 @@ func AddArticleTree(c *gin.Context) {
logs.Error(e.Error())
return
}
config.RedisOne().Del("artilcetree")
rsp.Msg = "OK"
rsp.Status = 0
}