AndroidOpenDemo/DeviceAddModule/src/main/java/com/mm/android/deviceaddmodule/openapi/HttpSend.java
@@ -53,13 +53,13 @@ } String code = jsonResult.get("code").getAsString(); if (!"0".equals(code)) { // try { try { String msg = jsonResult.get("msg").getAsString(); throw new BusinessException(code + msg); // }catch (Exception exception){ // String msg = jsonResult.get("message").getAsString(); // throw new BusinessException(code + msg); // } }catch (Exception exception){ String msg = jsonResult.get("message").getAsString(); throw new BusinessException(code + msg); } } JsonObject jsonData = new JsonObject();