Commit 06a83fbaba74cbd01fd1f7d4e4528c3544efd2f3

Authored by zhangxiaowen
1 parent c5ee057c

no message

CNLiveMineModule/Classes/UserInfo/CNLiveInfoUpdateController.m
... ... @@ -34,6 +34,7 @@
34 34 #import "CNLiveUserInfoNavigationBar.h"
35 35  
36 36 #import "CNLiveInfoUpdateCell.h"
  37 +#import "CNLiveEnvironment.h"
37 38  
38 39 @interface CNLiveInfoUpdateController ()<UITextFieldDelegate,UITextViewDelegate,CNLiveUserInfoNavigationBarDelegate,QMUIAlertControllerDelegate,UIImagePickerControllerDelegate,UINavigationControllerDelegate,TZImagePickerControllerDelegate,UITableViewDelegate,UITableViewDataSource>{
39 40 UIImage *_image;
... ... @@ -415,6 +416,7 @@ static const CGFloat timeValue = 1.5;
415 416 //压缩图片质量
416 417 image = [self reduceImage:image percent:0.5];
417 418 [QMUITips showLoading:@"修改中" inView:self.view];
  419 + NSLog(@"%@",AppId);
418 420  
419 421 [CNLiveUserSystemCenter uploadIconWithUid:CNUserShareModel.uid icon:image compressionQuality:0.99 success:^(id result) {
420 422 [[IMAPlatform sharedInstance].host asyncProfile];
... ...
Example/CNLiveMineModule.xcodeproj/project.pbxproj
... ... @@ -648,7 +648,7 @@
648 648 INFOPLIST_FILE = "CNLiveMineModule/CNLiveMineModule-Info.plist";
649 649 MARKETING_VERSION = 1.0;
650 650 MODULE_NAME = ExampleApp;
651   - PRODUCT_BUNDLE_IDENTIFIER = com.cnlive.CNLiveNetAdd.CNLiveMineModule;
  651 + PRODUCT_BUNDLE_IDENTIFIER = com.cnlive.CNLiveNetAdd;
652 652 PRODUCT_NAME = "我的模块";
653 653 SWIFT_VERSION = 4.0;
654 654 TARGETED_DEVICE_FAMILY = 1;
... ... @@ -669,7 +669,7 @@
669 669 INFOPLIST_FILE = "CNLiveMineModule/CNLiveMineModule-Info.plist";
670 670 MARKETING_VERSION = 1.0;
671 671 MODULE_NAME = ExampleApp;
672   - PRODUCT_BUNDLE_IDENTIFIER = com.cnlive.CNLiveNetAdd.CNLiveMineModule;
  672 + PRODUCT_BUNDLE_IDENTIFIER = com.cnlive.CNLiveNetAdd;
673 673 PRODUCT_NAME = "我的模块";
674 674 SWIFT_VERSION = 4.0;
675 675 TARGETED_DEVICE_FAMILY = 1;
... ...
Example/CNLiveMineModule/CNLIVEAppDelegate.m
... ... @@ -19,8 +19,8 @@
19 19 {
20 20 // Override point for customization after application launch.
21 21 self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
22   - [CNLiveEnvironmentManager setEnvironment:CNLiveDebugAppStore];
23   - [CNLiveUserSystemCenter setAppId:AppId appKey:APPKey appSecret:AppSecret isTestEnvironment:TestEnvironment];
  22 + [CNLiveEnvironmentManager setEnvironment:CNLiveProductionAppStore];
  23 + [CNLiveUserSystemCenter setAppId:AppId appKey:APPKey appSecret:AppSecret isTestEnvironment:NO];
24 24 if ([CNUserShareManager isLogin]) {
25 25 [CNLiveUserSystemCenter setUserId:CNUserShareModel.uid];
26 26 }
... ...