|
@@ -662,8 +662,7 @@ func refundAuto() {
|
|
|
vip_endtime := common.ObjToString(vv["vip_endtime"])
|
|
|
vip_endtimes, _ := time.ParseInLocation(date.Date_Full_Layout, vip_endtime, time.Local)
|
|
|
//查看服务到期时间
|
|
|
- historyTimes, _ := time.ParseInLocation(date.Date_Full_Layout, nowTime, time.Local)
|
|
|
- if vip_endtimes.Unix() <= historyTimes.Unix() {
|
|
|
+ if vip_endtimes.Unix() <= db.CustomerTime {
|
|
|
//三个月
|
|
|
if time.Now().Unix()-vip_endtimes.Unix() < 3*30*86400 {
|
|
|
isOk = true
|