This commit is contained in:
oneao committed 2025-11-28 22:41:37 +08:00
1 parent cf4291652a
commit 8408cf779f
20 files changed
+1400 -33

No files matched your search

@@ -0,0 +1,27 @@
// Code generated by hertz generator. DO NOT EDIT.
package register
import (
register "cn/oneao/base-go/biz/handler/register"
"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()...)
{
_register := _auth.Group("/register", _registerMw()...)
_register.POST("/default", append(_registerdefaultMw(), register.RegisterDefault)...)
}
}
}