| | |
| | | package com.stylefeng.guns.modular.system.service; |
| | | |
| | | import com.baomidou.mybatisplus.service.IService; |
| | | import com.stylefeng.guns.modular.system.dto.LoginWeChatDTO; |
| | | import com.stylefeng.guns.modular.system.model.AppUser; |
| | | import com.baomidou.mybatisplus.service.IService; |
| | | import com.stylefeng.guns.modular.system.util.ResultUtil; |
| | | import com.stylefeng.guns.modular.system.warpper.req.RegisterAccountReq; |
| | | import com.stylefeng.guns.modular.system.warpper.res.AppletLoginRes; |
| | | import com.stylefeng.guns.modular.system.util.UUIDUtil; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * @author zhibing.pu |
| | | * @Date 2023/11/7 11:07 |
| | | * <p> |
| | | * 用户表 服务类 |
| | | * </p> |
| | | * |
| | | * @author 无关风月 |
| | | * @since 2024-02-06 |
| | | */ |
| | | public interface IAppUserService extends IService<AppUser> { |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 通过token获取用户信息 |
| | | * @return |
| | |
| | | AppUser getAppUser(); |
| | | |
| | | |
| | | /** |
| | | * 小程序登录 |
| | | * @param jscode |
| | | * @return |
| | | */ |
| | | ResultUtil<AppletLoginRes> appletLogin(String jscode); |
| | | |
| | | |
| | | /** |
| | | * 小程序注册账号 |
| | | * @param req |
| | | * @return |
| | | */ |
| | | ResultUtil<AppletLoginRes> registerAccount(RegisterAccountReq req); |
| | | } |