| | |
| | | package com.dsh.account.service; |
| | | |
| | | import com.dsh.account.entity.TAppUser; |
| | | import com.baomidou.mybatisplus.service.IService; |
| | | import com.dsh.account.model.AddAppUserVo; |
| | | import com.dsh.account.model.LoginSMSCodeVo; |
| | | import com.dsh.account.model.LoginWeChatVo; |
| | | import com.dsh.account.model.vo.classDetails.classInsVo.ClassInfoVo; |
| | | import com.dsh.account.util.ResultUtil; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | */ |
| | | public interface TAppUserService extends IService<TAppUser> { |
| | | |
| | | ClassInfoVo queryUserOfStus(Integer id); |
| | | ClassInfoVo queryUserOfStus(Integer id,String longitude,String latitude); |
| | | |
| | | |
| | | /** |
| | | * 获取短信验证码 |
| | | * @param type |
| | | * @param phone |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | ResultUtil getSMSCode(Integer type, String phone) throws Exception; |
| | | |
| | | |
| | | /** |
| | | * 注册账号 |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | ResultUtil addAppUser(AddAppUserVo addAppUserVo) throws Exception; |
| | | |
| | | |
| | | /** |
| | | * 账号密码登录 |
| | | * @param phone |
| | | * @param password |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | ResultUtil loginPassword(String phone, String password) throws Exception; |
| | | |
| | | |
| | | /** |
| | | * 验证码登录 |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | ResultUtil loginSMSCode(LoginSMSCodeVo loginSMSCodeVo) throws Exception; |
| | | |
| | | |
| | | /** |
| | | * 微信登录 |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | ResultUtil loginWechat(LoginWeChatVo loginWechatVo) throws Exception; |
| | | |
| | | |
| | | /** |
| | | * 修改密码 |
| | | * @param phone |
| | | * @param code |
| | | * @param password |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | ResultUtil updatePassword(String phone, String code, String password) throws Exception; |
| | | } |