Blame view

lib/common/request/apis.dart 2.61 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
    /// 注销账号
210d15e0   Key   fixed: 账户注销接口
16
    static const String deleteAccount = 'student/cancel/account';
a4d8eaa2   Key   feat: 登录时账户有效性校验
17
  
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
  
    /// 磨耳朵
    /// GET
68dd7ba8   liangchengyou   feat:首页主题颜色+已知问题修改
52
    static const String ears = 'course/grinding/ears';
993c1a04   liangchengyou   feat:添加数据模型
53
54
55
  
    /// 视频跟读
    /// GET
68dd7ba8   liangchengyou   feat:首页主题颜色+已知问题修改
56
    static const String followRead = 'course/video/follow/read';
993c1a04   liangchengyou   feat:添加数据模型
57
58
59
  
    /// 视频跟读内容
    /// GET
68dd7ba8   liangchengyou   feat:首页主题颜色+已知问题修改
60
    static const String readContent = 'course/video/follow/read/content';
993c1a04   liangchengyou   feat:添加数据模型
61
62
63
  
    /// 视频跟读提交结果
    /// POST
68dd7ba8   liangchengyou   feat:首页主题颜色+已知问题修改
64
    static const String followResult = 'course/submit/follow/result';
993c1a04   liangchengyou   feat:添加数据模型
65
66
67
  
    /// 获取课程内容
    /// GET
68dd7ba8   liangchengyou   feat:首页主题颜色+已知问题修改
68
    static const String process = 'course/process';
a4d8eaa2   Key   feat: 登录时账户有效性校验
69
70
71
72
  
    /// 首页弹窗
    /// get
    static const String homePopup = 'home/popup';
795acc7e   Key   feat: aliyun oss ...
73
  
15987941   liangchengyou   feat:兑换码接口+本地密码加密
74
    /// 兑换
68dd7ba8   liangchengyou   feat:首页主题颜色+已知问题修改
75
    static const String exchange = 'exchange';
15987941   liangchengyou   feat:兑换码接口+本地密码加密
76
  
795acc7e   Key   feat: aliyun oss ...
77
78
    /// 获取阿里云oss鉴权信息
    static const String aliyunOssSts = 'oss/sts/upload';
934e2b47   liangchengyou   feat:权限调整+课程进度接口对接
79
80
81
82
83
84
  
    /// 进入课堂
    static const String enterClass = 'course/enter/class';
  
    /// 退出课堂
    static const String exitClass = 'course/exit/class';
07599105   吴启风   feat:商品列表请求&路由
85
86
87
  
    /// 商品列表
    static const String productList = 'order/course/combo/list';
2879454a   吴启风   feat:调通支付宝支付&游戏列表页
88
89
90
91
92
93
94
  
    /// 创建订单
    static const String createOrder = 'order/create/order';
  
    /// 获取阿里支付token
    static const String getAliPayToken = 'pay/alipay/token';
  
ad37b653   吴启风   feat:1、完成微信支付;2、商...
95
96
97
    /// 获取微信支付token
    static const String getWxPayToken = 'pay/wxPay/token';
  
056970d8   Key   feat: api
98
  }