修复模板的问题
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user