xuzhiheng 3 năm trước cách đây
mục cha
commit
8035a8567c
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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 + "..."