去除jpa依赖,部分不相关的代码去除。
This commit is contained in:
@@ -6,7 +6,6 @@ import org.springframework.cache.annotation.EnableCaching;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Primary;
|
||||
import org.springframework.core.task.TaskExecutor;
|
||||
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
|
||||
import org.springframework.scheduling.annotation.EnableAsync;
|
||||
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
|
||||
|
||||
@@ -17,7 +16,6 @@ import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
|
||||
* @since 2020/11/16 10:03 下午
|
||||
*/
|
||||
@SpringBootApplication
|
||||
@EnableJpaAuditing
|
||||
@EnableCaching
|
||||
@EnableAsync
|
||||
public class BuyerApiApplication {
|
||||
|
||||
@@ -34,11 +34,6 @@ spring:
|
||||
max-request-size: 20MB
|
||||
cache:
|
||||
type: redis
|
||||
#JPA
|
||||
jpa:
|
||||
# 自动生成表结构
|
||||
generate-ddl: true
|
||||
open-in-view: false
|
||||
#jackson json解析
|
||||
jackson:
|
||||
time-zone: GMT+8
|
||||
|
||||
@@ -40,10 +40,6 @@ spring:
|
||||
#amqp
|
||||
# rabbitmq:
|
||||
# host: 192.168.0.116
|
||||
jpa:
|
||||
# 自动生成表结构
|
||||
generate-ddl: true
|
||||
open-in-view: false
|
||||
# Redis
|
||||
redis:
|
||||
host: 192.168.0.116
|
||||
|
||||
Reference in New Issue
Block a user