LoginModule.h 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. //
  2. // LoginModule.h
  3. // XinShouJiaDao
  4. //
  5. // Created by 张嵘 on 2021/7/12.
  6. // Copyright © 2021 JCZ. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #pragma mark - Wechat Api
  10. /// 用户授权码模式登录
  11. #define RQ_GET_Userinfo @"https://api.weixin.qq.com/sns/userinfo"
  12. #define RQ_GET_Refresh_token @"https://api.weixin.qq.com/sns/oauth2/refresh_token"
  13. #pragma mark - RequestPost
  14. /// 学员注册接口
  15. #define RQ_POST_Register @"student/register"
  16. /// 学员注销接口
  17. #define RQ_POST_StudentLogoutUser @"student/logoutUser"
  18. /// get学员
  19. #define RQ_POST_StudentGetUser @"student/getUserInfo"
  20. /// 修改用户密码
  21. #define RQ_POST_UpdatePassword @"student/savePwd"
  22. /// 获取短信验证码
  23. #define RQ_POST_Code @""
  24. /// 根据参数键名查询参数值
  25. #define RQ_GET_Type @"https://jsjp-admin.zzxcx.net/jsjp-admin/open-api/gzpt/userInfo/type"
  26. #define RQ_GET_ConfigKey @"https://jsjp-admin.zzxcx.net/jsjp-admin/open-api/gzpt/userInfo/configKey"
  27. /// 新增答题记录
  28. #define RQ_POST_AddScoreInfo @"/prod-api/student/score/info"
  29. /// 查询答题记录列表
  30. #define RQ_GET_ScoreInfoList @"/prod-api/student/score/info/list"
  31. /// 获取最大成绩,平均成绩,预测成绩
  32. #define RQ_GET_ScoreInfoAll @"/prod-api/student/score/info/getScoreInfoAll"
  33. /// 新增收藏
  34. #define RQ_POST_AddCollection @"/prod-api/student/question/collection"
  35. /// 批量新增收藏
  36. #define RQ_POST_AddCollections @"/prod-api/student/question/collection/collections"
  37. /// 删除收藏
  38. #define RQ_DELETE_Collection @"/prod-api/student/question/collection"
  39. /// 取消收藏
  40. #define RQ_DELETE_Cancle_Collection @"/prod-api/student/question/collection/cancel"
  41. /// 查询收藏列表
  42. #define RQ_GET_CollectionList @"/prod-api/student/question/collection/list"
  43. /// 新增错题
  44. #define RQ_POST_AddWrong @"/prod-api/student/question/wrong"
  45. /// 批量新增错题
  46. #define RQ_POST_AddWrongs @"/prod-api/student/question/wrong/wrongs"
  47. /// 删除错题
  48. #define RQ_DELETE_Wrong @"/prod-api/student/question/wrong"
  49. /// 查询错题列表
  50. #define RQ_GET_WrongList @"/prod-api/student/question/wrong/list"
  51. /// 查询错题列表
  52. #define RQ_GET_WrongList @"/prod-api/student/question/wrong/list"
  53. /// 用户激活码激活
  54. #define RQ_PUT_VIPCode @"/prod-api/student/vip/code"
  55. /// 查询激活码列表
  56. #define RQ_GET_VIPCodeList @"/prod-api/vip/code/list"
  57. /// 查询教学视频分类树形列表
  58. #define RQ_GET_TreeList @"https://zzjs.zzxcx.net/zzjs-admin/open-api/teachingVideo/info/treeList"
  59. /// 根据分类ID查询教学视频
  60. #define RQ_GET_TeachingVideoByTypeId @"https://zzjs.zzxcx.net/zzjs-admin/open-api/teachingVideo/info/getTeachingVideoByTypeId"
  61. /// 查询学车短视频列表
  62. #define RQ_GET_DspList @"https://zzjs.zzxcx.net/zzjs-admin/open-api/teachingDsp/dsp/list"
  63. #pragma mark - Model
  64. #import "RQUserModel.h"
  65. #import "RQHTTPService+RQLogin.h"
  66. #import "RQHTTPService+RQRegister.h"
  67. #import "RQHTTPService+RQGetCode.h"
  68. #import "RQHTTPService+RQUpdatePassword.h"
  69. #import "RQHTTPService+RQVerificationSmsCode.h"
  70. #pragma mark - ViewController
  71. #import "RQHomePageViewController.h"
  72. #import "RQHomeSubPageViewController.h"
  73. #import "RQLoginViewController.h"
  74. #import "NYLoginBindViewController.h"
  75. #pragma mark - ViewModel
  76. /// Controller_ViewModel
  77. #import "RQLoginViewModel.h"
  78. #import "NYLoginBindViewModel.h"
  79. #import "RQLoginBaseViewModel.h"
  80. #import "RQVerificationSmsCodeViewModel.h"
  81. #import "RQUpdatePasswordViewModel.h"
  82. #import "RQRegisterViewModel.h"
  83. #import "NYJsCodeModel.h"
  84. /// View_ViewModel
  85. #pragma mark - View
  86. #import "RQAgreementView.h"