v1.0 : 调整mq、redis配置文件
This commit is contained in:
@@ -1804,7 +1804,7 @@ public enum RedisKey {
|
||||
}
|
||||
|
||||
public static String getCacheSign() {
|
||||
return "yinyou_";
|
||||
return "peko_";
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -20,7 +20,6 @@ import com.accompany.core.service.base.BaseService;
|
||||
import com.accompany.core.service.common.JedisLockService;
|
||||
import com.accompany.core.util.StringUtils;
|
||||
import com.google.common.collect.Lists;
|
||||
import org.redisson.Redisson;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.stereotype.Service;
|
||||
@@ -47,9 +46,6 @@ public class UserBackpackService extends BaseService {
|
||||
private JedisLockService jedisLockService;
|
||||
@Autowired
|
||||
private GiftService giftService;
|
||||
|
||||
@Autowired
|
||||
private Redisson redisson;
|
||||
/**
|
||||
* 根据用户ID查询用户的背包
|
||||
*
|
||||
|
@@ -1,9 +1,9 @@
|
||||
#MySQL数据库配置
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://47.106.199.67:3306/xchat?characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&useSSL=true&autoReconnect=true&serverTimezone=Asia/Shanghai
|
||||
username: accompany
|
||||
password: accompany@dev#mysql
|
||||
url: jdbc:mysql://118.194.255.128:3306/peko?useUnicode=true&characterEncoding=UTF-8&tinyInt1isBit=false
|
||||
username: root
|
||||
password: anan@dev##
|
||||
driver-class-name: com.mysql.jdbc.Driver
|
||||
druid:
|
||||
initial-size: 5
|
||||
@@ -29,21 +29,21 @@ spring:
|
||||
connection-timeout: 30000
|
||||
data:
|
||||
mongodb:
|
||||
host: 47.106.199.67
|
||||
host: 118.194.255.128
|
||||
port: 27017
|
||||
username: accompany
|
||||
password: accompany@dev##
|
||||
database: accompany
|
||||
username: peko
|
||||
password: peko@mongo@dev#!
|
||||
database: peko
|
||||
redis:
|
||||
host: 47.106.199.67
|
||||
host: 118.194.255.128
|
||||
port: 6200
|
||||
password: accompany@redis@#!
|
||||
maxTotal: 300
|
||||
maxIdle: 300
|
||||
minIdle: 20
|
||||
maxWait: 3000
|
||||
maxTotal: 100
|
||||
maxIdle: 50
|
||||
maxWait: 2500
|
||||
testOnBorrow: true
|
||||
testOnReturn: true
|
||||
password: anan@dev@redis@#!
|
||||
database: 1
|
||||
redisson:
|
||||
# file: classpath:redisson.yaml
|
||||
config: |
|
||||
@@ -57,7 +57,7 @@ spring:
|
||||
|
||||
##activemq 配置
|
||||
activemq:
|
||||
brokerUrl: tcp://47.106.199.67:61618
|
||||
brokerUrl: tcp://118.194.255.128:61619
|
||||
user: system
|
||||
password: manager
|
||||
maxConnections: 50
|
||||
@@ -71,4 +71,4 @@ elasticsearch:
|
||||
username: elastic
|
||||
password: xuanyin@es123
|
||||
roomIndex: yinyou_dev_room
|
||||
userIndex: yinyou_dev_users
|
||||
userIndex: yinyou_dev_users_202204121516
|
@@ -7,7 +7,7 @@ spring:
|
||||
nacos:
|
||||
config:
|
||||
server-addr: 120.24.160.102:8848
|
||||
namespace: f69a0ab8-f504-4516-9017-20017bd83fef
|
||||
namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6
|
||||
name: ${spring.application.name}
|
||||
file-extension: yml
|
||||
shared-dataids: application.yml,thirdpart.yml,pay.yml,sysconf.yml
|
||||
@@ -19,7 +19,7 @@ spring:
|
||||
nacos:
|
||||
config:
|
||||
server-addr: 120.24.160.102:8848
|
||||
namespace: f69a0ab8-f504-4516-9017-20017bd83fef
|
||||
namespace: 5edc3246-3e69-4be5-a32a-273f0a09ddf6
|
||||
name: ${spring.application.name}
|
||||
file-extension: yml
|
||||
shared-dataids: application.yml,thirdpart.yml,pay.yml,database.yml,sysconf.yml
|
||||
|
Reference in New Issue
Block a user