对接统一登录认证

This commit is contained in:
wangjianhong
2025-07-23 22:17:47 +08:00
parent 5e4e272b3a
commit e7442ae419
48 changed files with 2940 additions and 3067 deletions

View File

@@ -14,6 +14,7 @@ func SetupAPIRoutes(r *mux.Router) {
r.HandleFunc("/user/login", handlers.Login).Methods("POST")
r.HandleFunc("/user/logout", handlers.Logout).Methods("POST")
r.HandleFunc("/user/info", handlers.GetUserInfo).Methods("GET")
r.HandleFunc("/user/oauth/login/callback", handlers.AuthCallBack).Methods("GET")
api := r.PathPrefix("/api/v1").Subrouter()