package com.cyksj.service.user; import com.baomidou.mybatisplus.extension.service.IService; import com.cyksj.model.dto.GzhOAuth2UserInfo; import com.cyksj.model.dto.UserWhoami; import com.cyksj.model.entity.User; import com.cyksj.model.entity.WxSyncLog; import java.util.List; /** * @author chan * @date 2021/10/10 下午3:27 */ public interface UserService extends IService { User saveAuth(GzhOAuth2UserInfo userinfo, Long sharedId, Integer dsType, Long pid, String dsCode); UserWhoami whoami(long userId); User getSyncUser(String openId, String unionId, WxSyncLog wxSyncLog); /** * 发放添加固定客服渠道优惠券 */ void sendFixedCustomerCoupon(Long popularizeId, Long userId, String unionId); /** * 获取关联用户id集合 */ List getRelationUserIdList(Long userId, User selectUser); }