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