init: hgmj server initial commit

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-10-08 16:50:13 +08:00
co-authored by Claude Opus 4.7
commit 625e89c15d
1870 changed files with 254090 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
package router
import (
"91jd-server/web/api/ai_changeface_ctrl"
"github.com/gin-gonic/gin"
)
func aiModRouter(router *gin.RouterGroup) {
group := router.Group("/ai/changeface/mod")
{
group.GET("/list", ai_changeface_ctrl.ModList) // ai换脸模版列表
group.POST("/update", ai_changeface_ctrl.ModUpdate) // ai换脸模版编辑
group.POST("/batch/update", ai_changeface_ctrl.BatchModUpdate) // ai换脸模版编辑
group.POST("/add", ai_changeface_ctrl.ModAdd) // ai换脸模版添加
group.GET("/getById", ai_changeface_ctrl.GetById) // 根据id获取模版详情
group.GET("/all/scene", ai_changeface_ctrl.AllSceneList) // ai换脸模版列表
}
}