|
400是什么错误?- public boolean process(JNIMessage message) {
- if ("login".equals(message
- .getStrParam(JNIMessage.Key.JNIMESSAGE_KEY_S_ID.getName()))) {
- MPULanguage.LanguageSet(context);
- int result = message.getIntParam(
- JNIMessage.Key.JNIMESSAGE_KEY_I_RESULT.getName(), 0);//result=400
- if (result / 100 == 2) {
- if (loginResult != null) {
- loginResult.onLoginResult(true);
- if(mpu.getPreviewEntity().getPlatform() == 0){
- IMControl.getConfList();
- }
- }
- } else {
- Log.d("LoginProcess", "------------->logout");
- loginResult.onLoginResult(false);
- }
- return true;
- }
- return false;
- }
copycode
|
|