mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-20 10:13:28 +08:00
修复DramaApplication添加@ComponentScan(basePackages = {"org.dromara"})报错的问题
Parameter 0 of method tenantLineInnerInterceptor in org.dromara.common.tenant.config.TenantConfig$MybatisPlusConfiguration required a bean of type 'org.dromara.common.tenant.properties.TenantProperties' that could not be found.
This commit is contained in:
parent
b0b4e573f6
commit
b5111e6733
@ -2,6 +2,7 @@ package org.dromara.common.tenant.properties;
|
|||||||
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||||
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@ -11,6 +12,7 @@ import java.util.List;
|
|||||||
* @author Lion Li
|
* @author Lion Li
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
|
@Component
|
||||||
@ConfigurationProperties(prefix = "tenant")
|
@ConfigurationProperties(prefix = "tenant")
|
||||||
public class TenantProperties {
|
public class TenantProperties {
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user