@@ -1060,7 +1060,7 @@ func (this *UserController) ApplyTryOut() {
}
} else if tryType == utils.CYGX_OBJ_FICC_REPORT_XCX {
- // 研选专栏
+ // FICC研报小程序弹窗
title = "周期股语音播报"
source = utils.CYGX_OBJ_FICC_REPORT_XCX
@@ -5,6 +5,7 @@ import (
"fmt"
"hongze/hongze_cygx/models"
"hongze/hongze_cygx/utils"
+ "html"
"strconv"
"strings"
"time"
@@ -148,6 +149,6 @@ func GetConfigCodeDisclaimer() (configValue string) {
err = errors.New("GetConfigByCode, Err: " + e.Error() + configCode)
return
- configValue = cnf.ConfigValue
+ configValue = html.UnescapeString(cnf.ConfigValue)
@@ -583,7 +583,7 @@ func GetFiccReportXcxItem(user *models.WxUserItem) (itemSourceResp *models.CygxR
var hasPermission int
var e error
if hasPersion {
- itemResp.HasPermission = 1
+ hasPermission = 1
} else {
itemResp.HasPermission, itemResp.SellerName, itemResp.SellerMobile, _, err = GetUserHasPermissionArticle(user)
if err != nil {