Sfoglia il codice sorgente

Merge branch 'cygx_13.8' of http://8.136.199.33:3000/cxzhang/hongze_clpt into debug

xingzai 6 mesi fa
parent
commit
8656f3ba91
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      services/config.go

+ 2 - 1
services/config.go

@@ -5,6 +5,7 @@ import (
 	"fmt"
 	"hongze/hongze_clpt/models"
 	"hongze/hongze_clpt/utils"
+	"html"
 	"strconv"
 	"strings"
 	"time"
@@ -146,6 +147,6 @@ func GetConfigCodeDisclaimer() (configValue string) {
 		err = errors.New("GetConfigByCode, Err: " + e.Error() + configCode)
 		return
 	}
-	configValue = cnf.ConfigValue
+	configValue = html.UnescapeString(cnf.ConfigValue)
 	return
 }