public interface WxMaCustomserviceWorkService
小程序 - 微信客服 相关接口 负责处理 https://api.weixin.qq.com/customservice/work/** 文档:https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/kf-work/getKfWorkBound.html 绑定的企业ID,需和小程序主体一致。 目前仅支持绑定非个人小程序。 Created by tryking123 on 2025/8/18.
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
BIND_CUSTOMSERVICE_URL
为小程序绑定微信客服 注:此接口绑定的企业ID需完成企业认证
|
static String |
GET_CUSTOMSERVICE_URL
查询小程序的微信客服绑定情况
|
static String |
UNBIND_CUSTOMSERVICE_URL
为小程序解除绑定微信客服
|
| 限定符和类型 | 方法和说明 |
|---|---|
WxMaCustomserviceResult |
bindCustomservice(String corpid)
绑定微信客服
|
WxMaCustomserviceResult |
getCustomservice()
查询小程序的微信客服绑定情况
|
WxMaCustomserviceResult |
unbindCustomservice(String corpid)
解除绑定微信客服
|
static final String BIND_CUSTOMSERVICE_URL
WxMaCustomserviceResult getCustomservice() throws WxErrorException
WxErrorExceptionWxMaCustomserviceResult bindCustomservice(String corpid) throws WxErrorException
corpid - 企业ID,获取方式参考:https://developer.work.weixin.qq.com/document/path/90665#corpidWxErrorExceptionWxMaCustomserviceResult unbindCustomservice(String corpid) throws WxErrorException
corpid - 企业ID,获取方式参考:https://developer.work.weixin.qq.com/document/path/90665#corpidWxErrorExceptionCopyright © 2025. All rights reserved.