mirror of
https://gitee.com/BDWare/agent-backend
synced 2025-04-28 15:12:16 +00:00
sync versions
This commit is contained in:
parent
1dc3790784
commit
ca8afb8333
@ -87,8 +87,14 @@ public class GlobalConf {
|
|||||||
dbName,
|
dbName,
|
||||||
"ADSPDir",
|
"ADSPDir",
|
||||||
new File("./BDWareProjectDir/ADSPDir/").getAbsolutePath());
|
new File("./BDWareProjectDir/ADSPDir/").getAbsolutePath());
|
||||||
|
File f = new File("./yjs.jar");
|
||||||
|
if (f.exists()) {
|
||||||
KeyValueDBUtil.instance.setValue(
|
KeyValueDBUtil.instance.setValue(
|
||||||
dbName, "yjsPath", new File("./yjs.jar").getAbsolutePath());
|
dbName, "yjsPath", new File("./yjs.jar").getAbsolutePath());
|
||||||
|
}else {
|
||||||
|
KeyValueDBUtil.instance.setValue(
|
||||||
|
dbName, "yjsPath", new File("./cp/yjs.jar").getAbsolutePath());
|
||||||
|
}
|
||||||
conf.keyPairStr = SM2Util.generateSM2KeyPair().toJson();
|
conf.keyPairStr = SM2Util.generateSM2KeyPair().toJson();
|
||||||
|
|
||||||
LOGGER.debug("getting keyPairStr " + conf.keyPairStr);
|
LOGGER.debug("getting keyPairStr " + conf.keyPairStr);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user