Commit 4ba02fe6 authored by hujiebin's avatar hujiebin

Merge branch 'feature/cp-new' into feature/3.9.0

parents 66e0a5c6 f5f4c255
......@@ -121,7 +121,7 @@ func PageAnniversary(c *gin.Context) (*mycontext.MyContext, error) {
anniversary := cp_m.GetAllCpAnniversary(model, userId)
for _, v := range anniversary {
timestamp := v.Timestamp
if v.Type == cp_e.AnniversaryItemTypeAnniversary {
if v.Type == cp_e.AnniversaryItemTypeAnniversary && timestamp > 0 {
timestamp = calcNextAnniversary(timestamp)
}
// 客户端只认识0 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment