mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-18 09:35:29 +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 org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@ -11,6 +12,7 @@ import java.util.List;
|
||||
* @author Lion Li
|
||||
*/
|
||||
@Data
|
||||
@Component
|
||||
@ConfigurationProperties(prefix = "tenant")
|
||||
public class TenantProperties {
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user