Executable
+16
@@ -0,0 +1,16 @@
|
||||
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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user