17 lines
402 B
Go
Executable File
17 lines
402 B
Go
Executable File
package router
|
|
|
|
import (
|
|
"91porn-server/app/api/ai_image_to_video_ctrl"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
// aiImageToVideo 移动端接口
|
|
func aiImageToVideoRouter(router *gin.RouterGroup) {
|
|
group := router.Group("/ai/imagetovideo")
|
|
{
|
|
group.GET("/list", ai_image_to_video_ctrl.List)
|
|
group.POST("/generate", ai_image_to_video_ctrl.Generate)
|
|
group.POST("/hide", ai_image_to_video_ctrl.Hide)
|
|
}
|
|
}
|