Commit df4f48957ae39edcb8162618e6279461afcc84a1

Authored by zhangxiaowen
1 parent 2dd7eb67

no message

CNLiveServices/Classes/Integral/CNLiveIntegralServiceProtocol.h
@@ -27,16 +27,9 @@ typedef void(^RequestCompleted) (BOOL isSuccess, NSString *desc, NSString *score @@ -27,16 +27,9 @@ typedef void(^RequestCompleted) (BOOL isSuccess, NSString *desc, NSString *score
27 #pragma mark - 任务列表 27 #pragma mark - 任务列表
28 // 任务列表 28 // 任务列表
29 - (UIViewController *)getTaskListViewController; 29 - (UIViewController *)getTaskListViewController;
30 -  
31 - (void)pushToTaskListViewController; 30 - (void)pushToTaskListViewController;
32 - (void)pushToTaskListViewController:(NSString *)isFrom; 31 - (void)pushToTaskListViewController:(NSString *)isFrom;
33 32
34 -#pragma mark - 积分明细  
35 -// 积分明细  
36 -- (UIViewController *)getIntegralDetailsViewController;  
37 -  
38 -- (void)pushToIntegralDetailsViewController;  
39 -  
40 #pragma mark - 增加积分 33 #pragma mark - 增加积分
41 // 请求 34 // 请求
42 //延时调用 35 //延时调用
@@ -50,29 +43,31 @@ typedef void(^RequestCompleted) (BOOL isSuccess, NSString *desc, NSString *score @@ -50,29 +43,31 @@ typedef void(^RequestCompleted) (BOOL isSuccess, NSString *desc, NSString *score
50 //直接调用 43 //直接调用
51 - (void)requestTaskId:(NSString *)taskId contentId:(NSString *)contentId block:(RequestCompleted _Nullable)block; 44 - (void)requestTaskId:(NSString *)taskId contentId:(NSString *)contentId block:(RequestCompleted _Nullable)block;
52 45
53 -- (BOOL)judgeIsAddScoreJson:(NSString *)name taskType:(NSString *)taskType taskId:(NSString *)taskId;  
54 -  
55 -- (BOOL)writeJsonName:(NSString *)name dic:(NSDictionary *)dic;  
56 46
57 // 视图 47 // 视图
58 -+ (void)showAddScoreViewWithDesc:(NSString *)desc score:(NSString *)score;  
59 -+ (void)showAddScoreViewWithDesc:(NSString *)desc login:(NSString *)login delegate:(id<CNLiveAddScoreViewDelegate>)delegate; 48 +// 默认展示添加积分视图
  49 +- (void)showAddScoreViewWithDesc:(NSString *)desc score:(NSString *)score;
  50 +
  51 +// 游客模式浏览加积分
  52 +- (void)showAddScoreViewWithDesc:(NSString *)desc score:(NSString *)score delegate:(id<CNLiveAddScoreViewDelegate>)delegate;
60 53
61 -+ (void)hideAddScoreView; 54 +- (void)hideAddScoreView;
62 55
63 #pragma mark - 金币下落 56 #pragma mark - 金币下落
64 // 游客模式浏览加积分 57 // 游客模式浏览加积分
65 -+ (void)showGoldWhereaboutsViewWithDesc:(NSString *)desc delegate:(id)delegate; 58 +- (void)showGoldWhereaboutsViewWithDesc:(NSString *)desc delegate:(id)delegate;
66 59
67 // 默认展示添加积分视图 60 // 默认展示添加积分视图
68 -+ (void)showGoldWhereaboutsViewWithDesc:(NSString *)desc score:(NSString *)score; 61 +- (void)showGoldWhereaboutsViewWithDesc:(NSString *)desc score:(NSString *)score;
69 62
70 // 默认签到 63 // 默认签到
71 -+ (void)showGoldWhereaboutsViewModel:(CNLiveScoreModel *)model;  
72 -+ (void)hideGoldWhereaboutsView; 64 +- (void)showGoldWhereaboutsViewWithModel:(CNLiveScoreModel *)model;
  65 +- (void)showGoldWhereaboutsViewWithDic:(NSDictionary *)dic;
  66 +
  67 +- (void)hideGoldWhereaboutsView;
73 68
74 #pragma mark - 签到 69 #pragma mark - 签到
75 -+ (void)showSignInView:(NSString *)score scores:(NSString *)scores day:(NSInteger)day url:(NSString *)url; 70 +- (void)showSignInViewWithScore:(NSString *)score scores:(NSString *)scores day:(NSInteger)day url:(NSString *)url;
76 71
77 @end 72 @end
78 73