|
|
@@ -81,8 +81,8 @@ func GetLatest(page, perPage, recommend int64, useCache bool) (LiveBroads []*Liv
|
|
|
}
|
|
|
for _, pd := range LiveBroads {
|
|
|
pd.Cover = GetCdnFullImgUrl(pd.Cover)
|
|
|
- pd.BeginTimeFomat = pd.BeginDate.Format("01-02 15:04")
|
|
|
- pd.EndTimeFomat = pd.EndDate.Format("01-02 15:04")
|
|
|
+ pd.BeginTimeFomat = pd.BeginDate.Format("1-02 15:04")
|
|
|
+ pd.EndTimeFomat = pd.EndDate.Format("1-02 15:04")
|
|
|
}
|
|
|
cache.Cache.Put(k, LiveBroads, 10*time.Minute)
|
|
|
return LiveBroads
|