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()){