diff --git a/pom.xml b/pom.xml index e47aa8f..4c4f0d1 100644 --- a/pom.xml +++ b/pom.xml @@ -54,6 +54,27 @@ ${druid.version} + + + org.springframework.boot + spring-boot-starter-data-mongodb + + + + + + org.springframework.boot + spring-boot-starter-data-redis + + + + + + + + + + junit junit @@ -126,12 +147,11 @@ 1.0-SNAPSHOT - - - org.springframework.boot - spring-boot-starter-data-mongodb - - + + + + + diff --git a/src/main/java/cn/com/tenlion/usercenter/service/websocket/WebSocketTextCustomServiceImpl.java b/src/main/java/cn/com/tenlion/usercenter/service/websocket/WebSocketTextCustomServiceImpl.java index 08bce72..3e9dcdf 100644 --- a/src/main/java/cn/com/tenlion/usercenter/service/websocket/WebSocketTextCustomServiceImpl.java +++ b/src/main/java/cn/com/tenlion/usercenter/service/websocket/WebSocketTextCustomServiceImpl.java @@ -5,7 +5,7 @@ import cn.com.tenlion.usercenter.service.userrealtimelocation.IUserRealtimeLocat import com.alibaba.fastjson.JSONObject; import ink.wgink.common.base.DefaultBaseService; import ink.wgink.module.instantmessage.service.IWebSocketTextCustomService; -import ink.wgink.module.instantmessage.websocket.exception.CustomHandleException; +import ink.wgink.exceptions.websocket.CustomHandleException; import ink.wgink.module.instantmessage.websocket.pojo.WebSocketClientMessage; import ink.wgink.module.map.pojo.vos.userlocation.UserLocationVO; import io.netty.channel.Channel; diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml index d0825c6..cac5981 100644 --- a/src/main/resources/application-test.yml +++ b/src/main/resources/application-test.yml @@ -55,6 +55,18 @@ spring: data: mongodb: uri: mongodb://smartcity:smartcity@192.168.0.156:27017/smartcity + redis: + database: 0 + host: 127.0.0.1 + port: 6379 + password: 666 + timeout: 0 + jedis: + pool: + max-active: 8 + max-wait: 1ms + max-idle: 8 + min-idle: 0 mybatis: config-location: classpath:mybatis/mybatis-config.xml