前几天刚把腾讯IM的及时聊天改完 但是还有些许bug没有处理 后来发现融云的出API了 就立马去试了一下 发现还是官网demo比较好用 在此做个记录
首先把官网demo下载下来再实现我们的改造: github地址
下载下来之后我们会得到这样一个项目
之后我们搭建一个springboot的架子
springboot 相信大家都会搭建了
直接上我的pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.9.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<properties>
<java.version>1.8</java.version>
<mybatisplus.version>2.1.9</mybatisplus.version>
<mybatisplus.spring.boot.version>1.0.5</mybatisplus.spring.boot.version>
<hutool.version>4.5.13</hutool.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<groupId>com.rong</groupId>
<artifactId>im_core</artifactId>
<version>1.0.0</version>
<name>im_core</name>
<description>
For improving the efficiency of developers,RongCloud provides an open source IM Server SDK officially.
With this SDK, you can get token, send messages, a