Commit 4e7f7c6d by zhouguibin

Merge remote-tracking branch 'origin/master' into master

# Conflicts:
#	src/main/java/com/metro/auth/platform/metrointerface/ExternalController.java
parents dacba634 c3e43ada
...@@ -370,9 +370,10 @@ public class ExternalController { ...@@ -370,9 +370,10 @@ public class ExternalController {
if(filepath==null) { if(filepath==null) {
fileDownDTO.setFilepath(""); fileDownDTO.setFilepath("");
} else if (filepath.contains("http")) { } else if (filepath.contains("http")) {
fileDownDTO.setFilepath(coverFilejson.getString("filePath")); fileDownDTO.setFilepath(filepath);
}else { }else {
fileDownDTO.setFilepath(PlatformUrlManager.API_IMGURL + filepath); // fileDownDTO.setFilepath(PlatformUrlManager.API_IMGURL + filepath);
fileDownDTO.setFilepath(filepath);
} }
}else{ }else{
fileDownDTO.setFilepath(""); fileDownDTO.setFilepath("");
...@@ -445,7 +446,8 @@ public class ExternalController { ...@@ -445,7 +446,8 @@ public class ExternalController {
} else if (filepath.contains("http")) { } else if (filepath.contains("http")) {
fileDownDTO.setFilepath(coverFilejson.getString("filePath")); fileDownDTO.setFilepath(coverFilejson.getString("filePath"));
}else { }else {
fileDownDTO.setFilepath(PlatformUrlManager.API_IMGURL + filepath); // fileDownDTO.setFilepath(PlatformUrlManager.API_IMGURL + filepath);
fileDownDTO.setFilepath(filepath);
} }
}else{ }else{
fileDownDTO.setFilepath(""); fileDownDTO.setFilepath("");
...@@ -585,7 +587,8 @@ public class ExternalController { ...@@ -585,7 +587,8 @@ public class ExternalController {
} else if (filepath.contains("http")) { } else if (filepath.contains("http")) {
fileDownDTO.setFilepath(coverFilejson.getString("filePath")); fileDownDTO.setFilepath(coverFilejson.getString("filePath"));
}else { }else {
fileDownDTO.setFilepath(PlatformUrlManager.API_IMGURL + filepath); // fileDownDTO.setFilepath(PlatformUrlManager.API_IMGURL + filepath);
fileDownDTO.setFilepath(filepath);
} }
}else{ }else{
fileDownDTO.setFilepath(""); fileDownDTO.setFilepath("");
...@@ -654,7 +657,8 @@ public class ExternalController { ...@@ -654,7 +657,8 @@ public class ExternalController {
} else if (filepath.contains("http")) { } else if (filepath.contains("http")) {
fileDownDTO.setFilepath(coverFilejson.getString("filePath")); fileDownDTO.setFilepath(coverFilejson.getString("filePath"));
}else { }else {
fileDownDTO.setFilepath(PlatformUrlManager.API_IMGURL + filepath); // fileDownDTO.setFilepath(PlatformUrlManager.API_IMGURL + filepath);
fileDownDTO.setFilepath(filepath);
} }
}else{ }else{
fileDownDTO.setFilepath(""); fileDownDTO.setFilepath("");
...@@ -721,7 +725,8 @@ public class ExternalController { ...@@ -721,7 +725,8 @@ public class ExternalController {
} else if (filepath.contains("http")) { } else if (filepath.contains("http")) {
fileDownDTO.setFilepath(coverFilejson.getString("filePath")); fileDownDTO.setFilepath(coverFilejson.getString("filePath"));
}else { }else {
fileDownDTO.setFilepath(PlatformUrlManager.API_IMGURL + filepath); // fileDownDTO.setFilepath(PlatformUrlManager.API_IMGURL + filepath);
fileDownDTO.setFilepath(filepath);
} }
}else{ }else{
fileDownDTO.setFilepath(""); fileDownDTO.setFilepath("");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论