public class WxMpGuideServiceImpl extends Object implements WxMpGuideService
| 构造器和说明 |
|---|
WxMpGuideServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addGuide(String account,
String openid,
String headImgUrl,
String nickName)
为服务号添加顾问
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/addguideacct?
|
void |
addGuide(WxMpGuideInfo guideInfo)
为服务号添加顾问
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/addguideacct?
|
void |
delGuide(String account,
String openid)
删除顾问
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/delguideacct?
|
WxMpGuideInfo |
getGuide(String account,
String openid)
获取顾问信息
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/getguideacct?
|
WxMpGuideList |
listGuide(int page,
int num)
获取服务号顾问列表
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/getguideacctlist?
|
void |
updateGuide(WxMpGuideInfo guideInfo)
修改顾问的昵称或头像
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/updateguideacct?
|
public void addGuide(String account, String openid, String headImgUrl, String nickName) throws WxErrorException
WxMpGuideService请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/addguideacct?access_token=ACCESS_TOKEN 文档地址:https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.addGuideAcct.html
addGuide 在接口中 WxMpGuideServiceaccount - 顾问微信号(guide_account和guide_openid二选一,若同时请求,默认为guide_account)openid - 顾问openid或者unionid(guide_account和guide_openid二选一)headImgUrl - 顾问头像,头像url只能用《上传图文消息内的图片获取URL》 me.chanjar.weixin.mp.api.impl.WxMpMaterialServiceImpl#mediaImgUpload(java.io.File)nickName - 顾问昵称WxErrorException - .public void addGuide(WxMpGuideInfo guideInfo) throws WxErrorException
WxMpGuideService请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/addguideacct?access_token=ACCESS_TOKEN 文档地址:https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.addGuideAcct.html
addGuide 在接口中 WxMpGuideServiceguideInfo - 顾问信息WxErrorException - .public void updateGuide(WxMpGuideInfo guideInfo) throws WxErrorException
WxMpGuideService请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/updateguideacct?access_token=ACCESS_TOKEN 文档地址:https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.updateGuideAcct.html
updateGuide 在接口中 WxMpGuideServiceguideInfo - 顾问信息WxErrorException - .public WxMpGuideInfo getGuide(String account, String openid) throws WxErrorException
WxMpGuideService请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/getguideacct?access_token=ACCESS_TOKEN 文档地址:https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.getGuideAcct.html
getGuide 在接口中 WxMpGuideServiceaccount - 顾问微信号(guide_account和guide_openid二选一,若同时请求,默认为guide_account)openid - 顾问openid或者unionid(guide_account和guide_openid二选一)WxErrorException - .public void delGuide(String account, String openid) throws WxErrorException
WxMpGuideService请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/delguideacct?access_token=ACCESS_TOKEN 文档地址:https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.delGuideAcct.html
delGuide 在接口中 WxMpGuideServiceaccount - 顾问微信号(guide_account和guide_openid二选一,若同时请求,默认为guide_account)openid - 顾问openid或者unionid(guide_account和guide_openid二选一)WxErrorException - .public WxMpGuideList listGuide(int page, int num) throws WxErrorException
WxMpGuideService请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/getguideacctlist?access_token=ACCESS_TOKEN 文档地址:https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.getGuideAcctList.html
listGuide 在接口中 WxMpGuideServicepage - 分页页数,从0开始num - 每页数量WxErrorException - .Copyright © 2020. All rights reserved.