Blame view

lib/common/request/apis.dart 1.97 KB
4b2c2f07   Key   feat: 三种修改密码的类型及接口
1
2
  part of 'request_client.dart';
  
056970d8   Key   feat: api
3
4
  class Apis {
    /// app初始化配置信息
a4d8eaa2   Key   feat: 登录时账户有效性校验
5
6
    ///   GET /system/app/config
    ///   接口地址:https://app.apifox.com/link/project/2684751/apis/api-89897678
056970d8   Key   feat: api
7
8
    static const String appConfig = 'system/app/config';
  
c9df43c8   Key   feat: 修改个人信息、接口
9
    /// 登录
056970d8   Key   feat: api
10
11
12
13
14
    static const String login = 'login';
  
    /// 登出
    static const String logout = 'logout';
  
a4d8eaa2   Key   feat: 登录时账户有效性校验
15
16
17
    /// 注销账号
    static const String deleteAccount = 'logout';
  
c95453ce   Key   feat: User界面完善
18
    /// 获取用户信息
a4d8eaa2   Key   feat: 登录时账户有效性校验
19
    /// get
c95453ce   Key   feat: User界面完善
20
21
22
23
24
    static const String getUserInfo = 'student/info';
  
    /// 更新用户信息
    static const String setUserInfo = 'student/update/info';
  
056970d8   Key   feat: api
25
26
27
    /// 发送验证码
    static const String sendSmsCode = 'system/send/code';
  
4b2c2f07   Key   feat: 三种修改密码的类型及接口
28
29
30
31
    /// 初始化密码
    static const String initPassword = 'student/init/password';
  
    /// 修改密码
da82bd70   Key   feat: user_inform...
32
    static const String changePassword = 'student/change/password';
4b2c2f07   Key   feat: 三种修改密码的类型及接口
33
34
35
36
  
    /// 忘记密码
    static const String resetPassword = 'student/change/password';
  
da82bd70   Key   feat: user_inform...
37
38
39
    /// 校验验证码,用于修改密码或忘记密码,验证码有效期2分钟
    static const String checkSmsCode = 'student/check/code';
  
056970d8   Key   feat: api
40
41
42
43
44
45
46
47
48
    /// 课程模块
    //  GET /home/courseModule
    //  接口地址:https://app.apifox.com/link/project/2684751/apis/api-89897663
    static const String courseModule = 'home/courseModule';
  
    /// 课程列表
    //  GET /home/courseLesson
    //  接口地址:https://app.apifox.com/link/project/2684751/apis/api-89897662
    static const String courseLesson = 'home/courseLesson';
993c1a04   liangchengyou   feat:添加数据模型
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
  
    /// 磨耳朵
    /// GET
    static const String ears = '/course/grinding/ears';
  
    /// 视频跟读
    /// GET
    static const String followRead = '/course/video/follow/read';
  
    /// 视频跟读内容
    /// GET
    static const String readContent = '/course/video/follow/read/content';
  
    /// 视频跟读提交结果
    /// POST
    static const String followResult = '/course/submit/follow/result';
  
    /// 获取课程内容
    /// GET
    static const String process = '/course/process';
a4d8eaa2   Key   feat: 登录时账户有效性校验
69
70
71
72
  
    /// 首页弹窗
    /// get
    static const String homePopup = 'home/popup';
056970d8   Key   feat: api
73
  }