fix: ping func

This commit is contained in:
deepzz0
2021-04-28 15:05:37 +08:00
parent c5a3bd6eab
commit 897b05d071
4 changed files with 15 additions and 4 deletions

View File

@@ -320,7 +320,7 @@ func handleAPIPostCreate(c *gin.Context) {
logrus.Error("handleAPIPostCreate.UpdateArticle: ", err)
return
}
if !artc.IsDraft {
if !article.IsDraft {
cache.Ei.RepArticle(artc, article)
// 异步执行,快
go func() {