|
@@ -76,7 +76,7 @@ public class VideoRecorControllerSg {
|
|
|
String action =(String) JSONObject.fromObject(jsonObject1).get("url");
|
|
|
String[] split = action.split("\\|");// |需要转义符
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
- jsonObject.put("url", split[0]);
|
|
|
+ jsonObject.put("url", split[1]);
|
|
|
return R.ok().put("data",jsonObject);
|
|
|
} else if (farmId==22) {
|
|
|
System.out.println("海宁");
|
|
@@ -90,7 +90,7 @@ public class VideoRecorControllerSg {
|
|
|
String action =(String) JSONObject.fromObject(jsonObject1).get("url");
|
|
|
String[] split = action.split("\\|");// |需要转义符
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
- jsonObject.put("url", split[0]);
|
|
|
+ jsonObject.put("url", split[1]);
|
|
|
return R.ok().put("data",jsonObject);
|
|
|
} else if (farmId==21){
|
|
|
System.out.println("苍南");
|
|
@@ -104,7 +104,7 @@ public class VideoRecorControllerSg {
|
|
|
String action =(String) JSONObject.fromObject(jsonObject1).get("url");
|
|
|
String[] split = action.split("\\|");// |需要转义符
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
- jsonObject.put("url", split[0]);
|
|
|
+ jsonObject.put("url", split[1]);
|
|
|
return R.ok().put("data",jsonObject);
|
|
|
}else {
|
|
|
return R.error();
|