| | |
| | |
|
| | | import com.yeshi.fanli.entity.bus.user.InviteUser;
|
| | | import com.yeshi.fanli.entity.bus.user.UserInfo;
|
| | | import com.yeshi.fanli.exception.user.UserInfoException;
|
| | | import com.yeshi.fanli.vo.user.UserInfoVO;
|
| | |
|
| | | public interface UserInfoService {
|
| | |
| | |
|
| | | public BigDecimal getNewPeopleHB(Long id);
|
| | |
|
| | | public BigDecimal getMyHB(Long id);
|
| | |
|
| | | /**
|
| | | * 查询用户信息 -- 用户管理列表
|
| | | * @param start
|
| | |
| | | */
|
| | | public UserInfo getInfoByPhoneOrInviteCode(String phone, String inviteCode);
|
| | |
|
| | | /**
|
| | | * 根据电话号码 获取有效用户
|
| | | * @param phone
|
| | | * @return
|
| | | */
|
| | | public UserInfo getEffectiveUserInfoByPhone(String phone);
|
| | |
|
| | | /**
|
| | | * 获取用户信息
|
| | | * @param uid
|
| | | * @return
|
| | | * @throws UserInfoException
|
| | | */
|
| | | public UserInfo getUserInfo(Long uid) throws UserInfoException;
|
| | |
|
| | | /**
|
| | | * 根据微信获取有效用户
|
| | | * @param unionId
|
| | | * @return
|
| | | */
|
| | | public UserInfo getEffectiveUserInfoByWXUnionId(String unionId);
|
| | | |
| | | |
| | | /**
|
| | | * 获取用户余额
|
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public BigDecimal getBalance(Long uid);
|
| | |
|
| | | }
|