package com.bc_chat.account.contract;


import com.zhaohaoting.framework.abs.contract.BaseContract;

/**
 * author：Created by ZHT on 2017/11/7 14:40
 * email：526309416@qq.com
 * desc：验证码
 */
public interface SendCodeContract {

    interface Presenter {
        /**
         * 发送验证码
         * @param mobilePhone
         * @param type
         */
        void senVerCode(String mobilePhone, int type);
    }

    interface View extends BaseContract.BaseView {

        /**
         * 验证码发送成功
         */
        void vercodeSendSuccess(String s);

        /**
         * 验证码发送失败
         */
        void vercodeSendFailure(Exception exception);

    }
}
