Commit db9cc0fc by 田超

Merge branch 'feature/1005481' into 'master'

feat: [1005481] 服务余量预警

See merge request rays/pcloud-common-parent!229
parents 4fff9471 c59db2f0
......@@ -474,4 +474,10 @@ public class MQTopicProducer {
* 裂变海报工具关注
*/
public static final String FISSION_POSTER_SUBSCRIBE = "topic.fissionPosterSubscribe";
/**
* 服务消息预警
*/
public static final String ALERT_MESSAGE_COUNT = "topic.alertMessageCount";
}
......@@ -209,4 +209,9 @@ public class SMSTemplateConstant {
* [书僮小睿]您的验证码是${code},验证码有效期5分钟。如非本人操作,请勿理会。
*/
public static final String RAYS_VERIFY_CODE = "SMS_21061100004";
/**
* 服务${serveName}剩余使用数量已不足20%, 请及时充值。
*/
public static final String ALERT_MESSAGE_COUNT = "SMS_21061100006";
}
package com.pcloud.common.core.enums;
public enum AlertMessageCountEnum {
IOT_SHORT_MESSAGE(1, "华为联接云短信"),
REAL_NAME_AUTH(2, "实名认证");
public Integer code;
public String desc;
AlertMessageCountEnum(Integer code, String desc) {
this.code = code;
this.desc = desc;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment