|
@@ -426,7 +426,7 @@ func ArticleRecommendation(t string, num int) map[string]interface{} {
|
|
|
tmpdate, _ := v["l_createdate"]
|
|
|
v["l_createdate"] = util.TimeDiff(time.Unix(util.Int64All(tmpdate), 0))
|
|
|
tmpdate1, _ := v["releasetime"]
|
|
|
- v["releasetime"] = util.TimeDiff(time.Unix(util.Int64All(tmpdate1), 0))
|
|
|
+ //v["releasetime"] = util.TimeDiff(time.Unix(util.Int64All(tmpdate1), 0))
|
|
|
reltime := time.Unix(util.Int64All(tmpdate1), 0)
|
|
|
v["time"] = reltime.Format(Date_yyyyMMdd_Point) //首页展示
|
|
|
v["s_pic"] = SPic(util.InterfaceToStr(v["s_pic"]))
|
|
@@ -524,7 +524,7 @@ func GuidelineDetails(id string, keyWord ...string) []map[string]interface{} {
|
|
|
tmpdate, _ := v["l_createdate"]
|
|
|
v["l_createdate"] = util.TimeDiff(time.Unix(util.Int64All(tmpdate), 0))
|
|
|
tmpdate1, _ := v["releasetime"]
|
|
|
- v["releasetime"] = util.TimeDiff(time.Unix(util.Int64All(tmpdate1), 0))
|
|
|
+ //v["releasetime"] = util.TimeDiff(time.Unix(util.Int64All(tmpdate1), 0))
|
|
|
reltime := time.Unix(util.Int64All(tmpdate1), 0)
|
|
|
v["time"] = reltime.Format(Date_yyyyMMdd_Point) //首页展示
|
|
|
v["s_pic"] = SPic(util.InterfaceToStr(v["s_pic"]))
|