diff --git a/server/internal/controllers/api/user_controller.go b/server/internal/controllers/api/user_controller.go index 49aa6cb0d..1f80fb6ec 100644 --- a/server/internal/controllers/api/user_controller.go +++ b/server/internal/controllers/api/user_controller.go @@ -5,7 +5,6 @@ import ( "bbs-go/internal/pkg/errs" "bbs-go/internal/pkg/msg" "bbs-go/internal/pkg/validate" - "log/slog" "strconv" "strings" "time" @@ -28,15 +27,6 @@ type UserController struct { Ctx iris.Context } -func (c *UserController) GetTest() *web.JsonResult { - go func() { - for { - slog.Info("测试日志", slog.Any("now", dates.NowTimestamp())) - } - }() - return web.JsonSuccess() -} - // 获取当前登录用户 func (c *UserController) GetCurrent() *web.JsonResult { user := services.UserTokenService.GetCurrent(c.Ctx)