feat: add "/api/status/test"

This commit is contained in:
1808837298@qq.com
2024-03-04 19:32:59 +08:00
parent 672f261c3e
commit 5ddb37c12f
3 changed files with 49 additions and 0 deletions
+1
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)