Commit 9376a509338bdd3de1fcebab10652029c60c92d1
1 parent
b36fd8d8
同上
Showing
1 changed file
with
1 additions
and
1 deletions
CNLiveCServiceModule/Classes/Manager/CNLiveCServiceManagerBridge.m
| @@ -31,7 +31,7 @@ | @@ -31,7 +31,7 @@ | ||
| 31 | 31 | ||
| 32 | + (void)jumpServiceController:(NSString *)serviceId showAgreement:(nonnull NSString *)showAgreement agreementDesc:(nonnull NSString *)agreementDesc type:(NSString *)type to:(NSString *)to shopType:(NSString *)shopType controller:(UIViewController *)controller | 32 | + (void)jumpServiceController:(NSString *)serviceId showAgreement:(nonnull NSString *)showAgreement agreementDesc:(nonnull NSString *)agreementDesc type:(NSString *)type to:(NSString *)to shopType:(NSString *)shopType controller:(UIViewController *)controller |
| 33 | { | 33 | { |
| 34 | - if ([type isEqualToString:@"104"] && ![[NSUserDefaults standardUserDefaults] boolForKey:[NSString stringWithFormat:@"%@_%@",CNUserShareModelUid,serviceId]] && showAgreement.boolValue) { | 34 | + if (![[NSUserDefaults standardUserDefaults] boolForKey:[NSString stringWithFormat:@"%@_%@",CNUserShareModelUid,serviceId]] && showAgreement.boolValue) { |
| 35 | [CNLiveAlertTipView showTipsInViewDesc:agreementDesc sureBlock:^(BOOL neverShow) { | 35 | [CNLiveAlertTipView showTipsInViewDesc:agreementDesc sureBlock:^(BOOL neverShow) { |
| 36 | [[NSUserDefaults standardUserDefaults] setBool:neverShow forKey:[NSString stringWithFormat:@"%@_%@",CNUserShareModelUid,serviceId]]; | 36 | [[NSUserDefaults standardUserDefaults] setBool:neverShow forKey:[NSString stringWithFormat:@"%@_%@",CNUserShareModelUid,serviceId]]; |
| 37 | [CNLiveServicePresent usedServiceWithServingId:serviceId]; | 37 | [CNLiveServicePresent usedServiceWithServingId:serviceId]; |