记一次人工客服开发记录

环信云客服开发

APP客服和VIP会员关系绑定表
字段名字段类型字段备注
idint(11)
kf_idint(11)客服ID
member_idint(11)用户ID
create_timetimestamp日期
create table `fcxlt_kf_member` (
                                   `id` int(11) not null auto_increment,
                                   `kf_id` int(11) not null,
                                   `member_id` int(11) not null,
                                   `crete_time` timestamp default current_timestamp,
                                   primary key (`id`),
                                   key `member_id` (`member_id`)

) engine = innodb auto_increment=1 default charset=utf8mb4 comment='客服关系对应表';
客服值班设置APP会员咨询客服类别表
字段名字段类型字段备注
idint(11)
member_idint(11)执行切换会员ID
typechar(1)1切换KF, 2无
easemob_member_idint(11)被切换的KF
create_timetimestamp操作时间
create table `fcxlt_kf_onduty` (
                                   `id` int(11) not null auto_increment,
                                   `member_id` int(11) not null comment '执行切换会员ID',
                                   `type` char(1) not null comment '1切换KF, 2无',
                                   `crete_time` timestamp default current_timestamp,
                                   `easemob_member_id` int(11) not null default 0,
                                   primary key (`id`),
                                   key `member_id` (`member_id`)

) engine = innodb auto_increment=1 default charset=utf8mb4 comment='客服值班记录表';

APP客服和环信客服关系对应表
字段名字段类型字段备注
idint(11)
kf_member_idint(11)客服APP会员id
hx_agent_namevarchar(100)环信账号
create_timetimestamp添加时间
create table `fcxlt_kf_easemob` (
    `id` int(11) not null auto_increment,
    `kf_member_id` int(11) not null,
    `hx_agent_name` varchar(100) not null,
    `create_time` timestamp default current_timestamp,
    primary key (`id`)
) engine=innodb auto_increment=1 default charset=utf8mb4 comment '环信对应客服表';

前端客服取值判断:

前端APP会员分配客服方式,按照客服-会员关系表或按照客服值班表最新一次设置
字段名字段类型字段备注
idint(11)
typechar(1)1 按照关系对应表,2 取值当前环信agentname
agentnamevarchar(100)环信账号
create table `fcxlt_kf_type` (
                                    `id` int(11) not null auto_increment,
                                    `type` char(1) not null comment '1 按照关系对应表,2 取值当前环信agentname',
                                    `agentname` varchar(100) not null,
                                    primary key (`id`)
) engine=innodb auto_increment=1 default charset=utf8mb4 comment '当前客服-环信对应表';
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值