package com.cm.common.wechat.service;

import com.cm.common.exception.SaveException;
import com.cm.common.exception.SearchException;
import com.cm.common.exception.TokenException;
import com.cm.common.result.SuccessResultData;
import com.cm.common.wechat.pojo.WechatMiniAppLoginVO;

/**
 * When you feel like quitting. Think about why you started
 * 当你想要放弃的时候，想想当初你为何开始
 *
 * @ClassName: IWechatMiniAppAuthService
 * @Description: 小程序认证
 * @Author: WangGeng
 * @Date: 2020/5/9 18:16
 * @Version: 1.0
 **/
public interface IWechatMiniAppAuthService {
    /**
     * 登录
     *
     * @param wechatMiniAppLoginVO
     * @return
     * @throws TokenException
     */
    SuccessResultData login(WechatMiniAppLoginVO wechatMiniAppLoginVO) throws Exception;
}
