no message

master
DESKTOP-4RNDQIC\29019 2020-06-30 23:28:51 +08:00
parent a2275ab37e
commit f7ad0d02f4
1 changed files with 3 additions and 3 deletions

View File

@ -136,9 +136,9 @@ func main() {
api.POST("/articles", controller.GetArticles) // 获取所有文章
api.PUT("/article", controller.AddArticle) // 添加文章
api.PUT("/article_search", controller.SearchArticle) // 添加文章
api.GET("article_type", controller.ArticlesType) //获取所有文章分类
api.PUT("article_type", controller.AddArticleType)
api.DELETE("article_type", controller.DeleteArticleType)
api.GET("/article_type", controller.ArticlesType) //获取所有文章分类
api.PUT("/article_type", controller.AddArticleType)
api.DELETE("/article_type", controller.DeleteArticleType)
api.POST("/article_update", controller.UpdateArtilce) //更新文章
api.GET("/articleCount", controller.GetArticleCount) //获取所有文章个数