admin
2020-11-28 dc5be7d38446f70e6ff86df311119c32b41fe7f8
utils/src/main/java/com/qcloud/cmq/Account.java
@@ -80,7 +80,7 @@
      JSONObject jsonObj = new JSONObject(result);
      int code = jsonObj.getInt("code");
      if(code != 0)
         throw new CMQServerException(code,jsonObj.getString("message"),jsonObj.getString("requestId"));
         throw new CMQServerException(code,jsonObj.getString("message"),jsonObj.getString("code"));
   }
   /**
@@ -101,7 +101,7 @@
      JSONObject jsonObj = new JSONObject(result);
      int code = jsonObj.getInt("code");
      if(code != 0)
         throw new CMQServerException(code,jsonObj.getString("message"),jsonObj.getString("requestId"));
         throw new CMQServerException(code,jsonObj.getString("message"),jsonObj.getString("code"));
   }
   /**
@@ -129,7 +129,7 @@
      JSONObject jsonObj = new JSONObject(result);
      int code = jsonObj.getInt("code");
      if(code != 0)
         throw new CMQServerException(code,jsonObj.getString("message"),jsonObj.getString("requestId"));
         throw new CMQServerException(code,jsonObj.getString("message"),jsonObj.getString("code"));
      int totalCount = jsonObj.getInt("totalCount");
      JSONArray jsonArray = jsonObj.getJSONArray("queueList");
@@ -192,7 +192,7 @@
      JSONObject jsonObj = new JSONObject(result);
      int code = jsonObj.getInt("code");
      if(code != 0)
         throw new CMQServerException(code,jsonObj.getString("message"),jsonObj.getString("requestId"));
         throw new CMQServerException(code,jsonObj.getString("message"),jsonObj.getString("code"));
   }
@@ -214,7 +214,7 @@
      JSONObject jsonObj = new JSONObject(result);
      int code = jsonObj.getInt("code");
      if(code != 0)
         throw new CMQServerException(code,jsonObj.getString("message"),jsonObj.getString("requestId"));
         throw new CMQServerException(code,jsonObj.getString("message"),jsonObj.getString("code"));
   }
@@ -242,7 +242,7 @@
      JSONObject jsonObj = new JSONObject(result);
      int code = jsonObj.getInt("code");
      if(code != 0)
         throw new CMQServerException(code,jsonObj.getString("message"),jsonObj.getString("requestId"));
         throw new CMQServerException(code,jsonObj.getString("message"),jsonObj.getString("code"));
      int totalCount = jsonObj.getInt("totalCount");
@@ -337,7 +337,7 @@
      JSONObject jsonObj = new JSONObject(result);
      int code = jsonObj.getInt("code");
      if(code != 0)
         throw new CMQServerException(code,jsonObj.getString("message"),jsonObj.getString("requestId"));
         throw new CMQServerException(code,jsonObj.getString("message"),code+"");
   }
@@ -365,7 +365,7 @@
      JSONObject jsonObj = new JSONObject(result);
      int code = jsonObj.getInt("code");
      if(code != 0)
         throw new CMQServerException(code,jsonObj.getString("message"),jsonObj.getString("requestId"));
         throw new CMQServerException(code,jsonObj.getString("message"),jsonObj.getString("code"));
   }