public class WxMaSubscribeServiceImpl extends Object implements WxMaSubscribeService
WxMaSubscribeService.CategoryData, WxMaSubscribeService.PubTemplateKeyword, WxMaSubscribeService.TemplateInfoGET_CATEGORY_URL, GET_PUB_TEMPLATE_KEY_WORDS_BY_ID_URL, GET_PUB_TEMPLATE_TITLE_LIST_URL, TEMPLATE_ADD_URL, TEMPLATE_DEL_URL, TEMPLATE_LIST_URL| 构造器和说明 | 
|---|
WxMaSubscribeServiceImpl()  | 
| 限定符和类型 | 方法和说明 | 
|---|---|
String | 
addTemplate(String id,
           List<Integer> keywordIdList,
           String sceneDesc)
 组合模板并添加至帐号下的个人模板库
 详情请见: 获取小程序模板库标题列表
 接口url格式: POST https://api.weixin.qq.com/wxaapi/newtmpl/addtemplate? 
 | 
boolean | 
delTemplate(String templateId)
 删除帐号下的某个模板
 详情请见: 删除帐号下的个人模板
 接口url格式: POST https://api.weixin.qq.com/wxaapi/newtmpl/deltemplate? 
 | 
List<WxMaSubscribeService.CategoryData> | 
getCategory()
 获取小程序账号的类目
 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/subscribe-message/subscribeMessage.getCategory.html
 GET https://api.weixin.qq.com/wxaapi/newtmpl/getcategory? 
 | 
List<WxMaSubscribeService.PubTemplateKeyword> | 
getPubTemplateKeyWordsById(String id)
 获取模板库某个模板标题下关键词库
 详情请见: 获取模板标题下的关键词列表
 接口url格式: GET https://api.weixin.qq.com/wxaapi/newtmpl/getpubtemplatekeywords? 
 | 
WxMaPubTemplateTitleListResult | 
getPubTemplateTitleList(String[] ids,
                       int start,
                       int limit)
 获取帐号所属类目下的公共模板标题
 详情请见: 获取帐号所属类目下的公共模板标题
 接口url格式: https://api.weixin.qq.com/wxaapi/newtmpl/getpubtemplatetitles? 
 | 
List<WxMaSubscribeService.TemplateInfo> | 
getTemplateList()
 获取当前帐号下的个人模板列表
 详情请见: 获取当前帐号下的个人模板列表
 接口url格式: GET https://api.weixin.qq.com/wxaapi/newtmpl/gettemplate? 
 | 
public WxMaPubTemplateTitleListResult getPubTemplateTitleList(String[] ids, int start, int limit) throws WxErrorException
WxMaSubscribeService获取帐号所属类目下的公共模板标题 详情请见: 获取帐号所属类目下的公共模板标题 接口url格式: https://api.weixin.qq.com/wxaapi/newtmpl/getpubtemplatetitles?access_token=ACCESS_TOKEN
getPubTemplateTitleList 在接口中 WxMaSubscribeServiceids - 类目 id,多个用逗号隔开start - 用于分页,表示从 start 开始。从 0 开始计数。limit - 用于分页,表示拉取 limit 条记录。最大为 30。WxErrorException - .public List<WxMaSubscribeService.PubTemplateKeyword> getPubTemplateKeyWordsById(String id) throws WxErrorException
WxMaSubscribeService获取模板库某个模板标题下关键词库 详情请见: 获取模板标题下的关键词列表 接口url格式: GET https://api.weixin.qq.com/wxaapi/newtmpl/getpubtemplatekeywords?access_token=ACCESS_TOKEN
getPubTemplateKeyWordsById 在接口中 WxMaSubscribeServiceid - 模板标题 id,可通过接口获取WxErrorException - .public String addTemplate(String id, List<Integer> keywordIdList, String sceneDesc) throws WxErrorException
WxMaSubscribeService组合模板并添加至帐号下的个人模板库 详情请见: 获取小程序模板库标题列表 接口url格式: POST https://api.weixin.qq.com/wxaapi/newtmpl/addtemplate?access_token=ACCESS_TOKEN
addTemplate 在接口中 WxMaSubscribeServiceid - 模板标题 id,可通过接口获取,也可登录小程序后台查看获取keywordIdList - 模板关键词列表sceneDesc - 服务场景描述,15个字以内WxErrorException - .public List<WxMaSubscribeService.TemplateInfo> getTemplateList() throws WxErrorException
WxMaSubscribeService获取当前帐号下的个人模板列表 详情请见: 获取当前帐号下的个人模板列表 接口url格式: GET https://api.weixin.qq.com/wxaapi/newtmpl/gettemplate?access_token=ACCESS_TOKEN
getTemplateList 在接口中 WxMaSubscribeServiceWxErrorException - .public boolean delTemplate(String templateId) throws WxErrorException
WxMaSubscribeService删除帐号下的某个模板 详情请见: 删除帐号下的个人模板 接口url格式: POST https://api.weixin.qq.com/wxaapi/newtmpl/deltemplate?access_token=ACCESS_TOKEN
delTemplate 在接口中 WxMaSubscribeServicetemplateId - 要删除的模板idWxErrorException - .public List<WxMaSubscribeService.CategoryData> getCategory() throws WxErrorException
WxMaSubscribeService获取小程序账号的类目 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/subscribe-message/subscribeMessage.getCategory.html GET https://api.weixin.qq.com/wxaapi/newtmpl/getcategory?access_token=ACCESS_TOKEN
getCategory 在接口中 WxMaSubscribeServiceWxErrorException - .Copyright © 2020. All rights reserved.