xuzhiheng 3 年之前
父節點
當前提交
8035a8567c
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/service/private_service.go

+ 3 - 0
src/service/private_service.go

@@ -90,6 +90,9 @@ func (f *Private) Keydatademo(world string) {
 					if v["bidopentime"] != nil {
 						v["bidopentime"] = time.Unix(qu.Int64All(v["bidopentime"]), 0).Format("2006-01-02")
 					}
+					if v["bidendtime"] != nil {
+						v["bidendtime"] = time.Unix(qu.Int64All(v["bidendtime"]), 0).Format("2006-01-02 15:04:05")
+					}
 					if utf8.RuneCountInString(qu.ObjToString(v["title"])) > 60 {
 						title := string([]rune(qu.ObjToString(v["title"]))[:60])
 						v["title"] = title + "..."