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