| | |
| | | |
| | | import com.yeshi.buwan.domain.user.LoginUser; |
| | | import com.yeshi.buwan.domain.user.LoginUserExtra; |
| | | import com.yeshi.buwan.exception.LoginUserException; |
| | | import com.yeshi.buwan.exception.user.LoginUserException; |
| | | import com.yeshi.buwan.exception.PPTVException; |
| | | import org.yeshi.utils.entity.wx.WeiXinUser; |
| | | |
| | | public interface LoginUserService { |
| | | |
| | | /** |
| | | * 初始化附加信息 |
| | | * |
| | | * @param extra |
| | | */ |
| | | public void initExtra(LoginUserExtra extra); |
| | | public void initExtra(LoginUserExtra extra); |
| | | |
| | | /** |
| | | * 主键查询 |
| | |
| | | */ |
| | | public void bindWX(String loginUid, WeiXinUser info) throws LoginUserException; |
| | | |
| | | |
| | | /** |
| | | * 获取附加信息 |
| | | * |
| | | * @param uid |
| | | * @return |
| | | */ |
| | | public LoginUserExtra getExtra(String uid); |
| | | |
| | | |
| | | /** |
| | | * 初始化附加信息 |
| | | * |
| | | * @param uid |
| | | */ |
| | | public LoginUserExtra initExtra(String uid); |
| | | |
| | | |
| | | public LoginUserExtra initPPTVUid(String uid); |
| | | |
| | | |
| | | /** |
| | | * 根据主键更新 |
| | | * |
| | | * @param loginUser |
| | | */ |
| | | public void updateSelectiveByPrimaryKey(LoginUser loginUser); |
| | | |
| | | |
| | | /** |
| | | * 根据主键更新 |
| | | * |
| | | * @param extra |
| | | */ |
| | | public void updateSelectiveByPrimaryKey(LoginUserExtra extra); |
| | | |
| | | |
| | | /** |
| | | * 更新PPTV的openId |
| | | * |
| | | * @param uid |
| | | * @return |
| | | */ |
| | | public String updatePPTVOpenId(String uid) throws PPTVException; |
| | | |
| | | |
| | | /** |
| | | * 设置utdid |
| | | * |
| | | * @param uid |
| | | * @param utdId |
| | | */ |
| | | public void setUtdId(String uid, String utdId); |
| | | |
| | | } |