|
|
|
@ -438,6 +438,7 @@ public class AppController extends BaseController
|
|
|
|
|
}
|
|
|
|
|
catch (Exception e)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
throw new ServiceException(e.getMessage());
|
|
|
|
|
}
|
|
|
|
|
if (!StringUtils.isEmpty(result))
|
|
|
|
@ -648,6 +649,7 @@ public class AppController extends BaseController
|
|
|
|
|
public JSONObject removeBase64Image(JSONObject jsonObject,Long recordId)
|
|
|
|
|
{
|
|
|
|
|
List<String> jsonKeyList = new ArrayList<String>(){{
|
|
|
|
|
add("st_avg_yellow");
|
|
|
|
|
add("img_sz");
|
|
|
|
|
add("img_sz_yudian");
|
|
|
|
|
add("img_sz_yuban");
|
|
|
|
@ -657,7 +659,6 @@ public class AppController extends BaseController
|
|
|
|
|
add("img_sx_vein");
|
|
|
|
|
add("sz_avg_red");
|
|
|
|
|
add("sz_avg_purple");
|
|
|
|
|
add("st_avg_yellow");
|
|
|
|
|
add("sx_vein_avg_purple");
|
|
|
|
|
}};
|
|
|
|
|
try {
|
|
|
|
@ -694,6 +695,7 @@ public class AppController extends BaseController
|
|
|
|
|
for (Map.Entry<String, Object> entry : ((JSONObject) obj).entrySet()) {
|
|
|
|
|
// 如果key包含在图片
|
|
|
|
|
if (imageKeys.contains(entry.getKey())) {
|
|
|
|
|
System.out.println(entry.getKey());
|
|
|
|
|
String imageStr = null;
|
|
|
|
|
String imageKey = null;
|
|
|
|
|
if (entry.getValue() instanceof JSONObject) {
|
|
|
|
|