2 コミット 4ebe5f53ae ... 96236cc411

作者 SHA1 メッセージ 日付
  wzy 96236cc411 Merge branch 'master' of https://mc.cloudpure.cn/mjava/merservice 1 ヶ月 前
  wzy 261ee71be2 职业技能判断宜搭附件下载 1 ヶ月 前
共有1 個のファイルを変更した2 個の追加1 個の削除を含む
  1. 2 1
      src/main/java/com/malk/pro/zyjn/service/impl/ZyjnServiceImpl.java

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