123456789101112131415161718192021222324252627282930 |
- //
- // RQYDTKCQuestionModule.h
- // jiaPei
- //
- // Created by 张嵘 on 2022/4/6.
- // Copyright © 2022 JCZ. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import "RQExerciseModule.h"
- #define RQ_YDT_KC_Question_Module [RQYDTKCQuestionModule sharedInstance]
- NS_ASSUME_NONNULL_BEGIN
- @interface RQYDTKCQuestionModule : NSObject
- /// 单例
- + (instancetype) sharedInstance;
- - (void)initDatabaseQueueWithResourcePath:(NSString *)resourcePath;
- - (NSInteger)getQuestionVersion;
- - (NSArray *)getQuestionWithSubject:(RQHomePageSubjectType)subject exerciseType:(RQExerciseType)exerciseType;
- - (NSArray *)getQuestionWithSubject:(RQHomePageSubjectType)subject exerciseType:(RQExerciseType)exerciseType isNeedMediaData:(BOOL)isNeedMediaData;
- - (NSArray *)getChapter;
- - (NSArray *)getChapterQuestionWithChapterName:(NSString *)chapterName;
- - (NSArray *)getPoint;
- - (NSArray *)getPointQuestionWithPointId:(NSInteger)pointId;
- - (BOOL)isNewRuleQuestionWithQuestionId:(NSInteger)questionId;
- - (NSData *)getMediaDataWithMediaName:(NSString *)mediaName;
- - (NSInteger)getQuestionNumWithWithSubject:(RQHomePageSubjectType)subject exerciseType:(RQExerciseType)exerciseType;
- @end
- NS_ASSUME_NONNULL_END
|