|
@@ -7,7 +7,7 @@ spring:
|
|
|
driver-class-name: com.mysql.jdbc.Driver
|
|
driver-class-name: com.mysql.jdbc.Driver
|
|
|
url: jdbc:mysql://localhost:3306/box-im?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true
|
|
url: jdbc:mysql://localhost:3306/box-im?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true
|
|
|
username: root
|
|
username: root
|
|
|
- password: root
|
|
|
|
|
|
|
+ password: root123456
|
|
|
|
|
|
|
|
redis:
|
|
redis:
|
|
|
host: 127.0.0.1
|
|
host: 127.0.0.1
|
|
@@ -29,11 +29,11 @@ mybatis-plus:
|
|
|
# *.xml的具体路径
|
|
# *.xml的具体路径
|
|
|
- classpath*:mapper/*.xml
|
|
- classpath*:mapper/*.xml
|
|
|
minio:
|
|
minio:
|
|
|
- endpoint: http://127.0.0.1:9001 #内网地址
|
|
|
|
|
- public: http://127.0.0.1:9001 #外网访问地址
|
|
|
|
|
|
|
+ endpoint: http://42.194.187.243:9001 #内网地址
|
|
|
|
|
+ public: http://42.194.187.243:9001 #外网访问地址
|
|
|
accessKey: admin
|
|
accessKey: admin
|
|
|
- secretKey: 12345678
|
|
|
|
|
- bucketName: box-im
|
|
|
|
|
|
|
+ secretKey: admin123456
|
|
|
|
|
+ bucketName: box-im2
|
|
|
imagePath: image
|
|
imagePath: image
|
|
|
filePath: file
|
|
filePath: file
|
|
|
|
|
|
|
@@ -43,7 +43,7 @@ webrtc:
|
|
|
|
|
|
|
|
jwt:
|
|
jwt:
|
|
|
accessToken:
|
|
accessToken:
|
|
|
- expireIn: 1800 #半个小时
|
|
|
|
|
|
|
+ expireIn: 1800 #半个小时
|
|
|
secret: MIIBIjANBgkq
|
|
secret: MIIBIjANBgkq
|
|
|
refreshToken:
|
|
refreshToken:
|
|
|
expireIn: 604800 #7天
|
|
expireIn: 604800 #7天
|