Browse Source

推送时间格式处理

WH01243 2 years ago
parent
commit
fb966ee614
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/jfw/front/shorturl.go

+ 2 - 2
src/jfw/front/shorturl.go

@@ -1193,7 +1193,7 @@ func DescriptionHandle(stype string, obj map[string]interface{}) string {
 	description := ""
 	log.Println("3333333333333333publishtime", obj["publishtime"])
 	log.Println("4444444444l_publishtime", obj["l_publishtime"])
-	pushTime := time.Unix(util.Int64All(obj["publishtime"]), 0)
+	pushTime := time.Unix(util.Int64All(obj["l_publishtime"]), 0)
 	title := util.InterfaceToStr(obj["title"])
 	owner := util.InterfaceToStr(obj["owner"])
 	buyer := util.InterfaceToStr(obj["buyer"])
@@ -1201,7 +1201,7 @@ func DescriptionHandle(stype string, obj map[string]interface{}) string {
 		buyer = owner
 	}
 	s_winner := util.InterfaceToStr(obj["s_winner"])
-	publishtime := util.Int64All(obj["publishtime"])
+	publishtime := util.Int64All(obj["l_publishtime"])
 	area := util.InterfaceToStr(obj["area"])
 	city := util.InterfaceToStr(obj["city"])
 	if stype == "bdprivate" {