assign profilesActive default value in MybatisPlusConfig (#674)

pull/676/head
shanjianq 2 years ago committed by GitHub
parent 2d9191fa5b
commit 90a42e6a89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -30,8 +30,7 @@ import org.springframework.context.annotation.Configuration;
*/ */
@Configuration @Configuration
public class MybatisPlusConfig { public class MybatisPlusConfig {
@Value("${spring.profiles.active:mysql}")
@Value("${spring.profiles.active}")
private String profilesActive; private String profilesActive;
@Bean @Bean

Loading…
Cancel
Save