**
正文
直接进入正题
**
//单人通知推送
private static String PUSH_INFORM_URL="https://api.netease.im/nimserver/msg/sendAttachMsg.action";
//多人通知推送
private static String PUSH_INFORMS_URL="https://api.netease.im/nimserver/msg/sendBatchAttachMsg.action";
//创建群组
private static final String ADD_GROUP="https://api.netease.im/nimserver/team/create.action";
//移除群主
private static final String REMOVE_GROUP_MANAGER="https://api.netease.im/nimserver/team/changeOwner.action";
//提出成员
private static final String DELETE_USERS="https://api.netease.im/nimserver/team/kick.action";
//添加成员
private static final String ADD_USERS ="https://api.netease.im/nimserver/team/add.action";
private static final String UPDATE="https://api.netease.im/nimserver/team/update.action";
private static final String QUERY_USER="https://api.netease.im/nimserver/team/query.action";
private static final String QUERY_NAME="https://api.netease.im/nimserver/user/getUinfos.action";
//解封网易云信通运ID
private static final String UNBLOCK="https://api.netease.im/nimserver/user/unblock.action";
请求第三方接口,每个对应的功能都有单独的请求地址,同时也要遵循第三方请求的格式
请求网易云信的格式大部分都是一样的只是你的参数和请求的连接不一样,
/**
* @Description:认名管理员
* @Data 10:05 2019/12/12
* @Param [accid]
*/
public static final String addManager(String tid,String owner,String members){
String result=null;
CloseableHttpClient httpClient = HttpClientBuilder.create().build();
HttpPost httpPost = new HttpPost(ADD_MANAGER);
String appKey = CloudSecurityUser.APP_KEY;
String appSecret = CloudSecurityUser.APP_SECRET;
String nonce = UUID.randomUUID().toString().replaceAll