From 05dadb5dfe8b52f9fd813d12ad8efdcf074ed7e4 Mon Sep 17 00:00:00 2001 From: jackning <270580156@qq.com> Date: Mon, 14 Sep 2020 19:54:13 +0800 Subject: [PATCH] update --- README.md | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index fa0ddc3..d9c5fd4 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,25 @@ -# bytedesk_demo +# 萝卜丝客服SDK -A new Flutter project. +萝卜丝(bytedesk) flutter 客服SDK ## Getting Started -This project is a starting point for a Flutter application. +### 第一步 -A few resources to get you started if this is your first Flutter project: +- [注册账号](https://www.bytedesk.com/antv/user/login) +- 获取appkey,登录后台->客服管理->渠道管理->添加应用->appkey +- 获取subDomain,也即企业号:登录后台->客服管理->客服账号->企业号 +- 获取技能组workGroupWid -- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab) -- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook) +### 第二步:匿名登录 -For help getting started with Flutter, view our -[online documentation](https://flutter.dev/docs), which offers tutorials, -samples, guidance on mobile development, and a full API reference. +- BytedeskKefu.anonymousLogin(appKey, subDomain); + +### 第三步:联系客服 + +- BytedeskKefu.startWorkGroupChat(context, workGroupWid, "技能组客服"); + +### 集成完毕 + + + \ No newline at end of file