.gitignore
This commit is contained in:
@@ -41,6 +41,10 @@ func RouteRegister(controllers []interface{}) {
|
||||
group.Middleware(jaeger.NewTracer)
|
||||
group.Bind(controller.OperationLog)
|
||||
})
|
||||
Httpserver.BindHandler("/uploadConfig", func(r *ghttp.Request) {
|
||||
config := g.Config().MustGet(r.GetCtx(), "upload")
|
||||
r.Response.WriteJsonExit(config)
|
||||
})
|
||||
re := regexp.MustCompile("[A-Z]")
|
||||
for _, t := range controllers {
|
||||
sName := reflect.ValueOf(t).Elem().Type().Name()
|
||||
|
||||
Reference in New Issue
Block a user