Commit 8de801cc0d5eae715da367f05f3efeee9f864736
1 parent
2322b65f
no message
Showing
1 changed file
with
1 additions
and
1 deletions
CNLiveUserAgreementManager/Classes/CNUserAgreementManager.m
| ... | ... | @@ -218,7 +218,7 @@ static CNUserAgreementManager *_instance = nil; |
| 218 | 218 | |
| 219 | 219 | + (void)getAgreementH5WithType:(CNGetAgreementH5Type)type success:(SuccessBlock)success failure:(FailureBlock)failure { |
| 220 | 220 | [CNLiveNetworking setAllowRequestDefaultArgument:NO]; |
| 221 | - [CNLiveNetworking requestNetworkWithMethod:CNLiveRequestMethodGET URLString:@"https://wjj.ys1.cnliveimg.com/json/wjj_user_terms.json" Param:@{} CacheType:CNLiveNetworkCacheTypeNetworkOnly CompletionBlock:^(NSURLSessionTask *requestTask, id responseObject, NSError *error) { | |
| 221 | + [CNLiveNetworking requestNetworkWithMethod:CNLiveRequestMethodGET URLString:CNGetAgreementH5Url Param:@{} CacheType:CNLiveNetworkCacheTypeNetworkOnly CompletionBlock:^(NSURLSessionTask *requestTask, id responseObject, NSError *error) { | |
| 222 | 222 | if (error) { |
| 223 | 223 | if (failure) { |
| 224 | 224 | failure(error); | ... | ... |