限制1小时弹窗
This commit is contained in:
parent
d4ffcb5780
commit
23debff80a
@ -103,7 +103,7 @@ public class TimeUtils {
|
||||
long lastOpenTime = TIndicator.getLong(ITItem.CONSTANTS_VipPurchaseTime_key, 0);
|
||||
if (lastOpenTime != 0) {
|
||||
long current = System.currentTimeMillis();
|
||||
if (current - lastOpenTime >= 0) { //(60 * 60 * 1000)
|
||||
if (current - lastOpenTime >= (60 * 60 * 1000)) {
|
||||
TIndicator.saveLong(ITItem.CONSTANTS_VipPurchaseTime_key, System.currentTimeMillis());
|
||||
return true;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user