Skip to content

Commit

Permalink
[FEAT]: 支持用户、群组、好友托管接口
Browse files Browse the repository at this point in the history
  • Loading branch information
rchht committed Oct 21, 2024
1 parent c575497 commit 8304ff2
Show file tree
Hide file tree
Showing 60 changed files with 6,387 additions and 248 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ RongCloud IM Server SDK in Java.
<dependency>
<groupId>cn.rongcloud.im</groupId>
<artifactId>server-sdk-java</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</dependency>
```
* Gradle
```
compile group: 'cn.rongcloud.im', name: 'server-sdk-java', version: '3.5.0'
compile group: 'cn.rongcloud.im', name: 'server-sdk-java', version: '3.6.0'
```
* 基于源码 Meavn 打包构建
Expand Down Expand Up @@ -85,4 +85,4 @@ RongCloud IM Server SDK in Java.


# 版本说明
为方便开发者的接入使用,更好的对融云 Server SDK 进行维护管理,现更新SDK 3.5.0 版本,老版本的 Server SDK仍可使用,但不支持发送消息返回消息ID
为方便开发者的接入使用,更好的对融云 Server SDK 进行维护管理,现更新SDK 3.6.0 版本,老版本的 Server SDK仍可使用,但不支持群和好友托管接口
276 changes: 156 additions & 120 deletions Server SDK 支持功能版本清单.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>cn.rongcloud.im</groupId>
<artifactId>server-sdk-java</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
<packaging>jar</packaging>

<name>RongCloud IM Server SDK</name>
Expand Down
51 changes: 0 additions & 51 deletions src/io/rong/util/Base64Util.java

This file was deleted.

9 changes: 9 additions & 0 deletions src/main/java/io/rong/RongCloud.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
import io.rong.methods.group.Group;
import io.rong.methods.message.Message;
import io.rong.methods.message.expansion.Expansion;
import io.rong.methods.profile.EntrustGroup;
import io.rong.methods.profile.EntrustUser;
import io.rong.methods.profile.Friend;
import io.rong.methods.push.Push;
import io.rong.methods.push.PushCustom;
import io.rong.methods.sensitive.SensitiveWord;
Expand All @@ -38,6 +41,9 @@ public class RongCloud {
public Conversation conversation;
public Push push;
public PushCustom pushCustom;
public EntrustGroup entrustGroup;
public Friend friend;
public EntrustUser entrustUser;
public final RongCloudConfig config;

public RongCloudConfig getConfig() {
Expand All @@ -63,6 +69,9 @@ private RongCloud(String appKey, String appSecret, RongCloudConfig config) {
push = new Push(appKey, appSecret);
push.setRongCloud(this);
pushCustom = new PushCustom(appKey,appSecret,this);
entrustGroup = new EntrustGroup(appKey, appSecret, this);
friend = new Friend(appKey, appSecret, this);
entrustUser = new EntrustUser(appKey, appSecret, this);
this.config = config;
}

Expand Down
Loading

0 comments on commit 8304ff2

Please sign in to comment.