This commit is contained in:
oneao committed 2026-02-25 17:31:09 +08:00
1 parent 835958886e
commit d04d22723b
155 files changed
+543 -9793

No files matched your search

@@ -0,0 +1,28 @@
// Code generated by hertz generator. DO NOT EDIT.
package auth
import (
auth "allapp/biz/handler/auth"
"github.com/cloudwego/hertz/pkg/app/server"
)
/*
This file will register all the routes of the services in the master idl.
And it will update automatically when you use the "update" command for the idl.
So don't modify the contents of the file, or your code will be deleted when it is updated.
*/
// Register register routes based on the IDL 'api.${HTTP Method}' annotation.
func Register(r *server.Hertz) {
root := r.Group("/", rootMw()...)
{
_auth := root.Group("/auth", _authMw()...)
{
_login := _auth.Group("/login", _loginMw()...)
_login.POST("/qq", append(_loginqqMw(), auth.LoginQq)...)
_login.POST("/wx", append(_loginwxMw(), auth.LoginWx)...)
}
}
}
@@ -0,0 +1,62 @@
// Code generated by hertz generator.
package auth
import (
"github.com/cloudwego/hertz/pkg/app"
)
func rootMw() []app.HandlerFunc {
// your code...
return nil
}
func _authMw() []app.HandlerFunc {
// your code...
return nil
}
func _loginMw() []app.HandlerFunc {
// your code...
return nil
}
func _logindefaultMw() []app.HandlerFunc {
// your code...
return nil
}
func _registerMw() []app.HandlerFunc {
// your code...
return nil
}
func _registerdefaultMw() []app.HandlerFunc {
// your code...
return nil
}
func _refreshaccesstokenMw() []app.HandlerFunc {
// your code...
return nil
}
func _refreshMw() []app.HandlerFunc {
// your code...
return nil
}
func _loginthirdpartyMw() []app.HandlerFunc {
// your code...
return nil
}
func _loginqqMw() []app.HandlerFunc {
// your code...
return nil
}
func _loginwxMw() []app.HandlerFunc {
// your code...
return nil
}