| | |
| | | JSONObject picBase64 = JSONObject.parseObject("{\"SubImageInfo\": [{\"FileFormat\":\"Jpeg\",\"Data\":\"无图片\"}]}"); |
| | | |
| | | if(!StringUtil.isEmpty(photo)){ |
| | | picBase64.getJSONArray("SubImageInfo").getJSONObject(0).put("Data","data:image/jpeg;base64,"+photo.replaceAll("\n", "")); |
| | | picBase64.getJSONArray("SubImageInfo").getJSONObject(0).put("Data",photo.replaceAll("\n", "")); |
| | | } |
| | | |
| | | String reqParam = "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ws=\"http://ws.conflux.sunshine.com\">\n" + |