app端配置
parent
61f21d0f08
commit
5829e925ef
|
|
@ -1,6 +1,6 @@
|
||||||
# 项目配置
|
# 项目配置
|
||||||
like:
|
like:
|
||||||
upload-directory: /www/uploads/likeadmin-java/ # 上传目录
|
upload-directory: /Users/wyh/Documents/code/surprise/server/ # 上传目录
|
||||||
|
|
||||||
# 框架配置
|
# 框架配置
|
||||||
spring:
|
spring:
|
||||||
|
|
@ -15,7 +15,7 @@ spring:
|
||||||
redis:
|
redis:
|
||||||
host: 139.224.213.131 # Redis服务地址
|
host: 139.224.213.131 # Redis服务地址
|
||||||
port: 7001 # Redis端口
|
port: 7001 # Redis端口
|
||||||
password: # Redis密码
|
password: 123456 # Redis密码
|
||||||
database: 4 # 数据库索引
|
database: 4 # 数据库索引
|
||||||
|
|
||||||
# Mybatis-plus配置 【是否开启SQL日志输出】
|
# Mybatis-plus配置 【是否开启SQL日志输出】
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
# 项目配置
|
# 项目配置
|
||||||
like:
|
like:
|
||||||
upload-directory: /www/uploads/likeadmin-java/ # 上传目录
|
upload-directory: /Users/wyh/Documents/code/surprise/server/ # 上传目录
|
||||||
# 验证码配置
|
# 验证码配置
|
||||||
captcha:
|
captcha:
|
||||||
# 是否开启验证码
|
# 是否开启验证码
|
||||||
status: true
|
status: false
|
||||||
# 验证码有效时长
|
# 验证码有效时长
|
||||||
expire: 120
|
expire: 120
|
||||||
# 验证码缓存键名
|
# 验证码缓存键名
|
||||||
|
|
@ -18,7 +18,7 @@ like:
|
||||||
|
|
||||||
# 服务配置
|
# 服务配置
|
||||||
server:
|
server:
|
||||||
port: 8082
|
port: 5678
|
||||||
servlet:
|
servlet:
|
||||||
context-path: /
|
context-path: /
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,17 +6,17 @@ like:
|
||||||
spring:
|
spring:
|
||||||
# 数据源配置
|
# 数据源配置
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:mysql://localhost:3306/【库名称】?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
|
url: jdbc:mysql://139.224.213.131:3306/surprise?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
|
||||||
type: com.zaxxer.hikari.HikariDataSource # 数据源类型
|
type: com.zaxxer.hikari.HikariDataSource # 数据源类型
|
||||||
driver-class-name: com.mysql.jdbc.Driver # MySql的驱动
|
driver-class-name: com.mysql.jdbc.Driver # MySql的驱动
|
||||||
username: root # 数据库账号
|
username: root # 数据库账号
|
||||||
password: root # 数据库密码
|
password: 4e14b5378637d9c7 # 数据库密码
|
||||||
# Redis配置
|
# Redis配置
|
||||||
redis:
|
redis:
|
||||||
host: localhost # Redis服务地址
|
host: 139.224.213.131 # Redis服务地址
|
||||||
port: 6379 # Redis端口
|
port: 7001 # Redis端口
|
||||||
password: # Redis密码
|
password: 123456 # Redis密码
|
||||||
database: 0 # 数据库索引
|
database: 5 # 数据库索引
|
||||||
|
|
||||||
# Mybatis-plus配置 【是否开启SQL日志输出】
|
# Mybatis-plus配置 【是否开启SQL日志输出】
|
||||||
#mybatis-plus:
|
#mybatis-plus:
|
||||||
|
|
@ -11,7 +11,7 @@ like:
|
||||||
|
|
||||||
# 服务配置
|
# 服务配置
|
||||||
server:
|
server:
|
||||||
port: 8084
|
port: 7890
|
||||||
# servlet:
|
# servlet:
|
||||||
# context-path: /
|
# context-path: /
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue