Commit 04f9bf29a692c68233744523f154cbe52cc4c8e7
1 parent
55f57af4
提交
Showing
3 changed files
with
10 additions
and
4 deletions
CNLiveOrganizationValidationModule/Classes/CNLiveOrganizationValidationModule/Controller/CNLiveBOrganizationValidattionController.m
| @@ -924,9 +924,9 @@ | @@ -924,9 +924,9 @@ | ||
| 924 | return; | 924 | return; |
| 925 | } | 925 | } |
| 926 | 926 | ||
| 927 | - NSString *sid = [NSString stringWithFormat:@"%@",@"10514570"]; | ||
| 928 | - NSString *mobile = [NSString stringWithFormat:@"%@",@"15027621766"]; | ||
| 929 | - NSString *userLogo = [NSString stringWithFormat:@"%@",@"http://yweb0.cnliveimg.com/images/headImg/2019/1211/1576034177571_small.jpg"]; | 927 | + NSString *sid = [NSString stringWithFormat:@"%@",CNUserShareModel.uid]; |
| 928 | + NSString *mobile = [NSString stringWithFormat:@"%@",CNUserShareModel.mobile]; | ||
| 929 | + NSString *userLogo = [NSString stringWithFormat:@"%@",CNUserShareModel.faceUrl]; | ||
| 930 | NSString *company = [NSString stringWithFormat:@"%@",self.companyName ? self.companyName : @""]; | 930 | NSString *company = [NSString stringWithFormat:@"%@",self.companyName ? self.companyName : @""]; |
| 931 | NSString *logo = [NSString stringWithFormat:@"%@",self.logoUrl ? self.logoUrl : @""]; | 931 | NSString *logo = [NSString stringWithFormat:@"%@",self.logoUrl ? self.logoUrl : @""]; |
| 932 | NSString *sname = [NSString stringWithFormat:@"%@",self.companyShortName ? self.companyShortName : @""]; | 932 | NSString *sname = [NSString stringWithFormat:@"%@",self.companyShortName ? self.companyShortName : @""]; |
Example/CNLiveOrganizationValidationModule/CNLIVEBAppDelegate.m
| @@ -65,6 +65,12 @@ static NSString * uuid; | @@ -65,6 +65,12 @@ static NSString * uuid; | ||
| 65 | NSLog(@"打印appkey%@",APPKey); | 65 | NSLog(@"打印appkey%@",APPKey); |
| 66 | [CNLiveNetworking setAllowRequestDefaultArgument:YES]; | 66 | [CNLiveNetworking setAllowRequestDefaultArgument:YES]; |
| 67 | [CNLiveNetworking setResponseSerializerType:CNLiveResponseSerializerJSON]; | 67 | [CNLiveNetworking setResponseSerializerType:CNLiveResponseSerializerJSON]; |
| 68 | + | ||
| 69 | + | ||
| 70 | + CNUserShareModel.faceUrl = @"http://yweb0.cnliveimg.com/images/headImg/2019/1211/1576034177571_small.jpg"; | ||
| 71 | + CNUserShareModel.nickname = @""; | ||
| 72 | + CNUserShareModel.mobile = @"15027621766"; | ||
| 73 | + CNUserShareModel.uid = @"10514575"; | ||
| 68 | 74 | ||
| 69 | } | 75 | } |
| 70 | - (NSString *)appUUIDString | 76 | - (NSString *)appUUIDString |
Example/CNLiveOrganizationValidationModule/CNLIVEBViewController.m
| @@ -59,7 +59,7 @@ | @@ -59,7 +59,7 @@ | ||
| 59 | //URL: https://api.cnlive.com/open/api2/auser/getAccount.action? | 59 | //URL: https://api.cnlive.com/open/api2/auser/getAccount.action? |
| 60 | NSString *strUrl = CNLiveBOrganizationValidattionStatusUrl; | 60 | NSString *strUrl = CNLiveBOrganizationValidattionStatusUrl; |
| 61 | NSDictionary *dict = @{ | 61 | NSDictionary *dict = @{ |
| 62 | - @"sid": [NSString stringWithFormat:@"%@",@"10514575"], | 62 | + @"sid": [NSString stringWithFormat:@"%@",CNUserShareModel.uid], |
| 63 | @"sign":@"" | 63 | @"sign":@"" |
| 64 | }; | 64 | }; |
| 65 | 65 |