#EC-HJ-8# 签章路径优化

dev
shilei 3 years ago
parent 316695473b
commit b819f8031b

@ -39,3 +39,9 @@ center = MCCM
bpm_host_array = 10.10.192.187 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

@ -35,6 +35,8 @@ public class ESiginsCronJob extends BaseCronJob {
// String esiginsUrl = "http://172.16.25.133/portal-web/v1/esign/"+sysUserCode+"/esigns" ; // String esiginsUrl = "http://172.16.25.133/portal-web/v1/esign/"+sysUserCode+"/esigns" ;
String esiginsUrl = bb.getPropValue("PORTAL_INFO","esiginsUrl"); 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 username = bb.getPropValue("PORTAL_INFO","username");
String passwd = bb.getPropValue("PORTAL_INFO","passwd"); String passwd = bb.getPropValue("PORTAL_INFO","passwd");
@ -127,7 +129,7 @@ public class ESiginsCronJob extends BaseCronJob {
String sealtype = "1" ; String sealtype = "1" ;
String isdefault = "1"; String isdefault = "1";
String filepath = "/app/weaver/ecology/filesystem/dzyz/"+sysUserCode ; String filepath = ecology_app_root+"/filesystem/dzyz/"+sysUserCode ;
bb.writeLog("filepath:"+filepath); bb.writeLog("filepath:"+filepath);
File file = new File(filepath); File file = new File(filepath);
if(!file.exists()){ if(!file.exists()){

Loading…
Cancel
Save