2 Commits 4ebe5f53ae ... 96236cc411

Autor SHA1 Nachricht Datum
  wzy 96236cc411 Merge branch 'master' of https://mc.cloudpure.cn/mjava/merservice vor 1 Monat
  wzy 261ee71be2 职业技能判断宜搭附件下载 vor 1 Monat

+ 2 - 1
src/main/java/com/malk/pro/zyjn/service/impl/ZyjnServiceImpl.java

@@ -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);