|
@@ -316,6 +316,8 @@ func checkIsExpire() {
|
|
redis.Del("other", "p1_indexMessage_"+_id) //清除redis中vip状态
|
|
redis.Del("other", "p1_indexMessage_"+_id) //清除redis中vip状态
|
|
filePackKey := fmt.Sprintf(jy.FilePackNumKey, _id, fmt.Sprint(time.Now().Month()))
|
|
filePackKey := fmt.Sprintf(jy.FilePackNumKey, _id, fmt.Sprint(time.Now().Month()))
|
|
redis.Del(jy.PowerCacheDb, filePackKey) //清除redis中附件下载包次数
|
|
redis.Del(jy.PowerCacheDb, filePackKey) //清除redis中附件下载包次数
|
|
|
|
+ vipFileUploadNumKey := fmt.Sprintf(jy.VipFileUploadNumKey, _id, fmt.Sprint(time.Now().Month()))
|
|
|
|
+ redis.Del(jy.PowerCacheDb, vipFileUploadNumKey) //清除redis中vip使用次数
|
|
} else if l_vip_endtime-now_unix <= threeday && i_vip_expire_tip != 1 {
|
|
} else if l_vip_endtime-now_unix <= threeday && i_vip_expire_tip != 1 {
|
|
updateOk := util.MQFW.UpdateById("user", _id, map[string]interface{}{
|
|
updateOk := util.MQFW.UpdateById("user", _id, map[string]interface{}{
|
|
"$set": map[string]interface{}{
|
|
"$set": map[string]interface{}{
|