123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- //
- // RQHTTPService+RQSaveFavQuestion.h
- // jiaPei
- //
- // Created by 张嵘 on 2022/8/18.
- // Copyright © 2022 JCZ. All rights reserved.
- //
- #import "RQHTTPService.h"
- /// 新增题目记录
- #define RQ_POST_SaveFavQuestion @"student/saveFavQuestion"
- #define RQ_POST_SaveFavQuestionNew @"student/saveFavQuestionNew"
- typedef NS_ENUM(NSUInteger, RQSaveFavQuestionType) {
- /// 收藏
- RQSaveFavQuestionType_Collect = 1,
- /// 错题
- RQSaveFavQuestionType_Wrong,
- /// 排除
- RQSaveFavQuestionType_Remove,
- };
- NS_ASSUME_NONNULL_BEGIN
- @interface RQHTTPService (RQSaveFavQuestion)
- /**
- 新增题目记录
- @param questionId 题目ID
- @param type 1是收藏,2是错题,3是排除的题
- @return Returns a signal which will send complete, or error.
- */
- - (RACSignal *)saveFavQuestionWithQuestionId:(NSInteger)questionId type:(RQSaveFavQuestionType)type;
- /**
- 新增题目记录 2025-6-17 批量
- @param qId 收藏
- @param eId 错题
- @return Returns a signal which will send complete, or error.
- */
- - (RACSignal *)saveFavQuestionWithQuestionIdNew:(NSString*)qId eId:(NSString*)eId;
- @end
- NS_ASSUME_NONNULL_END
|