**简要描述：** 

- 接口调用说明

 **添加jar包依赖** 
- 		<dependency>
			<groupId>com.weaver</groupId>
			<artifactId>weaver-mc-api</artifactId>
		</dependency>
		
**添加rpc接口引用** 
- 	在application.yaml 中添加
weaver.provider.sms.rpc.name=weaver-mc-service
dubbo.cloud.subscribed-services: ${weaver.provider.sms.rpc.name}    //引入消息中心服务

**在java代码中添加spring依赖** 

```

	@service
	public AsyncImSyncRest asyncImSyncRest;  //im异步同步接口
	
	@RpcReference
	public ImSyncRest imSyncRest;  //im人员，群组，团队同步相关接口
	
	
	
	
```
方法

```
//同步人员
	public WeaResult<Long> syncUser(long employeeId, String tenantKey);
//同步团队
	public WeaResult<Long> syncCorp(String tenantKey);
//同步群组
	public WeaResult<Boolean> syncGroupInfo(long groupId, String tenantKey);
//同步群组人员
	public WeaResult<Boolean> syncGroupUser(@ApiParam("人员Id") long groupId, @ApiParam("新增群成员id") List<Long> addUserIds,
			@ApiParam("删除群成员id") List<Long> removeUserIds, @ApiParam("团队标识") String tenantKey);

```
