From b819f8031bc70782c6b0734e6148eb14d96d1712 Mon Sep 17 00:00:00 2001 From: shilei Date: Wed, 12 Oct 2022 09:44:31 +0800 Subject: [PATCH] =?UTF-8?q?#EC-HJ-8#=20=E7=AD=BE=E7=AB=A0=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WEB-INF/prop/PORTAL_INFO.properties | 8 +++++++- src/weaver/interfaces/job/ESiginsCronJob.java | 4 +++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/WEB-INF/prop/PORTAL_INFO.properties b/WEB-INF/prop/PORTAL_INFO.properties index ee2b5c0f..8df71486 100644 --- a/WEB-INF/prop/PORTAL_INFO.properties +++ b/WEB-INF/prop/PORTAL_INFO.properties @@ -38,4 +38,10 @@ bpm_workflowurl = http://172.16.25.133/bpm center = MCCM -bpm_host_array = 10.10.192.187 \ No newline at end of file +bpm_host_array = 10.10.192.187 + + +esiginsUrl = http://172.16.25.133/portal-web/v1/esign + +##/whalecloud/cos/ecology +ecology_app_root = /app/weaver/ecology \ No newline at end of file diff --git a/src/weaver/interfaces/job/ESiginsCronJob.java b/src/weaver/interfaces/job/ESiginsCronJob.java index 739763e1..ba298556 100644 --- a/src/weaver/interfaces/job/ESiginsCronJob.java +++ b/src/weaver/interfaces/job/ESiginsCronJob.java @@ -35,6 +35,8 @@ public class ESiginsCronJob extends BaseCronJob { // String esiginsUrl = "http://172.16.25.133/portal-web/v1/esign/"+sysUserCode+"/esigns" ; String esiginsUrl = bb.getPropValue("PORTAL_INFO","esiginsUrl"); + String ecology_app_root = bb.getPropValue("PORTAL_INFO","ecology_app_root"); + String username = bb.getPropValue("PORTAL_INFO","username"); String passwd = bb.getPropValue("PORTAL_INFO","passwd"); @@ -127,7 +129,7 @@ public class ESiginsCronJob extends BaseCronJob { String sealtype = "1" ; String isdefault = "1"; - String filepath = "/app/weaver/ecology/filesystem/dzyz/"+sysUserCode ; + String filepath = ecology_app_root+"/filesystem/dzyz/"+sysUserCode ; bb.writeLog("filepath:"+filepath); File file = new File(filepath); if(!file.exists()){