Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
project-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
郭燕飞
project-template
Commits
4cf642db
Commit
4cf642db
authored
Sep 22, 2020
by
郭燕飞
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version
parent
1d48e45a
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
4 additions
and
13 deletions
+4
-13
build.gradle
service-template/bizModule/build.gradle
+0
-2
application.properties
...plate/bizModule/src/main/resources/application.properties
+1
-6
bootstrap.properties
...emplate/bizModule/src/main/resources/bootstrap.properties
+1
-1
build.gradle
web-template/build.gradle
+0
-2
application.properties
web-template/src/main/resources/application.properties
+1
-1
bootstrap.properties
web-template/src/main/resources/bootstrap.properties
+1
-1
No files found.
service-template/bizModule/build.gradle
View file @
4cf642db
apply
plugin:
"org.springframework.boot"
apply
plugin:
"org.springframework.boot"
bootJar
{
bootJar
{
baseName
=
'{artifactId}'
archiveName
=
"{artifactId}.jar"
archiveName
=
"{artifactId}.jar"
version
=
'0.0.1-SNAPSHOT'
}
}
description
=
"{artifactId}-biz"
description
=
"{artifactId}-biz"
...
...
service-template/bizModule/src/main/resources/application.properties
View file @
4cf642db
...
@@ -4,12 +4,7 @@ server.tomcat.access-log-enabled=false
...
@@ -4,12 +4,7 @@ server.tomcat.access-log-enabled=false
server.tomcat.uri-encoding
=
UTF-8
server.tomcat.uri-encoding
=
UTF-8
# logging
# logging
logging.path
=
${user.home}/logs/{artifactId}
logging.file.path
=
${user.home}/logs/{artifactId}
# database
duiba.datasource.demo.url
=
jdbc:mysql://devmysql.config.dui88.com:3306/demo?createDatabaseIfNotExist=true&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&connectTimeout=5000&socketTimeout=60000&useSSL=false&serverTimezone=Asia/Shanghai
duiba.datasource.demo.username
=
dev
duiba.datasource.demo.password
=
dev_fas015
# feign的序列化方式默认使用hessian2
# feign的序列化方式默认使用hessian2
duiba.feign.serialization
=
hessian2
duiba.feign.serialization
=
hessian2
service-template/bizModule/src/main/resources/bootstrap.properties
View file @
4cf642db
...
@@ -3,4 +3,4 @@ spring.cloud.config.uri=http://configserver.dui88.com
...
@@ -3,4 +3,4 @@ spring.cloud.config.uri=http://configserver.dui88.com
spring.cloud.config.fail-fast
=
true
spring.cloud.config.fail-fast
=
true
spring.profiles.active
=
dev
spring.profiles.active
=
dev
spring.devtools.restart.enabled
=
tru
e
spring.devtools.restart.enabled
=
fals
e
web-template/build.gradle
View file @
4cf642db
...
@@ -52,9 +52,7 @@ sourceCompatibility = 1.8
...
@@ -52,9 +52,7 @@ sourceCompatibility = 1.8
targetCompatibility
=
1.8
targetCompatibility
=
1.8
bootJar
{
bootJar
{
baseName
=
'{artifactId}'
archiveName
=
"{artifactId}.jar"
archiveName
=
"{artifactId}.jar"
version
=
'0.0.1-SNAPSHOT'
}
}
configurations
{
configurations
{
...
...
web-template/src/main/resources/application.properties
View file @
4cf642db
...
@@ -4,7 +4,7 @@ server.tomcat.access-log-enabled=false
...
@@ -4,7 +4,7 @@ server.tomcat.access-log-enabled=false
server.tomcat.uri-encoding
=
UTF-8
server.tomcat.uri-encoding
=
UTF-8
# logging
# logging
logging.path
=
${user.home}/logs/{artifactId}
logging.
file.
path
=
${user.home}/logs/{artifactId}
# swagger
# swagger
{artifactIdPackage}
.swagger.enable
=
true
{artifactIdPackage}
.swagger.enable
=
true
...
...
web-template/src/main/resources/bootstrap.properties
View file @
4cf642db
...
@@ -3,4 +3,4 @@ spring.cloud.config.uri=http://configserver.dui88.com
...
@@ -3,4 +3,4 @@ spring.cloud.config.uri=http://configserver.dui88.com
spring.cloud.config.fail-fast
=
true
spring.cloud.config.fail-fast
=
true
spring.profiles.active
=
dev
spring.profiles.active
=
dev
spring.devtools.restart.enabled
=
tru
e
spring.devtools.restart.enabled
=
fals
e
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment