package com.yanzuoguang.wxxcx.cloudbase.sendSms; import java.util.List; /*** * 发送支持打开云开发静态网站的短信,该 H5 可以打开小程序 * * @author:heyanou */ public class WxSendSmsDataReq { /** * <p> * 是否必填:是 * 描述:接口调用凭证 * </p> */ private String access_token; /** * <p> * 是否必填:是 * 描述:环境 ID * </p> */ private String env; /** * <p> * 是否必填:是 * 描述:手机号列表,单次请求最多支持 1000 个境内手机号,手机号必须以+86开头 * </p> */ private List<String> phone_number_list; /** * <p> * 是否必填:是 * 描述:短信类型,营销类短信:Marketing;通知类短信:Notification * </p> */ private String sms_type="Marketing"; /** * <p> * 是否必填:是 * 描述:sms_type="Marketing" 时必填,自定义短信内容,一条短信最多为70个字。可自定义内容最多为 30 个字符,详情参考短信规则 * </p> */ private String content; /** * <p> * 是否必填:是 * 描述:sms_type="Marketing" 时必填,云开发静态网站 path,不需要指定域名,例如/index.html * </p> */ private String path; /** * <p> * 是否必填:是 * 描述:sms_type="Notification" 时必填,模版 ID * </p> */ private String template_id; /** * <p> * 是否必填:是 * 描述:生成这个随机字符串的 UNIX 时间戳(精确到秒) * </p> */ private List<String> template_param_list; /** * <p> * 是否必填:否 * 描述:是否使用小程序简称 * </p> */ private Boolean use_short_name; /** * <p> * 是否必填:v * 描述:资源方appid,第三方代开发时可填第三方 appid 或小程序appid,应为所填环境所属的账号APPID * </p> */ private String resource_appid; public String getAccess_token() { return access_token; } public void setAccess_token(String access_token) { this.access_token = access_token; } public String getEnv() { return env; } public void setEnv(String env) { this.env = env; } public List<String> getPhone_number_list() { return phone_number_list; } public void setPhone_number_list(List<String> phone_number_list) { this.phone_number_list = phone_number_list; } public String getSms_type() { return sms_type; } public void setSms_type(String sms_type) { this.sms_type = sms_type; } public String getContent() { return content; } public void setContent(String content) { this.content = content; } public String getPath() { return path; } public void setPath(String path) { this.path = path; } public String getTemplate_id() { return template_id; } public void setTemplate_id(String template_id) { this.template_id = template_id; } public List<String> getTemplate_param_list() { return template_param_list; } public void setTemplate_param_list(List<String> template_param_list) { this.template_param_list = template_param_list; } public Boolean getUse_short_name() { return use_short_name; } public void setUse_short_name(Boolean use_short_name) { this.use_short_name = use_short_name; } public String getResource_appid() { return resource_appid; } public void setResource_appid(String resource_appid) { this.resource_appid = resource_appid; } }