This commit is contained in:
Liang Ding 2023-05-05 16:20:23 +08:00
parent 5a6db7fdb4
commit 109462a22f
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
4 changed files with 60 additions and 2 deletions

View file

@ -345,4 +345,5 @@ func ServeAPI(ginServer *gin.Engine) {
ginServer.Handle("POST", "/api/ai/chatGPTWithAction", model.CheckAuth, model.CheckReadonly, chatGPTWithAction)
ginServer.Handle("POST", "/api/petal/loadPetals", model.CheckAuth, model.CheckReadonly, loadPetals)
ginServer.Handle("POST", "/api/petal/setPetalEnabled", model.CheckAuth, model.CheckReadonly, setPetalEnabled)
}