Merge branch 'dev' of gitlab.ghzhushou.com:halo/assistant-android into 3.1
This commit is contained in:
@ -263,6 +263,8 @@ public class LibaoDetailActivity extends BaseActivity implements LibaoDetailAdap
|
||||
curStatusCount++;
|
||||
}
|
||||
}
|
||||
|
||||
// 由领取到淘号的状态转换
|
||||
if (repeat <= curStatusCount || curStatusCount == 0) { // 当前领取/淘号总数是否超过总重复领取次数 / 当前状态的礼包没有领取/淘号过
|
||||
if (curStatusCount == 0 && ("ling".equals(beforeStatus) || "tao".equals(beforeStatus))) {
|
||||
if (isCanLing()) { // 恢复原始状态
|
||||
@ -306,7 +308,7 @@ public class LibaoDetailActivity extends BaseActivity implements LibaoDetailAdap
|
||||
long curTime = Utils.getTime(this) * 1000;
|
||||
int lingDay = Integer.parseInt(formatDay.format(lingTime));
|
||||
int curDay = Integer.parseInt(formatDay.format(curTime));
|
||||
if ((curTime > lingTime && curDay != lingDay) || curTime - lingTime > 24 * 60 * 60 * 1000) {
|
||||
if (curDay != lingDay || curTime - lingTime > 24 * 60 * 60 * 1000) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user