feat: 切换服务版本
This commit is contained in:
@@ -102,7 +102,7 @@ mybatis-flex:
|
|||||||
|
|
||||||
# 前端地址
|
# 前端地址
|
||||||
web:
|
web:
|
||||||
url: http://127.0.0.1:5173/
|
url: https://landaiqing.cn/
|
||||||
|
|
||||||
# MD5加密salt
|
# MD5加密salt
|
||||||
cipher:
|
cipher:
|
||||||
|
|||||||
@@ -78,6 +78,6 @@ xxl:
|
|||||||
appname: schisandra-cloud-storage-oss
|
appname: schisandra-cloud-storage-oss
|
||||||
address:
|
address:
|
||||||
ip: 1.95.0.111
|
ip: 1.95.0.111
|
||||||
port: 9998
|
port: 9997
|
||||||
logpath: /data/applogs/xxl-job/jobhandler
|
logpath: /data/applogs/xxl-job/jobhandler
|
||||||
logretentiondays: 30
|
logretentiondays: 30
|
||||||
@@ -73,7 +73,6 @@ public class SchisandraShareCircleController {
|
|||||||
/**
|
/**
|
||||||
* 分享圈列表返回
|
* 分享圈列表返回
|
||||||
*/
|
*/
|
||||||
@Cacheable(value = "sharelist", key = "'sharelist'")
|
|
||||||
@GetMapping("sharelist")
|
@GetMapping("sharelist")
|
||||||
public Result<List<SchisandraShareCircleDTO>> getShareList() {
|
public Result<List<SchisandraShareCircleDTO>> getShareList() {
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -1,98 +1,98 @@
|
|||||||
server:
|
server:
|
||||||
port: 5000
|
port: 5000
|
||||||
spring:
|
spring:
|
||||||
datasource:
|
datasource:
|
||||||
username: root
|
username: root
|
||||||
password: BZbVbGDBePiA2q8/mt0eMxKNpHniDzxBtOxFadQiAOTDzCDlopC4qOKwwBEi9CAZcuFsCrRJdwn0wP6jwsnzxw==
|
password: BZbVbGDBePiA2q8/mt0eMxKNpHniDzxBtOxFadQiAOTDzCDlopC4qOKwwBEi9CAZcuFsCrRJdwn0wP6jwsnzxw==
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
url: jdbc:mysql://1.95.0.111:3306/schisandra-cloud-storage?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=true
|
url: jdbc:mysql://1.95.0.111:3306/schisandra-cloud-storage?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=true
|
||||||
type: com.alibaba.druid.pool.DruidDataSource
|
type: com.alibaba.druid.pool.DruidDataSource
|
||||||
druid:
|
druid:
|
||||||
initial-size: 20
|
initial-size: 20
|
||||||
min-idle: 20
|
min-idle: 20
|
||||||
max-active: 100
|
max-active: 100
|
||||||
max-wait: 60000
|
max-wait: 60000
|
||||||
connectionProperties: config.decrypt=true;config.decrypt.key=${publicKey};
|
connectionProperties: config.decrypt=true;config.decrypt.key=${publicKey};
|
||||||
stat-view-servlet:
|
stat-view-servlet:
|
||||||
enabled: true
|
enabled: true
|
||||||
url-pattern: /druid/*
|
url-pattern: /druid/*
|
||||||
login-username: admin
|
login-username: admin
|
||||||
login-password: 123456
|
login-password: 123456
|
||||||
filter:
|
filter:
|
||||||
stat:
|
stat:
|
||||||
enabled: true
|
enabled: true
|
||||||
slow-sql-millis: 2000
|
slow-sql-millis: 2000
|
||||||
log-slow-sql: true
|
log-slow-sql: true
|
||||||
wall:
|
wall:
|
||||||
enabled: true
|
enabled: true
|
||||||
config:
|
config:
|
||||||
enabled: true
|
enabled: true
|
||||||
# redis配置
|
# redis配置
|
||||||
redis:
|
redis:
|
||||||
# Redis数据库索引(默认为0)
|
# Redis数据库索引(默认为0)
|
||||||
database: 1
|
database: 1
|
||||||
# Redis服务器地址
|
# Redis服务器地址
|
||||||
host: 1.95.0.111
|
host: 1.95.0.111
|
||||||
# Redis服务器连接端口
|
# Redis服务器连接端口
|
||||||
port: 6379
|
port: 6379
|
||||||
# Redis服务器连接密码(默认为空)
|
# Redis服务器连接密码(默认为空)
|
||||||
password: LDQ20020618xxx
|
password: LDQ20020618xxx
|
||||||
# 连接超时时间
|
# 连接超时时间
|
||||||
timeout: 2s
|
timeout: 2s
|
||||||
lettuce:
|
lettuce:
|
||||||
pool:
|
pool:
|
||||||
# 连接池最大连接数
|
# 连接池最大连接数
|
||||||
max-active: 200
|
max-active: 200
|
||||||
# 连接池最大阻塞等待时间(使用负值表示没有限制)
|
# 连接池最大阻塞等待时间(使用负值表示没有限制)
|
||||||
max-wait: -1ms
|
max-wait: -1ms
|
||||||
# 连接池中的最大空闲连接
|
# 连接池中的最大空闲连接
|
||||||
max-idle: 10
|
max-idle: 10
|
||||||
# 连接池中的最小空闲连接
|
# 连接池中的最小空闲连接
|
||||||
min-idle: 0
|
min-idle: 0
|
||||||
publicKey: MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBANUVxjcrVoirBZaNmDrUqatHEW4FOHbO5ynW6zvhIbRMo6hEFGgglbURkjuHOlgEduxJVz6Xa+sG+FMrxTguOJECAwEAAQ==
|
publicKey: MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBANUVxjcrVoirBZaNmDrUqatHEW4FOHbO5ynW6zvhIbRMo6hEFGgglbURkjuHOlgEduxJVz6Xa+sG+FMrxTguOJECAwEAAQ==
|
||||||
logging:
|
logging:
|
||||||
config: classpath:log4j2-spring.xml
|
config: classpath:log4j2-spring.xml
|
||||||
############## Sa-Token 配置 (文档: https://sa-token.cc) ##############
|
############## Sa-Token 配置 (文档: https://sa-token.cc) ##############
|
||||||
sa-token:
|
sa-token:
|
||||||
# token 名称(同时也是 cookie 名称)
|
# token 名称(同时也是 cookie 名称)
|
||||||
token-name: token
|
token-name: token
|
||||||
# token 有效期(单位:秒) 默认30天,-1 代表永久有效
|
# token 有效期(单位:秒) 默认30天,-1 代表永久有效
|
||||||
timeout: 2592000
|
timeout: 2592000
|
||||||
# token 最低活跃频率(单位:秒),如果 token 超过此时间没有访问系统就会被冻结,默认-1 代表不限制,永不冻结
|
# token 最低活跃频率(单位:秒),如果 token 超过此时间没有访问系统就会被冻结,默认-1 代表不限制,永不冻结
|
||||||
active-timeout: -1
|
active-timeout: -1
|
||||||
# 是否允许同一账号多地同时登录 (为 true 时允许一起登录, 为 false 时新登录挤掉旧登录)
|
# 是否允许同一账号多地同时登录 (为 true 时允许一起登录, 为 false 时新登录挤掉旧登录)
|
||||||
is-concurrent: true
|
is-concurrent: true
|
||||||
# 在多人登录同一账号时,是否共用一个 token (为 true 时所有登录共用一个 token, 为 false 时每次登录新建一个 token)
|
# 在多人登录同一账号时,是否共用一个 token (为 true 时所有登录共用一个 token, 为 false 时每次登录新建一个 token)
|
||||||
is-share: true
|
is-share: true
|
||||||
# token 风格(默认可取值:uuid、simple-uuid、random-32、random-64、random-128、tik)
|
# token 风格(默认可取值:uuid、simple-uuid、random-32、random-64、random-128、tik)
|
||||||
token-style: random-32
|
token-style: random-32
|
||||||
# 是否输出操作日志
|
# 是否输出操作日志
|
||||||
is-log: false
|
is-log: false
|
||||||
token-prefix: schisandra
|
token-prefix: schisandra
|
||||||
is-print: false
|
is-print: false
|
||||||
|
|
||||||
mybatis-flex:
|
mybatis-flex:
|
||||||
global-config:
|
global-config:
|
||||||
print-banner: false
|
print-banner: false
|
||||||
key-config:
|
key-config:
|
||||||
key-type: generator
|
key-type: generator
|
||||||
normal-value-of-logic-delete: 0
|
normal-value-of-logic-delete: 0
|
||||||
deleted-value-of-logic-delete: 1
|
deleted-value-of-logic-delete: 1
|
||||||
logic-delete-column: is_deleted
|
logic-delete-column: is_deleted
|
||||||
mapper-locations:
|
mapper-locations:
|
||||||
- "classpath*:/mapper/**/*.xml"
|
- "classpath*:/mapper/**/*.xml"
|
||||||
|
|
||||||
# xxl-job配置
|
# xxl-job配置
|
||||||
xxl:
|
xxl:
|
||||||
job:
|
job:
|
||||||
admin:
|
admin:
|
||||||
addresses: http://1.95.0.111:8088/xxl-job-admin
|
addresses: http://1.95.0.111:8088/xxl-job-admin
|
||||||
accessToken: default_token
|
accessToken: default_token
|
||||||
executor:
|
executor:
|
||||||
appname: schisandra-cloud-storage-system
|
appname: schisandra-cloud-storage-system
|
||||||
address:
|
address:
|
||||||
ip: 1.95.0.111
|
ip: 1.95.0.111
|
||||||
port: 9999
|
port: 9998
|
||||||
logpath: /data/applogs/xxl-job/jobhandler
|
logpath: /data/applogs/xxl-job/jobhandler
|
||||||
logretentiondays: 30
|
logretentiondays: 30
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
server:
|
server:
|
||||||
port: 3010
|
port: 80
|
||||||
spring:
|
spring:
|
||||||
# redis配置
|
# redis配置
|
||||||
redis:
|
redis:
|
||||||
@@ -28,8 +28,8 @@ spring:
|
|||||||
wx:
|
wx:
|
||||||
mp:
|
mp:
|
||||||
token: LDQ20020618xxx
|
token: LDQ20020618xxx
|
||||||
appid: wx55251c2f83b9fc25
|
appid: wx7c3b1f52f460e5dd
|
||||||
secret: d511800cd53d248afe1260bb8aeed230
|
secret: f924c42c90223a0013908e204863c3b8
|
||||||
codeExpire: 3600
|
codeExpire: 3600
|
||||||
encodingAESKey:
|
encodingAESKey:
|
||||||
|
|
||||||
@@ -37,12 +37,12 @@ wx:
|
|||||||
xxl:
|
xxl:
|
||||||
job:
|
job:
|
||||||
admin:
|
admin:
|
||||||
addresses: http://127.0.0.1:8081/xxl-job-admin
|
addresses: http://1.95.0.111:8088/xxl-job-admin
|
||||||
accessToken: default_token
|
accessToken: default_token
|
||||||
executor:
|
executor:
|
||||||
appname: schisandra-cloud-storage-wechat
|
appname: schisandra-cloud-storage-wechat
|
||||||
address:
|
address:
|
||||||
ip: 127.0.0.1
|
ip: 1.95.0.111
|
||||||
port: 9998
|
port: 9996
|
||||||
logpath: /data/applogs/xxl-job/jobhandler
|
logpath: /data/applogs/xxl-job/jobhandler
|
||||||
logretentiondays: 30
|
logretentiondays: 30
|
||||||
|
|||||||
Reference in New Issue
Block a user