feat(web): 尝试适配warm-flow
This commit is contained in:
@@ -28,6 +28,11 @@
|
||||
<groupId>com.blinkfox</groupId>
|
||||
<artifactId>fenix-spring-boot-starter</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.dromara.warm</groupId>
|
||||
<artifactId>warm-flow-jpa-sb-starter</artifactId>
|
||||
<version>1.3.6</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.hibernate</groupId>
|
||||
<artifactId>hibernate-jpamodelgen</artifactId>
|
||||
|
||||
@@ -4,6 +4,8 @@ import com.blinkfox.fenix.EnableFenix;
|
||||
import com.eshore.gringotts.web.domain.entity.User;
|
||||
import com.eshore.gringotts.web.domain.service.UserService;
|
||||
import com.ulisesbocchio.jasyptspringboot.annotation.EnableEncryptableProperties;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.dromara.warm.flow.spring.boot.config.FlowAutoConfig;
|
||||
import org.springframework.boot.ApplicationArguments;
|
||||
import org.springframework.boot.ApplicationRunner;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
@@ -21,7 +23,8 @@ import org.springframework.scheduling.annotation.EnableAsync;
|
||||
* @author lanyuanxiaoyao
|
||||
* @date 2024-11-14
|
||||
*/
|
||||
@SpringBootApplication(scanBasePackages = {"com.eshore.gringotts"})
|
||||
@Slf4j
|
||||
@SpringBootApplication(scanBasePackages = {"com.eshore.gringotts"}, exclude = {FlowAutoConfig.class})
|
||||
@EnableFenix
|
||||
@EnableJpaAuditing
|
||||
@EnableAsync
|
||||
|
||||
@@ -34,6 +34,8 @@ logging:
|
||||
sdk:
|
||||
eventsub:
|
||||
EventSubscribeImp: error
|
||||
warm-flow:
|
||||
jpa_persistence_provider: org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider
|
||||
|
||||
---
|
||||
spring:
|
||||
|
||||
Reference in New Issue
Block a user