| | |
| | | //判断AccessToken是否null |
| | | if (!TextUtils.isEmpty(HDLLinkPMUser.getInstance().getAccessToken())) { |
| | | if (UserConfigManage.getInstance().isBAccount()) { |
| | | //2025年03月03日14:45:17 杨涛要求b端账号需要检验权限 |
| | | boolean isAuthorization = SharedPreUtils.getBoolean("isAuthorization"); |
| | | if (isAuthorization) { |
| | | //安装商跳转界面 |
| | | Intent intent = new Intent(); |
| | | intent.setClass(StartActivity.this, BPowerStationActivity.class); |
| | | openActivity(intent); |
| | | } else { |
| | | Intent intent = new Intent(); |
| | | intent.setClass(StartActivity.this, LoginActivity.class); |
| | | openActivity(intent); |
| | | } |
| | | //安装商跳转界面 |
| | | Intent intent = new Intent(); |
| | | intent.setClass(StartActivity.this, BPowerStationActivity.class); |
| | | openActivity(intent); |
| | | } else { |
| | | //C端用户跳转界面 |
| | | // showLoading(); |