修复模板的问题

This commit is contained in:
eson
2023-07-21 10:28:17 +08:00
parent fd1a56c11a
commit 65d0663d28
17 changed files with 334 additions and 86 deletions

View File

@@ -40,9 +40,7 @@ func (l *UserGoogleLoginLogic) BeforeLogic(w http.ResponseWriter, r *http.Reques
}
func (l *UserGoogleLoginLogic) AfterLogic(w http.ResponseWriter, r *http.Request, resp *basic.Response) {
log.Println(resp.Message)
http.Redirect(w, r, "http://localhost:8080?token="+resp.Message, http.StatusMovedPermanently)
// log.Println(r, w)
http.Redirect(w, r, "http://localhost:9900/redirect?uri=%s", http.StatusFound)
}
func (l *UserGoogleLoginLogic) UserGoogleLogin(req *types.RequestGoogleLogin, userinfo *auth.UserInfo) (resp *basic.Response) {