mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 02:48:34 +08:00
[优化]优化命名
This commit is contained in:
@@ -18,7 +18,7 @@ func InitGenRouter(container *restful.Container) {
|
||||
|
||||
ws := new(restful.WebService)
|
||||
ws.Path("/develop/code/gen").Produces(restful.MIME_JSON)
|
||||
tags := []string{"codegen"}
|
||||
tags := []string{"代码生成"}
|
||||
|
||||
ws.Route(ws.GET("/preview/{tableId}").To(func(request *restful.Request, response *restful.Response) {
|
||||
restfulx.NewReqCtx(request, response).WithLog("获取生成代码视图").Handle(s.Preview)
|
||||
|
||||
@@ -20,7 +20,7 @@ func InitGenTableRouter(container *restful.Container) {
|
||||
|
||||
ws := new(restful.WebService)
|
||||
ws.Path("/develop/code/table").Produces(restful.MIME_JSON)
|
||||
tags := []string{"codetable"}
|
||||
tags := []string{"代码生成表"}
|
||||
|
||||
ws.Route(ws.GET("/db/list").To(func(request *restful.Request, response *restful.Response) {
|
||||
restfulx.NewReqCtx(request, response).WithLog("获取数据库列表").Handle(s.GetDBTableList)
|
||||
|
||||
Reference in New Issue
Block a user