puzhibing
2023-11-28 7b726d5ff439e7b8bb66369ecc5881e370286bc8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package com.stylefeng.guns.modular.system.service;
 
import com.baomidou.mybatisplus.service.IService;
import com.stylefeng.guns.modular.system.model.AppUser;
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;
 
/**
 * @author zhibing.pu
 * @Date 2023/11/7 11:07
 */
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);
}