修改tpl的参数传入问题

This commit is contained in:
eson
2023-07-21 11:24:26 +08:00
parent bfa1872595
commit 44a3666d68
9 changed files with 15 additions and 11 deletions

View File

@@ -28,7 +28,7 @@ func RedirectHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
resp := l.Redirect(&req, userinfo)
if !basic.AfterLogic(w, r, resp, rl) {
if !basic.AfterLogic(w, r, rl) {
basic.NormalAfterLogic(w, r, resp)
}
}

View File

@@ -14,7 +14,7 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
[]rest.Route{
{
Method: http.MethodGet,
Path: "/api/redirect",
Path: "/api/assistant/redirect",
Handler: RedirectHandler(serverCtx),
},
},