41 lines
942 B
Go
41 lines
942 B
Go
package tmpl
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
"net/http"
|
|
)
|
|
|
|
//数字人
|
|
func PageDigitalHuman(c *gin.Context) {
|
|
c.HTML(http.StatusOK, "digital_human.html", gin.H{
|
|
"action": "digital_human",
|
|
})
|
|
}
|
|
|
|
//数字人基础配置
|
|
func PageDigitalHumanBaseSetting(c *gin.Context) {
|
|
c.HTML(http.StatusOK, "digital_human_base_setting.html", gin.H{
|
|
"action": "digital_human_base_setting",
|
|
})
|
|
}
|
|
|
|
//数字人形象库
|
|
func PageDigitalHumanImageBase(c *gin.Context) {
|
|
c.HTML(http.StatusOK, "digital_human_image_base.html", gin.H{
|
|
"action": "digital_human_image_base",
|
|
})
|
|
}
|
|
|
|
//数字人动作库
|
|
func PageDigitalHumanActionBase(c *gin.Context) {
|
|
c.HTML(http.StatusOK, "digital_human_action_base.html", gin.H{
|
|
"action": "digital_human_action_base",
|
|
})
|
|
}
|
|
|
|
//音源库
|
|
func PageDigitalHumanVoiceBase(c *gin.Context) {
|
|
c.HTML(http.StatusOK, "digital_human_voice_base.html", gin.H{
|
|
"action": "digital_human_voice_base",
|
|
})
|
|
} |