调整AppToken代码结构

This commit is contained in:
wanggeng 2021-11-30 14:36:49 +08:00
parent ce1bdc85a8
commit 8684c39b67
3 changed files with 39 additions and 7 deletions

32
pom.xml
View File

@ -54,6 +54,27 @@
<version>${druid.version}</version>
</dependency>
<!-- mongodb start -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-mongodb</artifactId>
</dependency>
<!-- mongodb end -->
<!-- redis start -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
<!-- redis end -->
<!-- session share start -->
<!-- <dependency>-->
<!-- <groupId>org.springframework.session</groupId>-->
<!-- <artifactId>spring-session-data-redis</artifactId>-->
<!-- </dependency>-->
<!-- session share end -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
@ -126,12 +147,11 @@
<version>1.0-SNAPSHOT</version>
</dependency>
<!-- mongodb start -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-mongodb</artifactId>
</dependency>
<!-- mongodb end -->
<!-- <dependency>-->
<!-- <groupId>ink.wgink</groupId>-->
<!-- <artifactId>redis-cache</artifactId>-->
<!-- <version>1.0-SNAPSHOT</version>-->
<!-- </dependency>-->
</dependencies>
<build>

View File

@ -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;

View File

@ -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