<th id="mffed"><video id="mffed"></video></th>
<pre id="mffed"></pre>
    <th id="mffed"><sup id="mffed"></sup></th>
  1. <th id="mffed"><video id="mffed"></video></th>
    <th id="mffed"><video id="mffed"></video></th>
  2. wx-tools 客服相關API

    2023-03-22 17:20 更新

    包括如下接口:
    - addKfAccount - 添加客服
    - updateKfAccount - 更新客服
    - deleteKfAccount - 刪除客服
    - getAllKfAccount - 獲取所有客服信息
    - sendMessageByKf - 客服發送消息
    - updateKfHeadImage - 更新客服頭像


    3.7.1 addKfAccount 添加客服

    WxError result = iService.addKfAccount(new KfAccount("ant@test", "ant", "ant"));
    System.out.println(result);

    3.7.2 updateKfAccount 更新客服

    WxError result = iService.updateKfAccount(new KfAccount("ant@test", "ant", "ant"));
    System.out.println(result);

    3.7.3 deleteKfAccount 刪除客服

    WxError result = iService.deleteKfAccount(new KfAccount("ant@test", "ant", "ant"));
    System.out.println(result);

    3.7.4 getAllKfAccount 獲取所有客服信息

    KfAccountListResult result = iService.getAllKfAccount();
    System.out.println(result);

    3.7.5 sendMessageByKf 客服發送消息

    KfSender sender = new KfSender();
    sender.setTouser("oROCnuNihJnO9bnKOAORDFFriPgQ");
    sender.setMsgtype(WxConsts.MASS_MSG_TEXT);
    sender.setText(new Text("hi"));
    System.out.println(iService.sendMessageByKf(sender))

    3.7.6 updateKfHeadImage 更新客服頭像

    iService.updateKfHeadImage("oROCnuNihJnO9bnKOAORDFFriPgQ", new File("D:/wx/wx.jpg"));
    以上內容是否對您有幫助:
    在線筆記
    App下載
    App下載

    掃描二維碼

    下載編程獅App

    公眾號
    微信公眾號

    編程獅公眾號

    女人ZOZOZO人禽交,做爰全过程免费无码的视频,18禁深夜福利网站APP免费,哔哩哔哩隐藏的肉片人肉片

    <th id="mffed"><video id="mffed"></video></th>
    <pre id="mffed"></pre>
      <th id="mffed"><sup id="mffed"></sup></th>
    1. <th id="mffed"><video id="mffed"></video></th>
      <th id="mffed"><video id="mffed"></video></th>