forked from lxh/go-wxhelper
16 lines
403 B
Go
16 lines
403 B
Go
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助手
|
|
}
|