@DependsOn(value="weChatTokenManager") @Component public class SyncPushTemplate extends Object
| 构造器和说明 |
|---|
SyncPushTemplate() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<WeChatResponse> |
pushTemplate(List<WeChatTemplateDTO> templateList)
批量推送
|
WeChatResponse |
pushTemplate(WeChatTemplateDTO template)
推送一个模版信息
|
public WeChatResponse pushTemplate(@Validated(value=Insert.class) WeChatTemplateDTO template) throws ParamCheckException, WeChatException
template - 模版信息ParamCheckException - 参数检查不通过WeChatException - 微信服务端异常public List<WeChatResponse> pushTemplate(@Validated(value=org.apache.ibatis.annotations.Insert.class) List<WeChatTemplateDTO> templateList) throws ParamCheckException
templateList - 多个模版信息ParamCheckException - 参数检查不通过Copyright © 2023. All rights reserved.