This commit is contained in:
Liang Ding 2023-03-03 22:39:45 +08:00
parent 33c933c440
commit 49008041b5
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
6 changed files with 156 additions and 0 deletions

View file

@ -327,4 +327,6 @@ func ServeAPI(ginServer *gin.Engine) {
ginServer.Handle("GET", "/snippets/*filepath", serveSnippets)
ginServer.Handle("POST", "/api/av/renderAttributeView", model.CheckAuth, renderAttributeView)
ginServer.Handle("POST", "/api/ai/chatGPT", model.CheckAuth, chatGPT)
}