Blame view

lib/common/request/apis.dart 3.03 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';
  
2c079546   吴启风   feat:应用内更新接口替换
9
10
11
    /// app版本信息
    static const String appVersion = 'system/app/version';
  
c9df43c8   Key   feat: 修改个人信息、接口
12
    /// 登录
056970d8   Key   feat: api
13
14
15
16
17
    static const String login = 'login';
  
    /// 登出
    static const String logout = 'logout';
  
a4d8eaa2   Key   feat: 登录时账户有效性校验
18
    /// 注销账号
210d15e0   Key   fixed: 账户注销接口
19
    static const String deleteAccount = 'student/cancel/account';
a4d8eaa2   Key   feat: 登录时账户有效性校验
20
  
c95453ce   Key   feat: User界面完善
21
    /// 获取用户信息
a4d8eaa2   Key   feat: 登录时账户有效性校验
22
    /// get
c95453ce   Key   feat: User界面完善
23
24
25
26
27
    static const String getUserInfo = 'student/info';
  
    /// 更新用户信息
    static const String setUserInfo = 'student/update/info';
  
056970d8   Key   feat: api
28
29
30
    /// 发送验证码
    static const String sendSmsCode = 'system/send/code';
  
4b2c2f07   Key   feat: 三种修改密码的类型及接口
31
32
33
34
    /// 初始化密码
    static const String initPassword = 'student/init/password';
  
    /// 修改密码
da82bd70   Key   feat: user_inform...
35
    static const String changePassword = 'student/change/password';
4b2c2f07   Key   feat: 三种修改密码的类型及接口
36
37
38
39
  
    /// 忘记密码
    static const String resetPassword = 'student/change/password';
  
da82bd70   Key   feat: user_inform...
40
41
42
    /// 校验验证码,用于修改密码或忘记密码,验证码有效期2分钟
    static const String checkSmsCode = 'student/check/code';
  
056970d8   Key   feat: api
43
44
45
46
47
    /// 课程模块
    //  GET /home/courseModule
    //  接口地址:https://app.apifox.com/link/project/2684751/apis/api-89897663
    static const String courseModule = 'home/courseModule';
  
2a3621f8   吴启风   feat:课程层级调整(增加unit层)
48
49
50
    /// 课程单元列表
    static const String courseUnit = 'home/courseUnit';
  
056970d8   Key   feat: api
51
52
53
54
    /// 课程列表
    //  GET /home/courseLesson
    //  接口地址:https://app.apifox.com/link/project/2684751/apis/api-89897662
    static const String courseLesson = 'home/courseLesson';
993c1a04   liangchengyou   feat:添加数据模型
55
  
2187c85f   吴启风   feat:课程结构调整
56
57
58
    // 课程环节列表
    static const String courseSection = 'course/courseLesson';
  
993c1a04   liangchengyou   feat:添加数据模型
59
60
    /// 磨耳朵
    /// GET
68dd7ba8   liangchengyou   feat:首页主题颜色+已知问题修改
61
    static const String ears = 'course/grinding/ears';
993c1a04   liangchengyou   feat:添加数据模型
62
63
64
  
    /// 视频跟读
    /// GET
68dd7ba8   liangchengyou   feat:首页主题颜色+已知问题修改
65
    static const String followRead = 'course/video/follow/read';
993c1a04   liangchengyou   feat:添加数据模型
66
67
68
  
    /// 视频跟读内容
    /// GET
68dd7ba8   liangchengyou   feat:首页主题颜色+已知问题修改
69
    static const String readContent = 'course/video/follow/read/content';
993c1a04   liangchengyou   feat:添加数据模型
70
71
72
  
    /// 视频跟读提交结果
    /// POST
68dd7ba8   liangchengyou   feat:首页主题颜色+已知问题修改
73
    static const String followResult = 'course/submit/follow/result';
993c1a04   liangchengyou   feat:添加数据模型
74
75
76
  
    /// 获取课程内容
    /// GET
68dd7ba8   liangchengyou   feat:首页主题颜色+已知问题修改
77
    static const String process = 'course/process';
a4d8eaa2   Key   feat: 登录时账户有效性校验
78
79
80
81
  
    /// 首页弹窗
    /// get
    static const String homePopup = 'home/popup';
795acc7e   Key   feat: aliyun oss ...
82
  
15987941   liangchengyou   feat:兑换码接口+本地密码加密
83
    /// 兑换
68dd7ba8   liangchengyou   feat:首页主题颜色+已知问题修改
84
    static const String exchange = 'exchange';
15987941   liangchengyou   feat:兑换码接口+本地密码加密
85
  
795acc7e   Key   feat: aliyun oss ...
86
87
    /// 获取阿里云oss鉴权信息
    static const String aliyunOssSts = 'oss/sts/upload';
934e2b47   liangchengyou   feat:权限调整+课程进度接口对接
88
89
90
91
  
    /// 进入课堂
    static const String enterClass = 'course/enter/class';
  
46675a89   吴启风   feat:过渡页-视频环节
92
    /// 退出课堂(非完整、中断)
934e2b47   liangchengyou   feat:权限调整+课程进度接口对接
93
    static const String exitClass = 'course/exit/class';
07599105   吴启风   feat:商品列表请求&路由
94
  
46675a89   吴启风   feat:过渡页-视频环节
95
96
97
    /// 结束课堂(完整)
    static const String endClass = 'course/end/class';
  
07599105   吴启风   feat:商品列表请求&路由
98
99
    /// 商品列表
    static const String productList = 'order/course/combo/list';
2879454a   吴启风   feat:调通支付宝支付&游戏列表页
100
101
102
103
104
105
106
  
    /// 创建订单
    static const String createOrder = 'order/create/order';
  
    /// 获取阿里支付token
    static const String getAliPayToken = 'pay/alipay/token';
  
ad37b653   吴启风   feat:1、完成微信支付;2、商...
107
108
109
    /// 获取微信支付token
    static const String getWxPayToken = 'pay/wxPay/token';
  
a423aad7   xiaoyu   用户反馈添加字符输入数量显示,添加...
110
111
112
    /// 用户反馈
    static const String feedBack = 'student/feedback';
  
056970d8   Key   feat: api
113
  }