|
@@ -9,6 +9,7 @@ import (
|
|
|
"jy/src/jfw/modules/subscribepay/src/entity"
|
|
|
"jy/src/jfw/modules/subscribepay/src/util"
|
|
|
"log"
|
|
|
+ "math"
|
|
|
"strings"
|
|
|
"time"
|
|
|
|
|
@@ -306,7 +307,7 @@ func (this *SubscribeChange) VipRenewReminder() {
|
|
|
vipEndTime := qutil.Int64All(redis.Get("newother", key))
|
|
|
endDays := time.Unix(vipEndTime, 0).Sub(time.Now())
|
|
|
return &entity.FuncResult{true, nil, map[string]interface{}{
|
|
|
- "endDays": endDays.Hours() / 24,
|
|
|
+ "endDays": math.Floor(endDays.Hours() / 24),
|
|
|
"activityInfo": res,
|
|
|
}}
|
|
|
}()
|