package com.jeequan.jeepay.core.model.smsconfig;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.extern.slf4j.Slf4j;

import java.io.Serializable;

/**
 * 聚合数据短信配置文件
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Slf4j
public class JuhedxSmsConfig extends AbstractSmsConfig implements Serializable {

    private static final String SMS_GATEWAY = "https://v.juhe.cn/";

    public static final String SMS_SEND = "sms/send";

    public static final int SUCCESS_CODE = 0;

    private String accessKeyId;

    public static String getSmsUrl(String uri){
        return SMS_GATEWAY + uri;
    }

    /** 忘记密码模板ID **/
    private String forgetPwdTemplateId;

    /** 商户注册模板ID **/
    private String registerMchTemplateId;

    /** 商户登录模板ID **/
    private String loginMchTemplateId;

    /** 账号开通提醒模板ID **/
    private String accountOpenTemplateId;

    /** 会员手机号绑定模板ID **/
    private String mbrTelBindTemplateId;

    /** 账户余额不足通知模板id **/
    private String accountBalanceTemplateId;
}
