|
|
|
@ -1733,11 +1733,11 @@ public class ElephantInvoiceApiV6ByInspurServiceImpl implements IInvoiceApiServi |
|
|
|
|
json = JSONUtil.parseObj(data); |
|
|
|
|
} |
|
|
|
|
// 键值转小写
|
|
|
|
|
// JSONObject lowerCaseJson = new JSONObject();
|
|
|
|
|
// json.forEach((key, value) -> {
|
|
|
|
|
// String lowerCaseKey = key.toLowerCase();
|
|
|
|
|
// lowerCaseJson.put(lowerCaseKey, value);
|
|
|
|
|
// });
|
|
|
|
|
JSONObject lowerCaseJson = new JSONObject(); |
|
|
|
|
json.forEach((key, value) -> { |
|
|
|
|
String lowerCaseKey = key.toLowerCase(); |
|
|
|
|
lowerCaseJson.put(lowerCaseKey, value); |
|
|
|
|
}); |
|
|
|
|
return new HXResponse(code, "", json, true); |
|
|
|
|
} else { |
|
|
|
|
return new HXResponse(ztdm, ztxx, "", true); |
|
|
|
|