package com.sonic.bear.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sonic.bear.domain.entity.UserThird;
import com.sonic.bear.enums.ThirdTypeEnum;

/**
 * @author coder
 */
public interface UserThirdService extends IService<UserThird> {

    /**
     * 根据三方类型获取基础数据
     * @param thirdType
     * @param openId
     * @return
     */
    UserThird queryByOpenId(ThirdTypeEnum thirdType, String openId);
}
