WH01243 1 год назад
Родитель
Сommit
cbfeca28b0
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      core/router/manager.go

+ 0 - 1
core/router/manager.go

@@ -88,7 +88,6 @@ func (m *Manager) InfusionContext(r *ghttp.Request) (err error) {
 	var GCtx = &GContext{
 		RouterRule: &Router{},
 	}
-	r.URL.Path = fmt.Sprintf("%s/", r.URL.Path)
 	router, err = m.GetRouterRule(r.URL.Path)
 	if err != nil {
 		r.SetCtxVar(GContextKey, GCtx)