Commit e25ae350fa270fbb81fc482e72c8bfdc6ad9f5df
1 parent
477e795d
no message
Showing
3 changed files
with
5 additions
and
18 deletions
CNLiveUserAgreementManager/Classes/CNUserAgreementInterface.h deleted
100644 → 0
| 1 | -// | |
| 2 | -// CNUserAgreementInterface.h | |
| 3 | -// CNLiveUserAgreementManager | |
| 4 | -// | |
| 5 | -// Created by CNLive-zxw on 2019/4/16. | |
| 6 | -// Copyright © 2019 153993236@qq.com. All rights reserved. | |
| 7 | -// | |
| 8 | - | |
| 9 | -#ifndef CNUserAgreementInterface_h | |
| 10 | -#define CNUserAgreementInterface_h | |
| 11 | -#import "CNEnvironmentHeader.h" | |
| 12 | - | |
| 13 | -static NSString *const CNGetAgreementH5Url = API_Refund@"/json/wjj_user_terms.json"; | |
| 14 | - | |
| 15 | -#endif /* CNUserAgreementInterface_h */ |
CNLiveUserAgreementManager/Classes/CNUserAgreementManager.m
Example/CNLiveUserAgreementManager/CNLiveViewController.m
| ... | ... | @@ -8,7 +8,7 @@ |
| 8 | 8 | |
| 9 | 9 | #import "CNLiveViewController.h" |
| 10 | 10 | #import "CNUserAgreementManager.h" |
| 11 | -#import "CNUserAgreementInterface.h" | |
| 11 | +#import "CNLiveEnvironmentConfiguration.h" | |
| 12 | 12 | |
| 13 | 13 | @interface CNLiveViewController () |
| 14 | 14 | |
| ... | ... | @@ -23,7 +23,9 @@ |
| 23 | 23 | NSLog(@"%@",CNGetAgreementH5Url); |
| 24 | 24 | |
| 25 | 25 | [[CNUserAgreementManager shared] getAgreementH5WithType:CNAgreementUser success:^(NSString * _Nonnull h5, NSString * _Nonnull title) { |
| 26 | - | |
| 26 | + NSLog(@"%@",h5); | |
| 27 | + NSLog(@"%@",title); | |
| 28 | + | |
| 27 | 29 | } failure:^(NSError * _Nonnull error) { |
| 28 | 30 | |
| 29 | 31 | }]; | ... | ... |