This commit is contained in:
oneao committed 2026-01-26 22:31:12 +08:00
1 parent 5a79414319
commit 8663cb2e3d
28 files changed
+744 -756

No files matched your search

@@ -80,3 +80,8 @@ func _getuserspaceMw() []app.HandlerFunc {
// your code...
return nil
}
func _enterspaceMw() []app.HandlerFunc {
// your code...
return nil
}
@@ -20,6 +20,7 @@ func Register(r *server.Hertz) {
{
_space := root.Group("/space", _spaceMw()...)
_space.POST("/dissolve", append(_dissolvespaceMw(), space.DissolveSpace)...)
_space.POST("/enter", append(_enterspaceMw(), space.EnterSpace)...)
{
_user := _space.Group("/user", _userMw()...)
_user.POST("/exit", append(_exitspaceMw(), space.ExitSpace)...)