apis.dart
1.39 KB
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
42
43
44
45
46
47
48
49
50
51
class Apis {
/// app初始化配置信息
// GET /system/app/config
// 接口地址:https://app.apifox.com/link/project/2684751/apis/api-89897678
static const String appConfig = 'system/app/config';
/// 登陆
static const String login = 'login';
/// 登出
static const String logout = 'logout';
/// 获取用户信息
static const String getUserInfo = 'student/info';
/// 更新用户信息
static const String setUserInfo = 'student/update/info';
/// 发送验证码
static const String sendSmsCode = 'system/send/code';
/// 课程模块
// 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';
/// 磨耳朵
/// 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';
}