Commit 07179ac5bc14949f2ad748d098766068f42e9969

Authored by zhangxiaowen
1 parent 8fc5a4c1

no message

CNLiveServices/Classes/CNLiveServices.h
... ... @@ -39,5 +39,8 @@
39 39 // 二维码
40 40 #import "CNLiveQrCodeServiceProtocol.h"
41 41  
  42 +#pragma mark - 积分
  43 +// 积分
  44 +#import "CNLiveIntegralServiceProtocol.h"
42 45  
43 46 #endif /* CNLiveServices_h */
... ...
CNLiveServices/Classes/Integral/CNLiveIntegralServiceProtocol.h
... ... @@ -10,6 +10,30 @@
10 10 #import <UIKit/UIKit.h>
11 11 #import "BHServiceProtocol.h"
12 12  
  13 +#pragma mark - Block
  14 +typedef void(^RequestCompleted) (BOOL isSuccess, NSString *desc, NSString *score);
  15 +
  16 +#pragma mark - 协议
  17 +// 增加积分
  18 +@protocol CNLiveAddScoreViewDelegate <NSObject>
  19 +@optional
  20 +- (void)login;
  21 +@end
  22 +
  23 +// 金币下落
  24 +@class CNLiveScoreModel;
  25 +@protocol CNLiveGoldWhereaboutsViewDelegate <NSObject>
  26 +@optional
  27 +- (void)login;
  28 +@end
  29 +
  30 +// 签到
  31 +@class CNLiveSignInView;
  32 +@protocol CNLiveSignInViewDelegate <NSObject>
  33 +- (void)clickedrRulesButton:(CNLiveSignInView *)view;
  34 +
  35 +@end
  36 +
13 37 @protocol CNLiveIntegralServiceProtocol <NSObject, BHServiceProtocol>
14 38  
15 39 #pragma mark - 任务列表
... ... @@ -17,6 +41,7 @@
17 41 - (UIViewController *)getTaskListViewController;
18 42  
19 43 - (void)pushToTaskListViewController;
  44 +- (void)pushToTaskListViewController:(NSString *)isFrom;
20 45  
21 46 #pragma mark - 积分明细
22 47 // 积分明细
... ... @@ -56,7 +81,7 @@
56 81  
57 82 // 默认签到
58 83 + (void)showGoldWhereaboutsViewModel:(CNLiveScoreModel *)model controller:(id<CNLiveSignInViewDelegate>)controller;
59   -+ (void)hideGoldWhereaboutsView
  84 ++ (void)hideGoldWhereaboutsView;
60 85  
61 86 #pragma mark - 签到
62 87 + (void)showSignInView:(NSString *)score scores:(NSString *)scores day:(NSInteger)day url:(NSString *)url delegate:(id<CNLiveSignInViewDelegate>)delegate;
... ...