rag/internal/handlers/controllers/library/library.go

20 lines
361 B
Go
Raw Normal View History

2024-07-14 15:58:23 +00:00
package library
import "github.com/gin-gonic/gin"
type Controller struct {
}
func NewLibraryController() *Controller {
return &Controller{}
}
// Library 获取当前用户的资料库 godoc
// @Success 200 {array} models.CurrentUserResponse
// @Router / [get]
func (c *Controller) Library(ctx *gin.Context) {
ctx.JSON(200, gin.H{
"message": "ok",
})
}