public class WxMpGuideMassedJobServiceImpl extends Object implements WxMpGuideMassedJobService
构造器和说明 |
---|
WxMpGuideMassedJobServiceImpl() |
限定符和类型 | 方法和说明 |
---|---|
WxMpGuideMassed |
addGuideMassedJob(String account,
String openid,
String taskName,
String taskRemark,
Long pushTime,
List<String> userOpenIds,
List<WxMpGuideMaterialInfo> materialInfos)
添加群发任务
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/addguidemassendjob?
|
void |
cancelGuideMassedJob(String taskId)
取消群发任务
取消给顾问分配的群发任务, 已执行的任务无法取消。
|
WxMpGuideMassedInfo |
getGuideMassedJob(String taskId)
获取指定群发任务信息
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/getguidemassendjob?
|
List<WxMpGuideMassedInfo> |
getGuideMassedJobList(String account,
String openid,
List<Integer> taskStatus,
Integer offset,
Integer limit)
获取群发任务列表
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/getguidemassendjoblist?
|
void |
updateGuideMassedJob(String taskId,
String taskName,
String taskRemark,
Long pushTime,
List<String> userOpenIds,
List<WxMpGuideMaterialInfo> materialInfos)
修改群发任务
无法修改已经执行的任务,返回参数错误
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/updateguidemassendjob?
|
public WxMpGuideMassed addGuideMassedJob(String account, String openid, String taskName, String taskRemark, Long pushTime, List<String> userOpenIds, List<WxMpGuideMaterialInfo> materialInfos) throws WxErrorException
WxMpGuideMassedJobService
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/addguidemassendjob?access_token=ACCESS_TOKEN 文档地址:https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/task-account/shopping-guide.addGuideMassendJob.html
addGuideMassedJob
在接口中 WxMpGuideMassedJobService
account
- 顾问微信号(guide_account和guide_openid二选一)openid
- 顾问openid或者unionid(guide_account和guide_openid二选一)taskName
- 群发任务名称,不超过16字taskRemark
- 群发任务备注,不超过100字pushTime
- 任务下发给顾问的时间, 秒级时间戳, 范围为当前时间开始到最近一个月内userOpenIds
- 客户openid列表materialInfos
- 不超过3个素材WxErrorException
- 。public List<WxMpGuideMassedInfo> getGuideMassedJobList(String account, String openid, List<Integer> taskStatus, Integer offset, Integer limit) throws WxErrorException
WxMpGuideMassedJobService
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/getguidemassendjoblist?access_token=ACCESS_TOKEN 文档地址:https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/task-account/shopping-guide.getGuideMassendJobList.html
getGuideMassedJobList
在接口中 WxMpGuideMassedJobService
account
- 顾问微信号(guide_account和guide_openid二选一)openid
- 顾问openid或者unionid(guide_account和guide_openid二选一)taskStatus
- 获取指定状态的任务(为空则表示拉取所有状态的任务)offset
- 偏移位置(从什么位置开始拉取)limit
- 条数(默认50)WxErrorException
- 。public WxMpGuideMassedInfo getGuideMassedJob(String taskId) throws WxErrorException
WxMpGuideMassedJobService
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/getguidemassendjob?access_token=ACCESS_TOKEN 文档地址:https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/task-account/shopping-guide.getGuideMassendJob.html
getGuideMassedJob
在接口中 WxMpGuideMassedJobService
taskId
- 任务IDWxErrorException
- 。public void updateGuideMassedJob(String taskId, String taskName, String taskRemark, Long pushTime, List<String> userOpenIds, List<WxMpGuideMaterialInfo> materialInfos) throws WxErrorException
WxMpGuideMassedJobService
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/updateguidemassendjob?access_token=ACCESS_TOKEN 文档地址:https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/task-account/shopping-guide.updateGuideMassendJob.html
updateGuideMassedJob
在接口中 WxMpGuideMassedJobService
taskId
- 任务IDtaskName
- 群发任务名称,不超过16字taskRemark
- 群发任务备注,不超过100字pushTime
- 下发时间, 秒级时间戳, 范围为当前时间开始到最近一个月内userOpenIds
- 客户openid列表materialInfos
- 不超过3个素材WxErrorException
- 。public void cancelGuideMassedJob(String taskId) throws WxErrorException
WxMpGuideMassedJobService
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/cancelguidemassendjob?access_token=ACCESS_TOKEN 文档地址:https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/task-account/shopping-guide.cancelGuideMassendJob.html
cancelGuideMassedJob
在接口中 WxMpGuideMassedJobService
taskId
- 任务IDWxErrorException
- .Copyright © 2024. All rights reserved.