18 lines
480 B
Go
Executable File
18 lines
480 B
Go
Executable File
package router
|
|
|
|
import (
|
|
"91porn-server/web/api/ai_image_to_video_ctrl"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
// aiImageToVideoRouter AI图生视频列表管理
|
|
func aiImageToVideoRouter(router *gin.RouterGroup) {
|
|
group := router.Group("/ai/image_to_video")
|
|
{
|
|
group.GET("/list", ai_image_to_video_ctrl.List)
|
|
group.POST("/update", ai_image_to_video_ctrl.Update)
|
|
group.POST("/delete", ai_image_to_video_ctrl.Delete)
|
|
group.POST("/callback", ai_image_to_video_ctrl.Callback)
|
|
}
|
|
}
|