调整AppToken代码结构
This commit is contained in:
parent
ce1bdc85a8
commit
8684c39b67
32
pom.xml
32
pom.xml
@ -54,6 +54,27 @@
|
|||||||
<version>${druid.version}</version>
|
<version>${druid.version}</version>
|
||||||
</dependency>
|
</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>
|
<dependency>
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
<artifactId>junit</artifactId>
|
<artifactId>junit</artifactId>
|
||||||
@ -126,12 +147,11 @@
|
|||||||
<version>1.0-SNAPSHOT</version>
|
<version>1.0-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- mongodb start -->
|
<!-- <dependency>-->
|
||||||
<dependency>
|
<!-- <groupId>ink.wgink</groupId>-->
|
||||||
<groupId>org.springframework.boot</groupId>
|
<!-- <artifactId>redis-cache</artifactId>-->
|
||||||
<artifactId>spring-boot-starter-data-mongodb</artifactId>
|
<!-- <version>1.0-SNAPSHOT</version>-->
|
||||||
</dependency>
|
<!-- </dependency>-->
|
||||||
<!-- mongodb end -->
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
@ -5,7 +5,7 @@ import cn.com.tenlion.usercenter.service.userrealtimelocation.IUserRealtimeLocat
|
|||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import ink.wgink.common.base.DefaultBaseService;
|
import ink.wgink.common.base.DefaultBaseService;
|
||||||
import ink.wgink.module.instantmessage.service.IWebSocketTextCustomService;
|
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.instantmessage.websocket.pojo.WebSocketClientMessage;
|
||||||
import ink.wgink.module.map.pojo.vos.userlocation.UserLocationVO;
|
import ink.wgink.module.map.pojo.vos.userlocation.UserLocationVO;
|
||||||
import io.netty.channel.Channel;
|
import io.netty.channel.Channel;
|
||||||
|
@ -55,6 +55,18 @@ spring:
|
|||||||
data:
|
data:
|
||||||
mongodb:
|
mongodb:
|
||||||
uri: mongodb://smartcity:smartcity@192.168.0.156:27017/smartcity
|
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:
|
mybatis:
|
||||||
config-location: classpath:mybatis/mybatis-config.xml
|
config-location: classpath:mybatis/mybatis-config.xml
|
||||||
|
Loading…
Reference in New Issue
Block a user