diff --git a/route/cp_r/anniversary.go b/route/cp_r/anniversary.go index 17540c8f4625621803dc025cc3e94ce99a81e92a..ebd9c57fadcede8f363d1f70358a6748860f60c0 100644 --- a/route/cp_r/anniversary.go +++ b/route/cp_r/anniversary.go @@ -124,8 +124,13 @@ func PageAnniversary(c *gin.Context) (*mycontext.MyContext, error) { if v.Type == cp_e.AnniversaryItemTypeAnniversary { timestamp = calcNextAnniversary(timestamp) } + // 客户端只认识0 1 + Type := v.Type + if v.Type != cp_e.AnniversaryItemTypeAnniversary { + Type = cp_e.AnniversaryItemTypeNormal + } response = append(response, cp_cv.CvCpAnniversary{ - Type: v.Type, + Type: Type, Id: v.ID, Content: v.Content, Timestamp: timestamp,