|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.github.sd4324530.fastweixin.api.BaseAPI
com.github.sd4324530.fastweixin.api.TemplateMsgAPI
public class TemplateMsgAPI
模版消息 api
| 字段摘要 |
|---|
| 从类 com.github.sd4324530.fastweixin.api.BaseAPI 继承的字段 |
|---|
BASE_API_URL, config |
| 构造方法摘要 | |
|---|---|
TemplateMsgAPI(ApiConfig config)
|
|
| 方法摘要 | |
|---|---|
AddTemplateResponse |
addTemplate(String shortTemplateId)
添加模版 |
BaseResponse |
delTemplate(String templateId)
删除模板 |
PrivateTemplate[] |
getAllPrivateTemplate()
获取已添加至帐号下所有模板列表 |
SendTemplateResponse |
send(TemplateMsg msg)
发送模版消息 |
ResultType |
setIndustry(Industry industry)
设置行业 |
| 从类 com.github.sd4324530.fastweixin.api.BaseAPI 继承的方法 |
|---|
executeGet, executePost, executePost, isSuccess |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public TemplateMsgAPI(ApiConfig config)
| 方法详细信息 |
|---|
public ResultType setIndustry(Industry industry)
industry - 行业参数
public AddTemplateResponse addTemplate(String shortTemplateId)
shortTemplateId - 模版短id
public SendTemplateResponse send(TemplateMsg msg)
msg - 消息
public PrivateTemplate[] getAllPrivateTemplate()
public BaseResponse delTemplate(String templateId)
templateId - 模板ID
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||