调整和补充模拟参数

This commit is contained in:
chenbo 2020-04-29 14:53:07 +08:00
parent 195350d8ed
commit e325a31522
7 changed files with 12 additions and 8 deletions

View File

@ -1,5 +1,5 @@
module.exports = { module.exports = {
NODE_ENV: '"development"', NODE_ENV: '"development"',
ENV_CONFIG: '"dev"', ENV_CONFIG: '"dev"',
BASE_API: '"http://localhost:8083/manager"' BASE_API: '"http://localhost:8083/dev/admin"'
} }

View File

@ -46,6 +46,8 @@
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<configuration> <configuration>
<executable>true</executable> <executable>true</executable>
<!--增加jvm参数-->
<jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>

View File

@ -11,7 +11,7 @@ spring:
server: server:
port: 8073 port: 8083
servlet: servlet:
context-path: /demo context-path: /demo

View File

@ -25,8 +25,8 @@ dts:
# 短信息用于通知客户例如发货短信通知注意配置格式template-nametemplate-templateId 请参考 NotifyType 枚举值 # 短信息用于通知客户例如发货短信通知注意配置格式template-nametemplate-templateId 请参考 NotifyType 枚举值
sms: sms:
enable: true enable: true
appid: xxx appid: 1400286323
appkey: xxx appkey: 223123sade14c129c4ce9a30b5f90ad2c
template: template:
- name: paySucceed - name: paySucceed
templateId: 112233 templateId: 112233
@ -128,10 +128,10 @@ pagehelper:
spring: spring:
datasource: datasource:
druid: druid:
url: jdbc:mysql://localhost:3306/demo?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&allowPublicKeyRetrieval=true&verifyServerCertificate=false&useSSL=false url: jdbc:mysql://localhost:3306/dts-demo?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&allowPublicKeyRetrieval=true&verifyServerCertificate=false&useSSL=false
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
username: root username: root
password: 123456 password: Ab888888
initial-size: 10 initial-size: 10
max-active: 50 max-active: 50
min-idle: 10 min-idle: 10

View File

@ -63,6 +63,8 @@
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<configuration> <configuration>
<executable>true</executable> <executable>true</executable>
<!--增加jvm参数-->
<jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>

View File

@ -10,7 +10,7 @@ spring:
location: /tmp/tomcat_upload location: /tmp/tomcat_upload
server: server:
port: 8070 port: 8080
servlet: servlet:
context-path: /demo context-path: /demo

View File

@ -167,7 +167,7 @@
<!-- test-online 环境 --> <!-- test-online 环境 -->
<id>test-online</id> <id>test-online</id>
<properties> <properties>
<profile.active>test-online</profile.active> <profile.active>demo</profile.active>
<logback.dir>./logs</logback.dir> <logback.dir>./logs</logback.dir>
</properties> </properties>
</profile> </profile>