调整框架及订单模块
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package com.tashow.cloud.tenant.core.context;
|
||||
|
||||
import com.alibaba.ttl.TransmittableThreadLocal;
|
||||
import com.tashow.cloud.common.enums.DocumentEnum;
|
||||
|
||||
/**
|
||||
* 多租户上下文 Holder
|
||||
@@ -37,8 +36,7 @@ public class TenantContextHolder {
|
||||
public static Long getRequiredTenantId() {
|
||||
Long tenantId = getTenantId();
|
||||
if (tenantId == null) {
|
||||
throw new NullPointerException("TenantContextHolder 不存在租户编号!可参考文档:"
|
||||
+ DocumentEnum.TENANT.getUrl());
|
||||
throw new NullPointerException("TenantContextHolder 不存在租户编号!");
|
||||
}
|
||||
return tenantId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user