From 8684c39b673bd32fa50ebbaa6fa09e46aeb98921 Mon Sep 17 00:00:00 2001
From: wanggeng <450292408@qq.com>
Date: Tue, 30 Nov 2021 14:36:49 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4AppToken=E4=BB=A3=E7=A0=81?=
=?UTF-8?q?=E7=BB=93=E6=9E=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pom.xml | 32 +++++++++++++++----
.../WebSocketTextCustomServiceImpl.java | 2 +-
src/main/resources/application-test.yml | 12 +++++++
3 files changed, 39 insertions(+), 7 deletions(-)
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