作者 tangxvhui

bug 修复

... ... @@ -52,7 +52,7 @@ func GetAuditListForExcel(param protocol.RequestAuditList, companyid int64, user
storeType, _ := strconv.ParseInt(storeTypeS, 10, 8)
soureData[i]["type"] = models.ChanceStoreTypeMap[int8(storeType)]
reserveTypeIdS := fmt.Sprint(soureData[i]["reserve_type_id"])
soureData[i]["reserve_type"] = ""
soureData[i]["reserve_type"] = "未设置"
if reserveType, ok := reserveTypeCache[reserveTypeIdS]; ok {
soureData[i]["reserve_type"] = reserveType.Name
} else {
... ... @@ -124,7 +124,7 @@ func GetAuditListForExcel(param protocol.RequestAuditList, companyid int64, user
if "prod" == myconfig.MConfig.ConfigName {
frontHost = "https://web-open.fjmaimaimai.com/#/ability/opportunity/export-detail"
} else {
frontHost = "https://mmm-web-open-test.fjmaimaimai.com//#/ability/opportunity/export-detail"
frontHost = "https://mmm-web-open-test.fjmaimaimai.com/#/ability/opportunity/export-detail"
}
soureData[i]["media"] = fmt.Sprintf("%s?chance_id=%v&check_sum=%s", frontHost, soureData[i]["id"], signString)
... ...