mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 02:48:34 +08:00
【新增】自动生成代码
This commit is contained in:
@@ -23,10 +23,4 @@ func InitGenRouter(router *gin.RouterGroup) {
|
||||
gen.GET("code/:tableId", func(c *gin.Context) {
|
||||
ctx.NewReqCtxWithGin(c).WithLog(genCodeLog).Handle(genApi.GenCode)
|
||||
})
|
||||
|
||||
genApiLog := ctx.NewLogInfo("生成菜单和api配置")
|
||||
gen.GET("menuAndApi/:tableId", func(c *gin.Context) {
|
||||
ctx.NewReqCtxWithGin(c).WithLog(genApiLog).Handle(genApi.AutoApi)
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user