作者 陈志颖

fix:修改过期兑换活动过滤

... ... @@ -528,8 +528,10 @@ func (cashPoolService *CashPoolService) ListExchangeCashActivity(listExchangeCas
// 兑换现金活动返回截止时间处理
var activitiesWithTs []interface{}
currentTime := time.Now()
//endTime := time.Date(currentTime.Year(), currentTime.Month(), currentTime.Day(), 23, 59, 59, 0, currentTime.Location())
for _, activity := range activities {
if activity.Deadline.UnixNano() / 1e6 > time.Now().UnixNano() / 1e6 {
if activity.Deadline.UnixNano() / 1e6 >= currentTime.UnixNano() / 1e6 {
activityWithTs := map[string]interface{} {
"activityId": activity.ActivityId,
"exchangeActivityName": activity.ExchangeActivityName,
... ...