From 2dcf7a1f2587469f50e58c960969ae34bef304ab Mon Sep 17 00:00:00 2001 From: ycl Date: Wed, 7 Aug 2024 16:55:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20template/entrance/web/src/?= =?UTF-8?q?main/resources/#application-local.properties?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/src/main/resources/#application-local.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/template/entrance/web/src/main/resources/#application-local.properties b/template/entrance/web/src/main/resources/#application-local.properties index c9b0b55..274b12b 100644 --- a/template/entrance/web/src/main/resources/#application-local.properties +++ b/template/entrance/web/src/main/resources/#application-local.properties @@ -6,6 +6,7 @@ cross.domain.headers= #spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientAutoConfiguration base.package={{.groupId}} +mock.enabled=true # datasource spring.datasource.url=jdbc:mysql://${DB_HOST:10.0.2.201:3306}/${DB_DATABASE:hande_test}?characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false spring.datasource.username=${DB_USER:hande_test_user}