com.hn.sms.juhe.domain.JuHeParam Maven / Gradle / Ivy
package com.hn.sms.juhe.domain;
import java.util.HashMap;
/**
* 描述:
* 聚合短信配置
*
* @author fei
* 2019-08-16 09:04
*/
public class JuHeParam extends HashMap {
private static final String MOBILE = "mobile";
private static final String MSG_MOBAN_ID = "tpl_id";
private static final String AUTH_CODE = "tpl_value";
private static final String APP_KEY = "key";
/**
*
* @param appKey appKey
*/
public void setAppKey(String appKey) {
super.put(APP_KEY,appKey);
}
/**
*
* @param msgMobanId 模板ID
*/
public void setMsgMobanId(String msgMobanId) {
super.put(MSG_MOBAN_ID,msgMobanId);
}
/**
*
* @param mobile 手机号
*/
public void setMobile(String mobile) {
super.put(MOBILE,mobile);
}
/**
*
* @param authCode 验证码 code
*/
public void setAuthCode(String authCode) {
authCode = "%23code%23%3D"+authCode;
super.put(AUTH_CODE,authCode);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy