1.共享审批人员分配问题处理
This commit is contained in:
parent
979b2d274a
commit
00a4e22afb
|
@ -43,7 +43,7 @@ public final class CosmicLauncher {
|
|||
*/
|
||||
private static final String DEFAULT_COSMIT_HOME_PATH = System.getProperty("user.home").replaceAll("\\\\", "/") + "/cosmic/home";
|
||||
|
||||
private static final String PROJECT_HOME = "D:/WorkSpace/zcdev";
|
||||
private static final String PROJECT_HOME = "E:/code/zhongcai_dev";
|
||||
|
||||
private static final String LOCAL_IP = "127.0.0.1";
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
package zcgj.cosmic.debug;
|
||||
|
||||
import kd.cosmic.debug.tools.CosmicLauncher;
|
||||
import kd.sdk.bos.launch.Launcher;
|
||||
|
||||
/**
|
||||
* 启动本地应用程序(微服务节点)
|
||||
|
@ -21,16 +22,25 @@ public class DebugApplication {
|
|||
// Thread.currentThread().setContextClassLoader(new KDSecurityClassLoader(Thread.currentThread().getContextClassLoader()));
|
||||
|
||||
CosmicLauncher cosmic = new CosmicLauncher(false);
|
||||
// 关闭轻量环境,启用 redis、rabbitmq
|
||||
cosmic.setEnableLightWeightDeploy(false);
|
||||
|
||||
//debbugTopic 需要设置成每人都不同的
|
||||
String debbugTopic = "zzg";
|
||||
// 注册为消息队列消费者
|
||||
cosmic.setMqConsumerRegister(true, debbugTopic);
|
||||
|
||||
cosmic.setClusterNumber("cosmic");
|
||||
cosmic.setTenantNumber("ierp");
|
||||
|
||||
// cosmic.setConfigUrl("127.0.0.1:2181?user=zk&password=xxx");
|
||||
cosmic.setConfigUrl("192.168.10.210:2181?user=zookeeper&password=123456abc");
|
||||
|
||||
cosmic.setConfigUrl("192.168.10.210?user=zookeeper&password=123456abc");
|
||||
//cosmic.setConfigUrl("26.60.218.15?user=zookeeper&password=123456abc");
|
||||
|
||||
// cosmic.setMcServerUrl("http://127.0.0.1:8090");
|
||||
cosmic.setMcServerUrl("http://192.168.10.210:8090/");
|
||||
|
||||
// cosmic.setMcServerUrl("http://26.60.218.15:8090/");
|
||||
|
||||
// cosmic.setFsServerUrl("127.0.0.1", 8100);
|
||||
// cosmic.setImageServerUrl("127.0.0.1", 8100);
|
||||
|
||||
|
@ -38,7 +48,41 @@ public class DebugApplication {
|
|||
cosmic.setCosmicWebPort(8881);
|
||||
// cosmic.setDubboConfig(false, true, true);
|
||||
cosmic.start();
|
||||
|
||||
|
||||
//redis 47.101.159.154
|
||||
|
||||
// debbugTopic 需要设置成每人都不同的
|
||||
// String debbugTopic = "zzg";
|
||||
// 注册为消息队列消费者
|
||||
//cosmic.setMqConsumerRegister(true, debbugTopic);
|
||||
|
||||
|
||||
// rabbitmq配置
|
||||
/* {
|
||||
//MQ地址
|
||||
String mqHost = "139.224.101.245";
|
||||
String mqPort = "5672"; // 默认5672
|
||||
//MQ用戶名
|
||||
String mqUser = "admin";
|
||||
//MQ密碼
|
||||
String mqPwd = "admin";
|
||||
// MQ Ierp vhost
|
||||
String mqVhost = "ierp";
|
||||
StringBuilder builder = new StringBuilder();
|
||||
builder.append("type=rabbitmq").append(System.getProperty("line.separator"))
|
||||
.append("host=").append(mqHost).append(System.getProperty("line.separator"))
|
||||
.append("port=").append(mqPort).append(System.getProperty("line.separator"))
|
||||
.append("user=").append(mqUser).append(System.getProperty("line.separator"))
|
||||
.append("password=").append(mqPwd).append(System.getProperty("line.separator"))
|
||||
.append("vhost=").append(mqVhost);
|
||||
cosmic.set("mq.server", builder.toString());
|
||||
}
|
||||
|
||||
// redis
|
||||
{
|
||||
String redisUrl = "47.101.159.154:6379";
|
||||
cosmic.set("redis.serversForCache", redisUrl);
|
||||
cosmic.set("redis.serversForSession", redisUrl);
|
||||
cosmic.set("algo.storage.redis.url", redisUrl);
|
||||
}*/
|
||||
}
|
||||
}
|
|
@ -3,13 +3,13 @@
|
|||
### If there are any issues during the use process, you can provide feedback to the kingdee developer community website.
|
||||
### Website: https://developer.kingdee.com/developer?productLineId=29
|
||||
### Author: liebin.zheng
|
||||
### Generate Date: 2025-03-04 10:51:23
|
||||
### Generate Date: 2025-02-21 09:31:59
|
||||
### ----------------------------
|
||||
systemProp.kddt_version=2.2.0-Beta
|
||||
systemProp.template_type=app
|
||||
systemProp.groupId=zcgj.cosmic
|
||||
systemProp.artifactId=zcgj-cosmic
|
||||
systemProp.version=1.0.0
|
||||
##systemProp.version=1.0.0
|
||||
systemProp.ci_version=2.0
|
||||
systemProp.jdk.version=1.8
|
||||
systemProp.new_cosmic_project=true
|
||||
|
@ -18,7 +18,7 @@ systemProp.developer_flag=zcgj
|
|||
#--This is the project flag
|
||||
systemProp.project_flag=zcdev
|
||||
#--This is the project dir
|
||||
systemProp.project_dir=D:/WorkSpace/zcdev
|
||||
systemProp.project_dir=E:/code/zhongcai_dev
|
||||
#--This is the dir for cosmic project libs and static resouces
|
||||
systemProp.cosmic_home=D:/comsic/home
|
||||
#--Performance configuration for gradle build
|
||||
|
|
Loading…
Reference in New Issue