关于融云

使用的框架是CI

1,首先引入融云 Server API PHP 客户端(在融云下载):

 $this->rcloudv2  参数初始化

group:是方法,调用群组里面的方法

$this->load->library('rcloudv2');

    /* 调用融云api加入群组 */
   $res = $this->rcloudv2->group()->create('2,'.$master_id, $group_id, $group_name);
   $res = json_decode($res,true);

posted @ 2017-10-13 14:15  ready_dream  阅读(130)  评论(0编辑  收藏  举报