@ -44,6 +44,12 @@ public class RabchaserApi {
String json = HttpClient.post(baseUrl + url, dataMap, headMap);
log.info("发送短信完成:" + json);
List<Map> list = JSONUtil.json2Object(json, List.class);
Map map = list.get(0);
String code = map.get("code").toString();
if (!"0".equals(code)) {
throw new ApiException(map.get("message").toString());
}
} catch (ApiException e) {
throw e;
} catch (Exception e) {