|
@@ -266,8 +266,8 @@ WHERE
|
|
//拼接项目概况
|
|
//拼接项目概况
|
|
if equity < 3 { //非会员打码
|
|
if equity < 3 { //非会员打码
|
|
projectname := common.InterfaceToStr(detail["projectname"])
|
|
projectname := common.InterfaceToStr(detail["projectname"])
|
|
- detail["generalSituation"] = fmt.Sprintf("项目概况:%s项目是剑鱼标讯网站%s发布的%s行业项目信息,该项目投资总额%s万元,建设周期为%s至%s,且目前处于%s阶段。我们将持续跟踪并发布%s进展信息,感兴趣的用户开通大会员查看项目详情。",
|
|
|
|
- projectname, timeFmt(common.InterfaceToStr(detail["createtime"])), common.InterfaceToStr(detail["industry"]), common.If(common.Float64All(detail["total_investment"]) > 0, common.InterfaceToStr(detail["total_investment"]), "-"),
|
|
|
|
|
|
+ detail["generalSituation"] = fmt.Sprintf("%s项目是剑鱼标讯网站%s发布的%s行业项目信息,该项目投资总额%s万元,建设周期为%s至%s,且目前处于%s阶段。我们将持续跟踪并发布%s进展信息,感兴趣的用户开通大会员查看项目详情。",
|
|
|
|
+ projectname, timeFmt(common.InterfaceToStr(detail["firsttime"])), common.InterfaceToStr(detail["industry"]), common.If(common.Float64All(detail["total_investment"]) > 0, common.InterfaceToStr(detail["total_investment"]), "-"),
|
|
timeFmt(common.InterfaceToStr(detail["project_startdate"])), timeFmt(common.InterfaceToStr(detail["project_completedate"])), common.InterfaceToStr(detail["project_stage"]), projectname)
|
|
timeFmt(common.InterfaceToStr(detail["project_startdate"])), timeFmt(common.InterfaceToStr(detail["project_completedate"])), common.InterfaceToStr(detail["project_stage"]), projectname)
|
|
if detail["owner"] != nil && detail["owner"] != "" {
|
|
if detail["owner"] != nil && detail["owner"] != "" {
|
|
detail["owner"] = codeContent
|
|
detail["owner"] = codeContent
|
|
@@ -371,7 +371,7 @@ func timeFmt(tm string) string {
|
|
if len(tms) == 2 {
|
|
if len(tms) == 2 {
|
|
return tms[0]
|
|
return tms[0]
|
|
}
|
|
}
|
|
- return "-"
|
|
|
|
|
|
+ return ""
|
|
}
|
|
}
|
|
|
|
|
|
func getNzjList(infoMap map[string]interface{}) (count int64, list *[]map[string]interface{}) {
|
|
func getNzjList(infoMap map[string]interface{}) (count int64, list *[]map[string]interface{}) {
|