Commit 51afe2c35ec883b97acd62475167fefcf9973824
1 parent
3fa3487c
更新探针
Showing
4 changed files
with
3 additions
and
3 deletions
CNLiveUserSystemDemo/CNLiveUserSystemSDK/CNLiveUserManager.m
| @@ -45,7 +45,7 @@ | @@ -45,7 +45,7 @@ | ||
| 45 | NSString *stamp = [NSString stringWithFormat:@"%.3f", [date timeIntervalSince1970]]; | 45 | NSString *stamp = [NSString stringWithFormat:@"%.3f", [date timeIntervalSince1970]]; |
| 46 | stamp = [stamp stringByReplacingOccurrencesOfString:@"." withString:@""]; | 46 | stamp = [stamp stringByReplacingOccurrencesOfString:@"." withString:@""]; |
| 47 | 47 | ||
| 48 | - NSString *vvUrl = [NSString stringWithFormat:@"http://app.sta.cnlive.com/app.js?sver=%@&uid=%@&tm=%@&from=&spid=&appid=%@&version=1005_%@&eventid=1300&uri=&sid=&plat=i&objid=",kSVer,[CNLiveUserSystemTools uidForStat:date],stamp,self.appId,SDKVersion]; | 48 | + NSString *vvUrl = [NSString stringWithFormat:@"http://app.sta.cnlive.com/app.js?sver=%@&uid=%@&tm=%@&from=&spid=&appid=%@&version=1005_%@&eventid=1300&uri=&sid=&plat=i_%@&objid=",kSVer,[CNLiveUserSystemTools uidForStat:date],stamp,self.appId,SDKVersion, StatAppVersion]; |
| 49 | 49 | ||
| 50 | [NSURLConnection connectionWithRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:vvUrl]] delegate:nil]; | 50 | [NSURLConnection connectionWithRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:vvUrl]] delegate:nil]; |
| 51 | } | 51 | } |
| @@ -59,7 +59,7 @@ | @@ -59,7 +59,7 @@ | ||
| 59 | NSString *endDate = [NSString stringWithFormat:@"%.3f",[date timeIntervalSinceDate:_startDate]]; | 59 | NSString *endDate = [NSString stringWithFormat:@"%.3f",[date timeIntervalSinceDate:_startDate]]; |
| 60 | endDate = [endDate stringByReplacingOccurrencesOfString:@"." withString:@""]; | 60 | endDate = [endDate stringByReplacingOccurrencesOfString:@"." withString:@""]; |
| 61 | 61 | ||
| 62 | - NSString *vvUrl = [NSString stringWithFormat:@"http://app.sta.cnlive.com/app.js?sver=%@&uid=%@&tm=%@&from=&spid=&appid=%@&version=1005_%@&eventid=1311&uri=%@&sid=&plat=i&objid=",kSVer,[CNLiveUserSystemTools uidForStat:date],stamp,self.appId,SDKVersion,endDate]; | 62 | + NSString *vvUrl = [NSString stringWithFormat:@"http://app.sta.cnlive.com/app.js?sver=%@&uid=%@&tm=%@&from=&spid=&appid=%@&version=1005_%@&eventid=1311&uri=%@&sid=&plat=i_%@&objid=",kSVer,[CNLiveUserSystemTools uidForStat:date],stamp,self.appId,SDKVersion,endDate,StatAppVersion]; |
| 63 | 63 | ||
| 64 | [NSURLConnection connectionWithRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:vvUrl]] delegate:nil]; | 64 | [NSURLConnection connectionWithRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:vvUrl]] delegate:nil]; |
| 65 | } | 65 | } |
CNLiveUserSystemDemo/CNLiveUserSystemSDK/CNLiveUserSystemTools.m
| @@ -110,7 +110,7 @@ | @@ -110,7 +110,7 @@ | ||
| 110 | NSDate *date = [NSDate date]; | 110 | NSDate *date = [NSDate date]; |
| 111 | NSString *stamp = [NSString stringWithFormat:@"%.3f", [date timeIntervalSince1970]]; | 111 | NSString *stamp = [NSString stringWithFormat:@"%.3f", [date timeIntervalSince1970]]; |
| 112 | stamp = [stamp stringByReplacingOccurrencesOfString:@"." withString:@""]; | 112 | stamp = [stamp stringByReplacingOccurrencesOfString:@"." withString:@""]; |
| 113 | - NSString *vvUrl = [NSString stringWithFormat:@"http://app.sta.cnlive.com/app.js?sver=%@&uid=%@&tm=%@&from=&spid=&appid=%@&version=1005_%@&eventid=1000&uri=%@&sid=%@&plat=i&objid=_", kSVer, [self uidForStat:date], stamp, [CNLiveUserManager manager].appId, SDKVersion, errorString,[self getSid]]; | 113 | + NSString *vvUrl = [NSString stringWithFormat:@"http://app.sta.cnlive.com/app.js?sver=%@&uid=%@&tm=%@&from=&spid=&appid=%@&version=1005_%@&eventid=1000&uri=%@&sid=%@&plat=i_%@&objid=_", kSVer, [self uidForStat:date], stamp, [CNLiveUserManager manager].appId, SDKVersion, errorString,[self getSid],StatAppVersion]; |
| 114 | [NSURLConnection connectionWithRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:vvUrl]] delegate:nil]; | 114 | [NSURLConnection connectionWithRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:vvUrl]] delegate:nil]; |
| 115 | } | 115 | } |
| 116 | 116 |
Products/CNLiveUserSystemSDK.framework/CNLiveUserSystemSDK
No preview for this file type
Products/CNLiveUserSystemSDK.framework/Info.plist
No preview for this file type