12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- //
- // RQQuestionModule.h
- // SDJK
- //
- // Created by 张嵘 on 2022/1/11.
- //
- #import <Foundation/Foundation.h>
- #define RQ_Question_Module [RQQuestionModule sharedInstance]
- typedef NS_ENUM(NSUInteger, RQQuestionUpdateViewType) {
- /// 默认
- RQQuestionUpdateViewType_Default,
- /// 下载中
- RQQuestionUpdateViewType_Request,
- /// 下载结束
- RQQuestionUpdateViewType_Complete,
- /// 题库下载
- RQQuestionUpdateViewType_LibDownload,
- };
- /// 获取题库版本
- #define RQ_GET_VersionList @"student/question/version/list"
- #define RQ_GET_VersionDictList @"open-api/system/dict/data/type/update_db"
- #define RQ_GET_SelectMiQuestionInfoList @"student/question/info/selectMiQuestionInfoList"
- #pragma mark - Vendor
- #pragma mark - Model
- #import "RQHTTPService+SelectTestK14QuestionInfoList.h"
- #import "RQHTTPService+RQGetVersionList.h"
- #import "RQExamRuleModel.h"
- #import "RQHTTPService+RQGetSelectMiQuestionInfoList.h"
- #import "RQExplainModel.h"
- #pragma mark - ViewModel
- #pragma mark - View
- #import "RQUpdateView.h"
- #pragma mark - ViewController
- NS_ASSUME_NONNULL_BEGIN
- @interface RQQuestionModule : NSObject
- @singleton(RQQuestionModule);
- /// 更新题库
- - (void)rq_updateQuestion;
- - (void)rq_showAppUpdateView;
- @end
- NS_ASSUME_NONNULL_END
|