refactor: delete classpaths tree api

This commit is contained in:
710leo 2021-08-23 19:48:42 +08:00
parent 2096e6ea8d
commit 2bf4a25dd1
2 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,6 @@ func configRoutes(r *gin.Engine) {
pages.DELETE("/user-group/:id", login(), userGroupDel)
pages.GET("/classpaths", login(), classpathListGets)
pages.GET("/classpaths/tree", login(), classpathListNodeGets)
pages.GET("/classpaths/tree-node/:id", login(), classpathListNodeGetsById)
pages.POST("/classpaths", login(), classpathAdd)
pages.PUT("/classpath/:id", login(), classpathPut)

View File

@ -24,6 +24,7 @@ func classpathListGets(c *gin.Context) {
}, nil)
}
//此api暂时不对外开放
func classpathListNodeGets(c *gin.Context) {
query := queryStr(c, "query", "")