wxr
2023-01-03 0fd690cf61ce8b954cd742fb790cd8c3cce18d6d
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();