package com.bc_chat.account.contract;


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

/**
 * author：Created by zhaohaoting on 2018/1/10 11:51
 * email：526309416@qq.com
 * desc：
 */

public interface ModifyPwdContract {

    interface Presenter extends SendCodeContract {
        /**
         * 重置密码
         *
         * @param newPassword
         * @param password    密码
         */
        void modifyPwd(String password, String newPassword);
    }

    interface View extends BaseContract.BaseView {

        void modifyPadSuccess();

        void modifyPadFailure(Exception exception);
    }
}
