增加机器人功能

This commit is contained in:
1
2025-10-27 03:04:16 +00:00
parent 749b380d82
commit 75fc0660b5
4 changed files with 207 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ var (
if cool.IsRedisMode {
go cool.ListenFunc(ctx)
}
go robot()
s := g.Server()
s.Use(Limiter, ghttp.MiddlewareHandlerResponse)
s.EnableAdmin()