feat: 优化代码
This commit is contained in:
@@ -21,6 +21,7 @@ import org.springframework.context.ApplicationListener
|
||||
import org.springframework.context.annotation.Bean
|
||||
import org.springframework.context.annotation.Configuration
|
||||
import org.springframework.context.event.ContextClosedEvent
|
||||
import org.springframework.scheduling.annotation.EnableScheduling
|
||||
import org.springframework.web.servlet.config.annotation.CorsRegistry
|
||||
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer
|
||||
|
||||
@@ -41,7 +42,7 @@ data class MailProperties @ConstructorBinding constructor(
|
||||
val targets: List<String>,
|
||||
)
|
||||
|
||||
// @EnableScheduling
|
||||
@EnableScheduling
|
||||
@EnableFenix
|
||||
@ConfigurationPropertiesScan
|
||||
@SpringBootApplication
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
}
|
||||
}
|
||||
let debug = false
|
||||
let server = amis.embed(
|
||||
amis.embed(
|
||||
'#root',
|
||||
amisJSON,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user