From 5b87646c1c6e5dd7ce88f880f6c668e06b0d2791 Mon Sep 17 00:00:00 2001 From: zcy <290198252@qq.com> Date: Sun, 17 Apr 2022 23:17:46 +0800 Subject: [PATCH] no message --- controller/blog.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/blog.go b/controller/blog.go index eaaa9bd..cccb924 100644 --- a/controller/blog.go +++ b/controller/blog.go @@ -323,7 +323,7 @@ func UpdateArtilceTree(c *gin.Context) { rsp.Msg = "title required" return } - query := fmt.Sprintf("select * from doc where doc.id = '%d'", req.ID) + query := fmt.Sprintf("select * from doc_copy1 where doc.id = '%d'", req.ID) docs := []model.Doc{} e := db.GetMysqlClient().Query2(query, &docs) if nil != e {