diff --git a/router/view.go b/router/view.go index 6803063..2a90c1d 100644 --- a/router/view.go +++ b/router/view.go @@ -296,4 +296,33 @@ func InitViewRouter(engine *gin.Engine) { engine.GET("/extend", tmpl.PageExtend) engine.GET("/extend_fastgpt", middleware.DomainLimitMiddleware, tmpl.PageExtendFastGpt) engine.GET("/extend_ragflow", middleware.DomainLimitMiddleware, tmpl.PageExtendRAGFlow) + + //数字人 + engine.GET("/digital_human", func(c *gin.Context) { + c.HTML(http.StatusOK, "digital_human.html", gin.H{}) + }) + //数字人基础配置 + engine.GET("/digital_human_base_setting", middleware.DomainLimitMiddleware, func(c *gin.Context) { + c.HTML(http.StatusOK, "digital_human_base_setting.html", gin.H{}) + }) + //数字人形象管理 + engine.GET("/digital_human_image_manage", middleware.DomainLimitMiddleware, func(c *gin.Context) { + c.HTML(http.StatusOK, "digital_human_image_manage.html", gin.H{}) + }) + //数字人形象库 + engine.GET("/digital_human_image_base", middleware.DomainLimitMiddleware, func(c *gin.Context) { + c.HTML(http.StatusOK, "digital_human_image_base.html", gin.H{}) + }) + //数字人动作库 + engine.GET("/digital_human_action_base", middleware.DomainLimitMiddleware, func(c *gin.Context) { + c.HTML(http.StatusOK, "digital_human_action_base.html", gin.H{}) + }) + //数字人语音管理 + engine.GET("/digital_human_voice_manage", middleware.DomainLimitMiddleware,func(c *gin.Context) { + c.HTML(http.StatusOK, "digital_human_voice_manage.html", gin.H{}) + }) + //数字人语音库 + engine.GET("/digital_human_voice_base", middleware.DomainLimitMiddleware, func(c *gin.Context) { + c.HTML(http.StatusOK, "digital_human_voice_base.html", gin.H{}) + }) } diff --git a/static/templates/default/digital_human.html b/static/templates/default/digital_human.html new file mode 100644 index 0000000..4a30b0d --- /dev/null +++ b/static/templates/default/digital_human.html @@ -0,0 +1,14 @@ +{{template "header" }} +