Browse Source

Config files

wfansh 4 months ago
parent
commit
00f7db8a03

BIN
conf/adweb_v3.sql.zip


+ 3 - 3
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/common/service/ShellService.java

@@ -50,8 +50,8 @@ public class ShellService {
     @Value("${usWest118Server.shellpath}")
     private String usWest118ServerShellPath;
 
-    @Value("${v2.projectPath}")
-    private String v2ProjectPath;
+    @Value("${v3.projectPath}")
+    private String projectPath;
 
     /**
      * 创建共享站点  命令
@@ -314,7 +314,7 @@ public class ShellService {
     public void exceShellByServerInfo(String cmd, String ip, Integer port, String username, String password, ShellSSH2Util.StdoutListener stdoutListener) {
         long currentTimeMillis = System.currentTimeMillis();
         if (password.contains(".cer") || password.contains(".pem")) {
-            File pemFile = new File(v2ProjectPath + "/" + password);
+            File pemFile = new File(projectPath + "/" + password);
             ShellSSH2Util.execmd(ip, port, username, pemFile, cmd, stdoutListener);
         } else {
             ShellSSH2Util.execmdByPwd(ip, port, username, password, cmd, stdoutListener);

+ 2 - 5
jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml

@@ -457,12 +457,9 @@ usWest118Server:
   port: 50002
   shellpath: /usr/local/adweb-v2/shell
 
-#v2项目路径
-v2:
+#v3项目路径
+v3:
   projectPath: D:/Advich/pem
-  seoReportPath: /seopdf/report/
-  domainUrl: https://cyan.feishu.adwebcloud.com
-  pdfExportServiceUrl: https://puppeteer.advichcloud.com:7020
 
 #建站链接测试环境配置
 AdwebSiteConnect:

+ 1 - 4
jeecg-module-system/jeecg-system-start/src/main/resources/application-prod.yml

@@ -457,11 +457,8 @@ usWest118Server:
   shellpath: /usr/local/adweb-v2/shell
 
 #v2项目路径
-v2:
+v3:
   projectPath: /opt/adweb3/pem
-  seoReportPath: /seopdf/report/
-  domainUrl: https://cyan.feishu.adwebcloud.com
-  pdfExportServiceUrl: https://puppeteer.advichcloud.com:7020
 
 #建站链接测试环境配置
 AdwebSiteConnect:

+ 2 - 5
jeecg-module-system/jeecg-system-start/src/main/resources/application-test.yml

@@ -456,12 +456,9 @@ usWest118Server:
   port: 50002
   shellpath: /usr/local/adweb-v2/shell
 
-#v2项目路径
-v2:
+#v3项目路径
+v3:
   projectPath: /opt/adweb3/pem
-  seoReportPath: /seopdf/report/
-  domainUrl: https://cyan.feishu.adwebcloud.com
-  pdfExportServiceUrl: https://puppeteer.advichcloud.com:7020
 
 #建站链接测试环境配置
 AdwebSiteConnect: