活动修改

This commit is contained in:
meixiongfeng 2023-09-15 16:03:00 +08:00
parent 980b20141d
commit 1e20c347e0

View File

@ -289,7 +289,7 @@ func (this *Activity) GetHdData(session comm.IUserSession, oids []string) (resul
)
curTime := configure.Now().Unix()
for _, id := range oids {
if activity, err = this.modelhdList.getHdListByHdId(id); err != nil {
if activity, err = this.modelhdList.getHdListByHdId(id); err == nil {
if activity.Stime > curTime || curTime > activity.Etime { // 不在活动范围内数据不给活动记录数据
continue
}