Commit 9d8b3365f119e2d01a5f546a2037eb31c5fff429

Authored by zhangxiaowen
1 parent ffd4ed52

no message

CNLiveMineModule.podspec
@@ -49,6 +49,7 @@ TODO: 网家家-我的模块. @@ -49,6 +49,7 @@ TODO: 网家家-我的模块.
49 s.subspec 'View' do |ss| 49 s.subspec 'View' do |ss|
50 ss.source_files = 'CNLiveMineModule/Classes/View/*.{h,m}' 50 ss.source_files = 'CNLiveMineModule/Classes/View/*.{h,m}'
51 ss.dependency 'CNLiveMineModule/Model' 51 ss.dependency 'CNLiveMineModule/Model'
  52 + ss.dependency 'CNLiveMineModule/UserInfo'
52 end 53 end
53 54
54 # Model 55 # Model
Example/CNLiveMineModule/CNLIVEAppDelegate.m
@@ -20,7 +20,7 @@ @@ -20,7 +20,7 @@
20 // Override point for customization after application launch. 20 // Override point for customization after application launch.
21 self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 21 self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
22 [CNLiveEnvironmentManager setEnvironment:CNLiveProductionAppStore]; 22 [CNLiveEnvironmentManager setEnvironment:CNLiveProductionAppStore];
23 - [CNLiveUserSystemCenter setAppId:AppId appKey:APPKey appSecret:AppSecret isTestEnvironment:NO]; 23 + [CNLiveUserSystemCenter setAppId:AppId appKey:APPKey appSecret:AppSecret isTestEnvironment:TestEnvironment];
24 if ([CNUserShareManager isLogin]) { 24 if ([CNUserShareManager isLogin]) {
25 [CNLiveUserSystemCenter setUserId:CNUserShareModel.uid]; 25 [CNLiveUserSystemCenter setUserId:CNUserShareModel.uid];
26 } 26 }