feat: 填入相关模型

This commit is contained in:
CaIon
2024-05-12 19:07:33 +08:00
parent c02fb6326b
commit e355c24725
11 changed files with 111 additions and 115 deletions
+1
View File
@@ -14,6 +14,7 @@ func SetApiRouter(router *gin.Engine) {
apiRouter.Use(middleware.GlobalAPIRateLimit())
{
apiRouter.GET("/status", controller.GetStatus)
apiRouter.GET("/models", middleware.UserAuth(), controller.DashboardListModels)
apiRouter.GET("/status/test", middleware.AdminAuth(), controller.TestStatus)
apiRouter.GET("/notice", controller.GetNotice)
apiRouter.GET("/about", controller.GetAbout)