|
|
@@ -98,16 +98,16 @@ public class NjwlSmsService {
|
|
|
|
|
|
String responseBody = writer.toString();
|
|
|
log.info(responseBody);
|
|
|
- Map<String, Object> formMap = JSON.parseObject(responseBody, LinkedHashMap.class, Feature.OrderedField);//关键的地方,转化为有序map
|
|
|
-
|
|
|
- Object success = formMap.get("Code");
|
|
|
- String ok = "";
|
|
|
- if (success instanceof String) {
|
|
|
- ok = (String) success;
|
|
|
- }
|
|
|
- if (!"200".equals(ok)) {
|
|
|
- throw new BusinessException("发送失败,请稍后重试!");
|
|
|
- }
|
|
|
+// Map<String, Object> formMap = JSON.parseObject(responseBody, LinkedHashMap.class, Feature.OrderedField);//关键的地方,转化为有序map
|
|
|
+//
|
|
|
+// Object success = formMap.get("Code");
|
|
|
+// String ok = "";
|
|
|
+// if (success instanceof String) {
|
|
|
+// ok = (String) success;
|
|
|
+// }
|
|
|
+// if (!"200".equals(ok)) {
|
|
|
+// throw new BusinessException("发送失败,请稍后重试!");
|
|
|
+// }
|
|
|
}
|
|
|
|
|
|
|