| | |
| | | package com.yeshi.fanli.service.inter.user;
|
| | |
|
| | | import java.util.Date;
|
| | |
|
| | | import org.apache.ibatis.annotations.Param;
|
| | |
|
| | | import com.yeshi.fanli.dto.wx.WXAccountInfoDTO;
|
| | | import com.yeshi.fanli.entity.bus.user.UserInfo;
|
| | | import com.yeshi.fanli.entity.bus.user.UserInfoExtra;
|
| | | import com.yeshi.fanli.entity.bus.user.UserRank;
|
| | | import com.yeshi.fanli.entity.bus.user.WeiXinUser;
|
| | | import com.yeshi.fanli.exception.user.UserInfoExtraException;
|
| | | import com.yeshi.fanli.vo.user.UserInfoExtraVO;
|
| | |
|
| | |
| | | * @return
|
| | | * @throws UserInfoExtraException
|
| | | */
|
| | | public UserInfo getInviterInfo(WXAccountInfoDTO wxAccount,Long uid, String code) throws UserInfoExtraException;
|
| | | public UserInfo getInviterInfo(Long uid, String wxUnionId) throws UserInfoExtraException;
|
| | |
|
| | | /**
|
| | | * 更新信息 + 加锁
|
| | |
| | | * @return
|
| | | */
|
| | | public void updateGoldCoin(Long id, Integer goldCoin);
|
| | |
|
| | | /**
|
| | | * 新版邀请激活
|
| | | * @param uid
|
| | | * @param weiXinUser
|
| | | * @throws UserInfoExtraException
|
| | | */
|
| | | public void activeInviteWX(Long uid, WeiXinUser weiXinUser) throws UserInfoExtraException;
|
| | |
|
| | | /**
|
| | | * 根据用户id更新信息
|
| | | * @param userInfoExtra
|
| | | */
|
| | | public void updateActiveTime(Long uid, Date date);
|
| | | |
| | | /**
|
| | | *开启自动提现: 更新超过期限的
|
| | | * @param days
|
| | | */
|
| | | public void updateAutoExtract(@Param("days")Integer days);
|
| | |
|
| | | /**
|
| | | * 返回用户所有相关额外信息
|
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public UserInfoExtra getUserALLInfo(Long uid);
|
| | |
|
| | | }
|