Files
huangguo_server/app/router/ai_change_face.go
T
rootandClaude Opus 5 8679200f41 Initial commit
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-15 13:57:10 +08:00

24 lines
630 B
Go

package router
import (
"91porn-server/app/api/ai_changeface_ctrl"
"91porn-server/app/api/ai_undress_ctrl"
"github.com/gin-gonic/gin"
)
func aiChangeFaceRouter(router *gin.RouterGroup) {
group := router.Group("/ai/changeface")
{
group.GET("/list", ai_changeface_ctrl.List) // ai换脸订单列表
group.POST("/generate", ai_changeface_ctrl.Generate)
group.POST("/hide", ai_changeface_ctrl.Hide)
}
imgGroup := router.Group("/ai/img")
{
imgGroup.GET("/list", ai_undress_ctrl.AiImgList)
imgGroup.POST("/generate", ai_undress_ctrl.AiImgGenerate)
imgGroup.POST("/hide", ai_undress_ctrl.AiChangeFaceImgHide)
}
}