cn.herodotus.engine.sms.netease.properties.NeteaseSmsProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sms-sdk-netease Show documentation
Show all versions of sms-sdk-netease Show documentation
基于 Spring Authorization Server 的 Netease 短信组件模块
/*
* Copyright (c) 2020-2030 郑庚伟 ZHENGGENGWEI (码匠君) ([email protected] & www.herodotus.cn)
*
* Dante Engine licensed under the GNU LESSER GENERAL PUBLIC LICENSE 3.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.herodotus.engine.sms.netease.properties;
import cn.herodotus.engine.sms.core.constants.SmsConstants;
import cn.herodotus.engine.sms.core.definition.AbstractSmsProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* Description: 网易云信短信配置
*
* @author : gengwei.zheng
* @date : 2021/5/26 14:37
*/
@ConfigurationProperties(prefix = SmsConstants.PROPERTY_PREFIX_NETEASE)
public class NeteaseSmsProperties extends AbstractSmsProperties {
private String apiUrl = "https://api.netease.im/sms/sendtemplate.action";
/**
* appkey
*/
private String appKey;
/**
* appSecret
*/
private String appSecret;
public String getApiUrl() {
return apiUrl;
}
public void setApiUrl(String apiUrl) {
this.apiUrl = apiUrl;
}
public String getAppKey() {
return appKey;
}
public void setAppKey(String appKey) {
this.appKey = appKey;
}
public String getAppSecret() {
return appSecret;
}
public void setAppSecret(String appSecret) {
this.appSecret = appSecret;
}
}