package ink.wgink.register.base.service;

import ink.wgink.register.base.pojo.vos.RegisterDefaultVO;
import ink.wgink.register.base.pojo.vos.RegisterDefaultWithExpandInfoVO;
import ink.wgink.register.base.pojo.vos.RegisterPhoneVO;
import ink.wgink.register.base.pojo.vos.RegisterPhoneWithExpandInfoVO;

import java.util.Map;

/**
 * When you feel like quitting. Think about why you started
 * 当你想要放弃的时候，想想当初你为何开始
 *
 * @ClassName: IRegisterService
 * @Description: 注册
 * @Author: wanggeng
 * @Date: 2021/5/1 10:33 上午
 * @Version: 1.0
 */
public interface IRegisterService {

    /**
     * 默认，用户名密码注册
     *
     * @param registerDefaultVO 请求主体
     * @param queryParams query参数
     * @throws Exception
     */
    void registerDefault(RegisterDefaultVO registerDefaultVO, Map<String, Object> queryParams) throws Exception;

    /**
     * 手机注册
     *
     * @param registerPhoneVO 请求主体
     * @param queryParams query参数
     * @throws Exception
     */
    void registerPhone(RegisterPhoneVO registerPhoneVO, Map<String, Object> queryParams) throws Exception;

    /**
     * 默认，用户名密码注册（有拓展信息）
     *
     * @param registerDefaultWithExpandInfoVO 请求主体
     * @param queryParams query参数
     */
    void registerDefaultWithExpandInfo(RegisterDefaultWithExpandInfoVO registerDefaultWithExpandInfoVO, Map<String, Object> queryParams) throws Exception;

    /**
     * 手机注册（有拓展信息）
     *
     * @param registerPhoneWithExpandInfoVO 请求主体
     * @param queryParams query参数
     */
    void registerPhoneWithExpandInfo(RegisterPhoneWithExpandInfoVO registerPhoneWithExpandInfoVO, Map<String, Object> queryParams) throws Exception;

}
