package com.sv.service.common;

import com.ydd.framework.core.common.TimeConstants;

/**
 * 接口常量
 *
 * @author Demon
 * @since 06/11/2017
 */
public class ApiConstants {


    /**
     * 图片验证码前缀
     */
    public static final String IMAGE_CAPTCHA_PREFIX = "image_captcha_";

    /**
     * 注册短信验证码前缀
     */
    public static final String REGISTER_SMS_CAPTCHA_PREFIX = "register_sms_captcha_";

    /**
     * 绑定手机短信验证码前缀
     */
    public static final String PHONE_SMS_CAPTCHA_PREFIX = "mobile_sms_captcha_";

    /**
     * 修改手机号码短信验证码前缀
     */
    public static final String UPDATE_PHONE_SMS_CAPTCHA_PREFIX = "update_phone_sms_captcha_";

    /**
     * 登录短信验证码前缀
     */
    public static final String LOGIN_SMS_CAPTCHA_PREFIX = "login_sms_captcha_";

    /**
     * 验证码有效期（秒）
     */
    public static final Long CAPTCHA_EXPIRED_IN = TimeConstants.MINUTE_15;


}
