|
@@ -195,6 +195,20 @@ public class LauncherActivity extends BaseFragmentActivity {
|
|
|
// finish();
|
|
|
}
|
|
|
|
|
|
+ @Subscribe(threadMode = ThreadMode.MAIN)
|
|
|
+ public void initEvent(Object object) {
|
|
|
+ super.initEvent(object);
|
|
|
+ //此处验证机构是否欠费
|
|
|
+ if (object instanceof ArrearsEvent) {
|
|
|
+ OrganEntity entity = ((ArrearsEvent) object).organ;
|
|
|
+ if (entity == null || entity.isArrears.equals(1)) {
|
|
|
+ arrears(((ArrearsEvent) object).message);
|
|
|
+ } else {
|
|
|
+ gotoMain();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
* 判断是否开始验证 是否欠费
|