package controller import ( "fmt" "github.com/gin-gonic/gin" ) func GetDownloadDeloy(c *gin.Context) { entId, _ := c.Get("ent_id") kefuName, _ := c.Get("kefu_name") host := c.Request.Host config := fmt.Sprintf(` const KEFU_NAME="%s";//商户账号 const ENT_ID="%s";//商户编号 `, kefuName, entId) // 生成HTML内容 htmlContent := `