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; /** * @author chan * @date 2021/10/10 下午3:27 */ public interface UserService extends IService { User saveAuth(GzhOAuth2UserInfo userinfo, Long sharedId, String sCode, Integer dsType, Long pid); UserWhoami whoami(long userId); User getSyncUser(String openId, String unionId, WxSyncLog wxSyncLog); /** * 发放添加固定客服渠道优惠券 */ void sendFixedCustomerCoupon(Long popularizeId, Long userId, String unionId); }