Commit 9721fda8e729f96ff7ca9ea54fd83c94f72dc96e

Authored by 朱林
1 parent 4f42dd76

no message

CNLiveUserSystemDemo.xcodeproj/project.pbxproj
... ... @@ -330,6 +330,7 @@
330 330 810D9B7D1D8FCBC200B7A776 /* frameworks */ = {
331 331 isa = PBXGroup;
332 332 children = (
  333 + 817C6EC21D90D60E0016F211 /* ImageIO.framework */,
333 334 810D9B801D8FCD3200B7A776 /* libc++.tbd */,
334 335 810D9B7E1D8FCD1900B7A776 /* libsqlite3.0.tbd */,
335 336 810D9B791D8FB7AC00B7A776 /* libz.tbd */,
... ... @@ -420,7 +421,6 @@
420 421 812642B81D86A7A800B402CA = {
421 422 isa = PBXGroup;
422 423 children = (
423   - 817C6EC21D90D60E0016F211 /* ImageIO.framework */,
424 424 812642C71D86A7A800B402CA /* AppDelegate.h */,
425 425 812642C81D86A7A800B402CA /* AppDelegate.m */,
426 426 810D9B7D1D8FCBC200B7A776 /* frameworks */,
... ... @@ -489,11 +489,10 @@
489 489 812642F71D86A7E500B402CA /* CNLiveUserSystemSDK */ = {
490 490 isa = PBXGroup;
491 491 children = (
492   - 812642FB1D86AFE600B402CA /* CNLiveUserSystemTypeDef.h */,
493   - 8187A8FC1D8E90C5007FAFB6 /* CNLiveUserManager.h */,
494   - 8187A8FD1D8E90C5007FAFB6 /* CNLiveUserManager.m */,
495 492 812642F81D86A83100B402CA /* CNLiveUserSystemCenter.h */,
496 493 812642F91D86A83100B402CA /* CNLiveUserSystemCenter.m */,
  494 + 8187A8FC1D8E90C5007FAFB6 /* CNLiveUserManager.h */,
  495 + 8187A8FD1D8E90C5007FAFB6 /* CNLiveUserManager.m */,
497 496 812540F51D87D9C000F32D66 /* CNLiveRegister.h */,
498 497 812540F61D87D9C000F32D66 /* CNLiveRegister.m */,
499 498 812540DB1D87916400F32D66 /* CNLiveLogin.h */,
... ... @@ -510,6 +509,7 @@
510 509 812540DF1D8792F700F32D66 /* CNLiveUserSystemTools.m */,
511 510 811600FF1D92929A003CAE7D /* NSDictionary+Safety.h */,
512 511 811601001D92929A003CAE7D /* NSDictionary+Safety.m */,
  512 + 812642FB1D86AFE600B402CA /* CNLiveUserSystemTypeDef.h */,
513 513 );
514 514 path = CNLiveUserSystemSDK;
515 515 sourceTree = "<group>";
... ... @@ -921,7 +921,7 @@
921 921 "$(PROJECT_DIR)/CNLiveUserSystemDemo/ThirdSDK/QQSDK",
922 922 "$(PROJECT_DIR)/CNLiveUserSystemDemo/ThirdSDK/SDWebImage",
923 923 );
924   - GCC_PREFIX_HEADER = /Users/android/Desktop/CNLiveUserSystemDemo/CNLiveUserSystemDemo/PrefixHeader.pch;
  924 + GCC_PREFIX_HEADER = /Users/android/Git/CNLiveUserSystem/CNLiveUserSystemDemo/PrefixHeader.pch;
925 925 INFOPLIST_FILE = CNLiveUserSystemDemo/Info.plist;
926 926 IPHONEOS_DEPLOYMENT_TARGET = 10.0;
927 927 LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
... ... @@ -954,7 +954,7 @@
954 954 "$(PROJECT_DIR)/CNLiveUserSystemDemo/ThirdSDK/QQSDK",
955 955 "$(PROJECT_DIR)/CNLiveUserSystemDemo/ThirdSDK/SDWebImage",
956 956 );
957   - GCC_PREFIX_HEADER = /Users/android/Desktop/CNLiveUserSystemDemo/CNLiveUserSystemDemo/PrefixHeader.pch;
  957 + GCC_PREFIX_HEADER = /Users/android/Git/CNLiveUserSystem/CNLiveUserSystemDemo/PrefixHeader.pch;
958 958 INFOPLIST_FILE = CNLiveUserSystemDemo/Info.plist;
959 959 IPHONEOS_DEPLOYMENT_TARGET = 10.0;
960 960 LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
... ...
CNLiveUserSystemDemo.xcodeproj/project.xcworkspace/xcuserdata/iOS.xcuserdatad/UserInterfaceState.xcuserstate
No preview for this file type
CNLiveUserSystemDemo/CNLiveUserSystemSDK/CNLiveUserManager.m
... ... @@ -49,7 +49,7 @@
49 49 NSString *stamp = [NSString stringWithFormat:@"%.3f", [date timeIntervalSince1970]];
50 50 stamp = [stamp stringByReplacingOccurrencesOfString:@"." withString:@""];
51 51  
52   - NSString *vvUrl = [NSString stringWithFormat:@"http://app.sta.cnlive.com/app.js?sver=%@&uid=%@&tm=%@&from=SDK&spid=&appid=%@&version=%@/1005_%@&eventid=1300&uri=&sid=&plat=i&objid=",kSVer,[CNLiveUserSystemTools uidForStat:date],stamp,self.appId,StatAppVersion,StatBundleVersion];
  52 + 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,StatBundleVersion];
53 53  
54 54 [NSURLConnection connectionWithRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:vvUrl]] delegate:nil];
55 55 }
... ... @@ -63,7 +63,7 @@
63 63 NSString *endDate = [NSString stringWithFormat:@"%.3f",[date timeIntervalSinceDate:_startDate]];
64 64 endDate = [endDate stringByReplacingOccurrencesOfString:@"." withString:@""];
65 65  
66   - NSString *vvUrl = [NSString stringWithFormat:@"http://app.sta.cnlive.com/app.js?sver=%@&uid=%@&tm=%@&from=SDK&spid=&appid=%@&version=%@/1005_%@&eventid=1311&uri=%@&sid=&plat=i&objid=",kSVer,[CNLiveUserSystemTools uidForStat:date],stamp,self.appId,StatAppVersion,StatBundleVersion,endDate];
  66 + 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,StatBundleVersion,endDate];
