Giter Club home page Giter Club logo

kefu.js's Introduction

输入图片说明 输入图片说明 输入图片说明

简介

H5做的在线客服,其实就是一个对话窗口,类似百度商桥。结合后端功能有:

  1. 支持手机端、电脑端。
  2. 聊天记录使用ELK持久化保存。支撑巨量聊天记录无延迟
  3. 支持离线消息。上线后自动接收离线消息
  4. 聊天中,上滑可无感加载历史聊天记录
  5. 用户打开聊天窗口时自动给用户发送欢迎语、常见问题
  6. 当用户发送消息,但客服不在线时,会自动发送设置好的一段文字给用户
  7. 对已录入的常见问题进行自动匹配、自动回复。
  8. 本地消息存储,最新消息的本地缓存,极致流畅度
  9. 支持图片上传、发送图片、图片放大。
  10. 支持表情
  11. 新消息提醒。当我跟A用户正在聊天,B用户给我发来消息,顶部实时显示别的用户发来的新消息提醒
  12. 支持自定义插件,如发送订单、更多自定义表情、发送商品、发送位置、文件、名片、礼物……都可以用插件方式扩展。
  13. 支持自定义心跳及心跳包扩展
  14. 支持断线自动重连

快速体验

可以进入我们这个客服项目的网站,快速测试体验:
www.kefu.zvo.cn

使用及开发

懒人极速体验代码

新建一个HTML文件,其内容如下,直接用浏览器打开即可看到效果。适用于懒人。

<!DOCTYPE html>
<html lang="zh-cn"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>DEMO</title>
</head>
<body>
<script src="https://res.weiunity.com/wm/wm.js"></script>
<script src="https://res.weiunity.com/kefu/dev/h5Pc/h5Pc.js"></script>
<button onclick="kefu.ui.chat.entry('365fef747a9e493fb631b621ee36eed1');">打开PC端客服聊天窗口</button>
</body>
</html>

更多更详细的文档,已托管在码云文档,请看下面

码云托管的详细文档

输入图片说明 文档地址:
https://gitee.com/leimingyun/dashboard/wikis/leimingyun/kefujs-api-interface-of/preview?sort_id=3663196&doc_id=1274007

版权

已有知识产权保护,如果用于商业用途,没事,随便用吧!!

kefu.js's People

Contributors

xnx3 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.