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) {
|
2024-02-03 15:58:18 +08:00
|
|
|
g.POST("", aiassistantApi.Save) // 保存AI助手
|
|
|
|
g.GET("", aiassistantApi.GetAll) // 获取所有AI助手
|
|
|
|
g.DELETE("/:id", aiassistantApi.DeleteById) // 删除AI助手
|
2024-02-02 17:30:11 +08:00
|
|
|
}
|