.gitignore
This commit is contained in:
@@ -41,6 +41,10 @@ func RouteRegister(controllers []interface{}) {
|
|||||||
group.Middleware(jaeger.NewTracer)
|
group.Middleware(jaeger.NewTracer)
|
||||||
group.Bind(controller.OperationLog)
|
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]")
|
re := regexp.MustCompile("[A-Z]")
|
||||||
for _, t := range controllers {
|
for _, t := range controllers {
|
||||||
sName := reflect.ValueOf(t).Elem().Type().Name()
|
sName := reflect.ValueOf(t).Elem().Type().Name()
|
||||||
|
|||||||
Reference in New Issue
Block a user