Commit f8bf18410793833a5860c8d10f32e56755c5fc96

Authored by zhangxiaowen
1 parent 0d5cb74d

no message

CNLiveIntegralModule/Classes/Module/CNLiveIntegralService.m
@@ -70,9 +70,12 @@ @@ -70,9 +70,12 @@
70 } 70 }
71 71
72 // 视图 72 // 视图
  73 +// 默认展示添加积分视图
73 - (void)showAddScoreViewWithDesc:(NSString *)desc score:(NSString *)score{ 74 - (void)showAddScoreViewWithDesc:(NSString *)desc score:(NSString *)score{
74 [CNLiveAddScoreView showWithDesc:desc score:score]; 75 [CNLiveAddScoreView showWithDesc:desc score:score];
75 } 76 }
  77 +
  78 +// 游客模式浏览加积分
76 - (void)showAddScoreViewWithDesc:(NSString *)desc score:(NSString *)score delegate:(id<CNLiveAddScoreViewDelegate>)delegate{ 79 - (void)showAddScoreViewWithDesc:(NSString *)desc score:(NSString *)score delegate:(id<CNLiveAddScoreViewDelegate>)delegate{
77 [CNLiveAddScoreView showWithDesc:desc score:score delegate:delegate]; 80 [CNLiveAddScoreView showWithDesc:desc score:score delegate:delegate];
78 } 81 }
@@ -87,7 +90,6 @@ @@ -87,7 +90,6 @@
87 [CNLiveGoldWhereaboutsView showWithModel:model]; 90 [CNLiveGoldWhereaboutsView showWithModel:model];
88 91
89 } 92 }
90 -  
91 - (void)showGoldWhereaboutsViewWithDic:(NSDictionary *)dic{ 93 - (void)showGoldWhereaboutsViewWithDic:(NSDictionary *)dic{
92 CNLiveScoreModel * model = [CNLiveScoreModel mj_objectWithKeyValues:dic]; 94 CNLiveScoreModel * model = [CNLiveScoreModel mj_objectWithKeyValues:dic];
93 [CNLiveGoldWhereaboutsView showWithModel:model]; 95 [CNLiveGoldWhereaboutsView showWithModel:model];