part of 'request_client.dart'; 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 deleteAccount = 'student/cancel/account'; /// 获取用户信息 /// get static const String getUserInfo = 'student/info'; /// 更新用户信息 static const String setUserInfo = 'student/update/info'; /// 发送验证码 static const String sendSmsCode = 'system/send/code'; /// 初始化密码 static const String initPassword = 'student/init/password'; /// 修改密码 static const String changePassword = 'student/change/password'; /// 忘记密码 static const String resetPassword = 'student/change/password'; /// 校验验证码,用于修改密码或忘记密码,验证码有效期2分钟 static const String checkSmsCode = 'student/check/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'; /// 首页弹窗 /// get static const String homePopup = 'home/popup'; /// 兑换 static const String exchange = 'exchange'; /// 获取阿里云oss鉴权信息 static const String aliyunOssSts = 'oss/sts/upload'; /// 进入课堂 static const String enterClass = 'course/enter/class'; /// 退出课堂 static const String exitClass = 'course/exit/class'; /// 商品列表 static const String productList = 'order/course/combo/list'; /// 创建订单 static const String createOrder = 'order/create/order'; /// 获取阿里支付token static const String getAliPayToken = 'pay/alipay/token'; /// 获取微信支付token static const String getWxPayToken = 'pay/wxPay/token'; }