W3Cschool
恭喜您成為首批注冊用戶
獲得88經(jīng)驗(yàn)值獎(jiǎng)勵(lì)
包括如下接口:
- addKfAccount - 添加客服
- updateKfAccount - 更新客服
- deleteKfAccount - 刪除客服
- getAllKfAccount - 獲取所有客服信息
- sendMessageByKf - 客服發(fā)送消息
- updateKfHeadImage - 更新客服頭像
WxError result = iService.addKfAccount(new KfAccount("ant@test", "ant", "ant"));
System.out.println(result);
WxError result = iService.updateKfAccount(new KfAccount("ant@test", "ant", "ant"));
System.out.println(result);
WxError result = iService.deleteKfAccount(new KfAccount("ant@test", "ant", "ant"));
System.out.println(result);
KfAccountListResult result = iService.getAllKfAccount();
System.out.println(result);
KfSender sender = new KfSender();
sender.setTouser("oROCnuNihJnO9bnKOAORDFFriPgQ");
sender.setMsgtype(WxConsts.MASS_MSG_TEXT);
sender.setText(new Text("hi"));
System.out.println(iService.sendMessageByKf(sender))
iService.updateKfHeadImage("oROCnuNihJnO9bnKOAORDFFriPgQ", new File("D:/wx/wx.jpg"));
Copyright©2021 w3cschool編程獅|閩ICP備15016281號-3|閩公網(wǎng)安備35020302033924號
違法和不良信息舉報(bào)電話:173-0602-2364|舉報(bào)郵箱:jubao@eeedong.com
掃描二維碼
下載編程獅App
編程獅公眾號
聯(lián)系方式:
更多建議: