go-wxhelper/router/admin/aiassistant.go

16 lines
403 B
Go
Raw Permalink Normal View History

2024-02-02 17:30:11 +08:00
package admin
import (
"github.com/gin-gonic/gin"
aiassistantApi "wechat-robot/api/admin/aiassistant"
)
// aiAssistant
// @description: AI助手相关
// @param g
func aiAssistant(g *gin.RouterGroup) {
g.POST("", aiassistantApi.Save) // 保存AI助手
g.GET("", aiassistantApi.GetAll) // 获取所有AI助手
g.DELETE("/:id", aiassistantApi.DeleteById) // 删除AI助手
2024-02-02 17:30:11 +08:00
}