feat: add "/api/status/test"

This commit is contained in:
1808837298@qq.com
2024-03-04 19:32:59 +08:00
parent 912f46fcd2
commit fe7f42fc2e
3 changed files with 49 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ func SetApiRouter(router *gin.Engine) {
apiRouter.Use(middleware.GlobalAPIRateLimit())
{
apiRouter.GET("/status", controller.GetStatus)
apiRouter.GET("/status/test", middleware.AdminAuth(), controller.TestStatus)
apiRouter.GET("/notice", controller.GetNotice)
apiRouter.GET("/about", controller.GetAbout)
apiRouter.GET("/midjourney", controller.GetMidjourney)