Browse Source

Pull request #14761: 无jira任务,修复打包

Merge in DESIGN/design from ~DESTINY.LIN/design:fbp/feature to fbp/feature

* commit '9f831ae9f499e514fe02f1de5766897979bd603f':
  无jira任务,修复打包
fbp/feature
Destiny.Lin-林锦龙 3 months ago
parent
commit
d319fa5c06
  1. 4
      designer-realize/src/main/java/com/fanruan/boot/pre/DesignPreStartComponent.java

4
designer-realize/src/main/java/com/fanruan/boot/pre/DesignPreStartComponent.java

@ -61,7 +61,7 @@ import com.fr.tenant.config.TenantConfigProvider;
import com.fr.tenant.context.CurrentTenantProviderStater; import com.fr.tenant.context.CurrentTenantProviderStater;
import com.fr.tenant.context.TenantContext; import com.fr.tenant.context.TenantContext;
import com.fr.tenant.context.provider.CurrentTenantKey; import com.fr.tenant.context.provider.CurrentTenantKey;
import com.fr.tenant.store.impl.DefaultTenantStorage; import com.fr.tenant.store.impl.MemoryTenantStorage;
import com.fr.workspace.WorkContext; import com.fr.workspace.WorkContext;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable; import org.jetbrains.annotations.Nullable;
@ -208,7 +208,7 @@ public class DesignPreStartComponent {
private void startTenant() { private void startTenant() {
TenantContext.registerStorage(new DefaultTenantStorage()); TenantContext.registerStorage(new MemoryTenantStorage());
TenantContext.registerConfigProvider(new TenantConfigProvider() { TenantContext.registerConfigProvider(new TenantConfigProvider() {
@Override @Override
public boolean isMultiTenantOpen() { public boolean isMultiTenantOpen() {

Loading…
Cancel
Save