package com.ruoyi.message.config;
|
|
import lombok.Data;
|
|
/**
|
* 南华附一「行业汇聚平台 MT 消息」配置(nhfy 通道)。
|
* <p>
|
* 由 {@link MessageProperties#getSms()} 从 {@link RootMessageProperties} 的扁平字段组装而来,
|
* 字段与 yml key 的对应关系见各字段注释。
|
*/
|
@Data
|
public class MtSmsConfig {
|
|
/**
|
* 对应 yml key {@code sms_accountName}
|
*/
|
private String accountName;
|
|
/**
|
* 对应 yml key {@code sms_password}
|
*/
|
private String password;
|
|
/**
|
* 对应 yml key {@code sms_url}
|
*/
|
private String url;
|
|
/**
|
* 对应 yml key {@code sms_sourceAddr}
|
*/
|
private String sourceAddr;
|
|
/**
|
* 对应 yml key {@code sms_serviceCode}
|
*/
|
private String serviceCode;
|
|
/**
|
* 对应 yml key {@code sms_appkey}
|
*/
|
private String appkey;
|
|
/**
|
* 短信签名前缀,对应 yml key {@code sms_flag}
|
*/
|
private String flag;
|
}
|