فهرست منبع

数据导出链接修改

wangkaiyue 1 سال پیش
والد
کامیت
cc0843c0e1
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      common/src/qfw/util/dataexport/dataexport.go

+ 1 - 1
common/src/qfw/util/dataexport/dataexport.go

@@ -1087,7 +1087,7 @@ func FormatExportData(entmg mg.MongodbSim, data *[]map[string]interface{}, webdo
 			date := v["bidendtime"]
 			date := v["bidendtime"]
 			v["bidendtime"] = FormatDateWithObj(&date, Date_Short_Layout)
 			v["bidendtime"] = FormatDateWithObj(&date, Date_Short_Layout)
 		}
 		}
-		if v["_id"] != nil && !isEncry {
+		if v["_id"] != nil {
 			encodeId := CommonEncodeArticle("content", v["_id"].(string))
 			encodeId := CommonEncodeArticle("content", v["_id"].(string))
 			v["url"] = webdomain + "/article/content/" + encodeId + ".html"
 			v["url"] = webdomain + "/article/content/" + encodeId + ".html"
 			v["url_jump"] = webdomain + "/front/reloadTo/article/content/" + encodeId + ".html"
 			v["url_jump"] = webdomain + "/front/reloadTo/article/content/" + encodeId + ".html"