67 67  
68 68 [NSURLConnection connectionWithRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:vvUrl]] delegate:nil];
69 69 }
... ...
CNLiveUserSystemDemo/Conreollers/ViewController.m
... ... @@ -32,7 +32,7 @@
32 32 [self.view addSubview:self.tableView];
33 33 [self.tableView addSubview:self.loginBtn];
34 34  
35   - _dataArr = @[@"通过手机号修改密码",@"更新附加信息",@"修改用户信息",@"查询用户信息"];
  35 + _dataArr = @[@"通过手机号修改密码",@"更新附加信息",@"修改用户信息",@"查询用户信息",@"反馈"];
36 36 }
37 37  
38 38 - (void)viewWillAppear:(BOOL)animated
... ... @@ -168,6 +168,16 @@
168 168 [Tools toast:error.localizedDescription];
169 169 }];
170 170 }
  171 +
  172 + if (indexPath.row == 5) {
  173 +
  174 + [CNLiveUserSystemCenter feedbackWithContentId:@"11" message:@"fhsjhifkncznshfu" success:^(id result) {
  175 + [Tools toast:[NSString stringWithFormat:@"反馈--%@",result[@"errorMessage"]]];
  176 +
  177 + } failure:^(NSError *error) {
  178 + [Tools toast:error.localizedDescription];
  179 + }];
  180 + }
171 181 }
172 182  
173 183 - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
... ...