koupleless icon indicating copy to clipboard operation
koupleless copied to clipboard

add precode for biz and base

Open lvjing2 opened this issue 5 months ago • 0 comments

now we need to add some code at the begin of main for biz and base

For Base

MultiBizProperties.initSystem();

For Biz

SpringApplicationBuilder builder = new SpringApplicationBuilder(Biz2Application.class);
ResourceLoader resourceLoader = new DefaultResourceLoader(
            Biz2Application.class.getClassLoader());
builder.resourceLoader(resourceLoader);

But now we need to add this manually, we should consider how to add this automatically

lvjing2 avatar Mar 08 '24 01:03 lvjing2