apis.dart 1.39 KB
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';
}