This commit is contained in:
oneao committed 2026-01-27 17:33:32 +08:00
1 parent 8663cb2e3d
commit 83cbf18572
34 files changed
+1938 -1350

No files matched your search

@@ -0,0 +1,24 @@
// Code generated by hertz generator. DO NOT EDIT.
package user
import (
user "allapp/biz/handler/user"
"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()...)
{
_user := root.Group("/user", _userMw()...)
_user.GET("/spaces", append(_listuserspacesMw(), user.ListUserSpaces)...)
}
}