-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #187 from tttao7/develop
feat: 新增 微信客服账号 / 微信客服接待人员 / 获取加入企业二维码 / 客户群opengid转换
- Loading branch information
Showing
11 changed files
with
740 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# 客服 | ||
|
||
## Models | ||
|
||
### `KfAccount` 客服账号 | ||
|
||
Name | JSON | Type | Doc | ||
:------------------|:-----------------------------|:---------|:--------------------------------------------------------- | ||
`OpenKfID` | `open_kfid` | `string` | 客服账号ID | ||
`Name` | `name` | `string` | 客服名称 | ||
`Avatar` | `avatar` | `string` | 客服头像URL | ||
`ManagePrivilege` | `manage_privilege,omitempty` | `bool` | 当前调用接口的应用身份,是否有该客服账号的管理权限(编辑客服账号信息、分配会话和收发消息)。组件应用不返回此字段 | ||
|
||
### `KfServicer` 客服接待人员 | ||
|
||
Name | JSON | Type | Doc | ||
:---------------|:--------------------------|:---------|:-------------------------------------------- | ||
`UserID` | `userid,omitempty` | `string` | 接待人员的userid。第三方应用获取到的为密文userid,即open_userid | ||
`Status` | `status` | `int` | 接待人员的接待状态。0:接待中,1:停止接待。 | ||
`StopType` | `stop_type` | `int` | 接待人员的接待状态为「停止接待」的子类型。0:停止接待,1:暂时挂起 | ||
`DepartmentID` | `department_id,omitempty` | `int64` | 接待人员部门的id | ||
|
||
### `KfServicerResult` 客户群列表数据 | ||
|
||
Name | JSON | Type | Doc | ||
:---------------|:--------------------------|:---------|:------------ | ||
`UserID` | `userid,omitempty` | `string` | 接待人员的userid | ||
`DepartmentID` | `department_id,omitempty` | `int64` | 接待人员部门的id | ||
`ErrCode` | `errcode` | `int64` | 该条记录的结果 | ||
`ErrMsg` | `errmsg` | `string` | 结果信息 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.