18 lines
466 B
Go
Executable File
18 lines
466 B
Go
Executable File
package router
|
|
|
|
import (
|
|
"91porn-server/web/api/ai_text_to_novel_ctrl"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
// aiTextToNovelRouter AI小说列表管理
|
|
func aiTextToNovelRouter(router *gin.RouterGroup) {
|
|
group := router.Group("/ai/text_to_novel")
|
|
{
|
|
group.GET("/list", ai_text_to_novel_ctrl.List)
|
|
group.POST("/update", ai_text_to_novel_ctrl.Update)
|
|
group.POST("/delete", ai_text_to_novel_ctrl.Delete)
|
|
group.POST("/callback", ai_text_to_novel_ctrl.Callback)
|
|
}
|
|
}
|