获得数据
This commit is contained in:
parent
79bbbbc65c
commit
3c7cd6298d
@ -357,6 +357,7 @@ func (this *Activity) GetHdData(session comm.IUserSession, oids []string) (resul
|
||||
continue
|
||||
}
|
||||
}
|
||||
if activity.Itype == pb.HdType_HdTypeSign || activity.Itype == pb.HdType_HdLevel || activity.Itype == pb.HdType_HdCelebration {
|
||||
list, _ = this.modelhdData.getHddataByOid(session.GetUserId(), id)
|
||||
if activity.Itype == pb.HdType_HdTypeSign {
|
||||
if list.Val == 0 || !utils.IsToday(list.Lasttime) {
|
||||
@ -418,6 +419,8 @@ func (this *Activity) GetHdData(session comm.IUserSession, oids []string) (resul
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if list != nil {
|
||||
result = append(result, list)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user