|
|
@@ -41,6 +41,7 @@ import java.util.regex.Pattern;
|
|
|
@Service
|
|
|
public class ZyjnServiceImpl implements ZyjnService {
|
|
|
private final String tableFilePath = "/home/server/zhiyejineng/file/";
|
|
|
+// private final String tableFilePath = "d:\\";
|
|
|
|
|
|
private final String downloadUrl = "https://mc.cloudpure.cn/pro/zyjn/download/";
|
|
|
|
|
|
@@ -248,7 +249,7 @@ public class ZyjnServiceImpl implements ZyjnService {
|
|
|
fileURL = fileURL.substring(0,fileURL.lastIndexOf("/") + 1) + encodeFileName;
|
|
|
}
|
|
|
//若是宜搭附件url 则需获得附件临时免登地址
|
|
|
- if (fileURL.contains("aliwork")){
|
|
|
+ if (!fileURL.contains("mc.cloudpure.cn")){
|
|
|
String pid= MDC.get("MDC_KEY_PID");
|
|
|
String[] yida= McProject.getYida(pid);
|
|
|
|