Commit f4a18554 authored by hujiebin's avatar hujiebin

Update anniversary.go

parent 484d82ff
......@@ -31,7 +31,7 @@ func CpAnniversaryNotice() {
for _, v := range anniversary {
var userIds []uint64
userIds = append(userIds, v.UserId1, v.UserId2)
users, err := user_m.GetUserMapByIds(model, userIds)
users, err := user_m.GetUsersByIds(model, userIds)
if err != nil || len(users) < 2 {
model.Log.Errorf("GetUserMapByIds fail:%v", err)
continue
......
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