Commit 934c9fe0 authored by hujiebin's avatar hujiebin

Update anniversary.go

parent 3e5f5e65
...@@ -28,6 +28,9 @@ func CpAnniversaryNotice() { ...@@ -28,6 +28,9 @@ func CpAnniversaryNotice() {
_ = c.AddFunc(spec, func() { _ = c.AddFunc(spec, func() {
var model = domain.CreateModelNil() var model = domain.CreateModelNil()
anniversary := cp_m.GetNeedRemindCpAnniversary(model) anniversary := cp_m.GetNeedRemindCpAnniversary(model)
if len(anniversary) <= 0 {
return
}
var userIds []uint64 var userIds []uint64
for _, v := range anniversary { for _, v := range anniversary {
userIds = append(userIds, v.UserId1) userIds = append(userIds, v.UserId1)
......
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