光环助手V3.2 DEV(20180413-2100)测试问题汇总

http://gitlab.ghzhushou.com/pm/halo-app-issues/issues/206
This commit is contained in:
kehaoyuan
2018-04-15 16:37:44 +08:00
parent 9be884c672
commit 90fbb235c3
17 changed files with 134 additions and 156 deletions

View File

@ -488,7 +488,8 @@ public class LibaoUtils {
Utils.toast(context, "你已领过这个礼包了");
int countdown = 0;
if (errorJson.toString().contains("countdown")) {
countdown = errorJson.getInt("countdown");
JSONObject data = errorJson.getJSONObject("data");
countdown = data.getInt("countdown");
}
if (countdown > 0 && countdown < 60 * 10) {
EventBus.getDefault().post(new EBUISwitch(REFRESH_LIBAO_TIME, countdown));