This commit is contained in:
MaxKey
2023-08-17 10:19:46 +08:00
parent 5e7520d08e
commit a49538d575
96 changed files with 107 additions and 107 deletions

View File

@@ -35,23 +35,23 @@ import org.springframework.context.annotation.ComponentScan;
import jakarta.servlet.ServletException;
@ComponentScan(basePackages = {
"org.maxkey.authn",
"org.maxkey.configuration",
"org.maxkey.entity",
"org.maxkey.entity.apps",
"org.maxkey.entity.userinfo",
"org.maxkey.web.apis.identity.kafka",
"org.maxkey.web.apis.identity.rest",
"org.maxkey.web.apis.identity.scim",
"org.maxkey.persistence",
"org.maxkey.provision",
"org.maxkey.web",
"org.maxkey.web.api.endpoint",
"org.maxkey.web.contorller",
"org.maxkey.web.endpoint",
"org.maxkey.web.interceptor",
"org.dromara.maxkey.authn",
"org.dromara.maxkey.configuration",
"org.dromara.maxkey.entity",
"org.dromara.maxkey.entity.apps",
"org.dromara.maxkey.entity.userinfo",
"org.dromara.maxkey.web.apis.identity.kafka",
"org.dromara.maxkey.web.apis.identity.rest",
"org.dromara.maxkey.web.apis.identity.scim",
"org.dromara.maxkey.persistence",
"org.dromara.maxkey.provision",
"org.dromara.maxkey.web",
"org.dromara.maxkey.web.api.endpoint",
"org.dromara.maxkey.web.contorller",
"org.dromara.maxkey.web.endpoint",
"org.dromara.maxkey.web.interceptor",
})
@MapperScan("org.maxkey.persistence.mapper,")
@MapperScan("org.dromara.maxkey.persistence.mapper,")
@SpringBootApplication
@EnableDiscoveryClient
public class MaxKeyOpenApiApplication extends SpringBootServletInitializer {

View File

@@ -1,14 +1,14 @@
org.maxkey.autoconfigure.ApplicationAutoConfiguration
org.maxkey.autoconfigure.KaptchaAutoConfiguration
org.maxkey.autoconfigure.MvcAutoConfiguration
org.maxkey.autoconfigure.JwtAuthnAutoConfiguration
org.maxkey.autoconfigure.RedisAutoConfiguration
org.maxkey.autoconfigure.AuthnProviderAutoConfiguration
org.maxkey.autoconfigure.OneTimePasswordAutoConfiguration
org.maxkey.autoconfigure.SmsAutoConfiguration
org.maxkey.autoconfigure.SessionAutoConfiguration
org.maxkey.autoconfigure.TokenAutoConfiguration
org.maxkey.autoconfigure.SwaggerConfig
org.maxkey.autoconfigure.Oauth20ClientAutoConfiguration
org.maxkey.autoconfigure.MaxKeyOpenApiConfig
org.maxkey.autoconfigure.MaxKeyOpenApiMvcConfig
org.dromara.maxkey.autoconfigure.ApplicationAutoConfiguration
org.dromara.maxkey.autoconfigure.KaptchaAutoConfiguration
org.dromara.maxkey.autoconfigure.MvcAutoConfiguration
org.dromara.maxkey.autoconfigure.JwtAuthnAutoConfiguration
org.dromara.maxkey.autoconfigure.RedisAutoConfiguration
org.dromara.maxkey.autoconfigure.AuthnProviderAutoConfiguration
org.dromara.maxkey.autoconfigure.OneTimePasswordAutoConfiguration
org.dromara.maxkey.autoconfigure.SmsAutoConfiguration
org.dromara.maxkey.autoconfigure.SessionAutoConfiguration
org.dromara.maxkey.autoconfigure.TokenAutoConfiguration
org.dromara.maxkey.autoconfigure.SwaggerConfig
org.dromara.maxkey.autoconfigure.Oauth20ClientAutoConfiguration
org.dromara.maxkey.autoconfigure.MaxKeyOpenApiConfig
org.dromara.maxkey.autoconfigure.MaxKeyOpenApiMvcConfig

View File

@@ -91,8 +91,8 @@ spring.datasource.url =jdbc:mysql://${DATABASE_HOST:lo
#spring.datasource.url=jdbc:postgresql://localhost/maxkey?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
#mybatis
mybatis.dialect =mysql
mybatis.type-aliases-package =org.maxkey.entity,org.maxkey.entity.apps,
mybatis.mapper-locations =classpath*:/org/maxkey/persistence/mapper/xml/${mybatis.dialect}/*.xml
mybatis.type-aliases-package =org.dromara.maxkey.entity,org.dromara.maxkey.entity.apps,
mybatis.mapper-locations =classpath*:/org/dromara/maxkey/persistence/mapper/xml/${mybatis.dialect}/*.xml
mybatis.table-column-snowflake-datacenter-id =1
mybatis.table-column-snowflake-machine-id =1
mybatis.table-column-escape =false