Commit bcf2c842 by zhangkb

修改启动项

parent a893d645
......@@ -19,10 +19,10 @@ public class TagManagerApplication {
public static void main(String[] args) {
System.setProperty("es.set.netty.runtime.available.processors", "false");
SpringApplication.run(TagManagerApplication.class, args);
// new SpringApplicationBuilder()
// .environment(StandardEncryptableEnvironment.builder().encryptor(stringEncryptor()).build())
// .sources(TagManagerApplication.class).run(args);
// SpringApplication.run(TagManagerApplication.class, args);
new SpringApplicationBuilder()
.environment(StandardEncryptableEnvironment.builder().encryptor(stringEncryptor()).build())
.sources(TagManagerApplication.class).run(args);
}
private static StringEncryptor stringEncryptor() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment