Skip to content

Commit 5f5953c

Browse files
author
feiweiwei
committed
修改配置
1 parent f1cdac9 commit 5f5953c

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

src/main/resources/application-dev.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
# driverClassName: com.mysql.jdbc.Driver
55
# druid:
66
# first: #数据源1
7-
# url: jdbc:mysql://123.206.118.12:3306/renren_fast?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8
8-
# username: root
9-
# password: Fww198509!
7+
# url: jdbc:mysql://localhost:3306/mkframework?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8
8+
# username: mkframework
9+
# password: 123456
1010
# second: #数据源2
11-
# url: jdbc:mysql://localhost:3306/renren_fast?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8
12-
# username: renren
11+
# url: jdbc:mysql://localhost:3306/mkframework?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8
12+
# username: mkframework
1313
# password: 123456
1414
# initial-size: 10
1515
# max-active: 100

src/main/resources/application.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ spring:
4646
#mybatis-plus:
4747
# mapper-locations: classpath:mapper/**/*.xml
4848
# #实体扫描,多个package用逗号或者分号分隔
49-
## typeAliasesPackage: io.renren.modules.*.entity
5049
# global-config:
5150
# #主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
5251
# id-type: 0
@@ -78,7 +77,7 @@ mk:
7877
# APP模块,是通过jwt认证的,如果要使用APP模块,则需要修改【加密秘钥】
7978
jwt:
8079
# 加密秘钥
81-
secret: f4e2e52034348f86b67cde581c0f9eb5
80+
secret: 3jdh62034348f86b67cde581c0okfr8
8281
# token有效时长,7天,单位秒
8382
expire: 604800
8483
header: token

0 commit comments

Comments
 (0)