Commit dc7990426aad22e67446ef6d1e37ccf7a55fe64f
1 parent
421a9b5f
提交0.0.30_加入测试环境口判别
Showing
3 changed files
with
8 additions
and
4 deletions
CNLiveServiceCenterModule.podspec
| @@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
| 8 | 8 | ||
| 9 | Pod::Spec.new do |s| | 9 | Pod::Spec.new do |s| |
| 10 | s.name = 'CNLiveServiceCenterModule' | 10 | s.name = 'CNLiveServiceCenterModule' |
| 11 | - s.version = '0.0.29' | 11 | + s.version = '0.0.30' |
| 12 | s.summary = '网家家企业端服务中心模块' | 12 | s.summary = '网家家企业端服务中心模块' |
| 13 | 13 | ||
| 14 | # This description is used to generate tags and improve search results. | 14 | # This description is used to generate tags and improve search results. |
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/View/CNLiveBServiceCenterHeaderView.m
| @@ -642,9 +642,13 @@ | @@ -642,9 +642,13 @@ | ||
| 642 | #pragma mark - ***事件实现*** | 642 | #pragma mark - ***事件实现*** |
| 643 | - (void)tapAction:(UITapGestureRecognizer *)tap { | 643 | - (void)tapAction:(UITapGestureRecognizer *)tap { |
| 644 | 644 | ||
| 645 | - if (self.clickTestViewBlock) { | ||
| 646 | - self.clickTestViewBlock(self); | 645 | + if (TestEnvironment) { |
| 646 | + if (self.clickTestViewBlock) { | ||
| 647 | + self.clickTestViewBlock(self); | ||
| 648 | + } | ||
| 647 | } | 649 | } |
| 650 | + | ||
| 651 | + | ||
| 648 | } | 652 | } |
| 649 | 653 | ||
| 650 | 654 |
Example/CNLiveServiceCenterModule/main.m
| @@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
| 13 | int main(int argc, char * argv[]) | 13 | int main(int argc, char * argv[]) |
| 14 | { | 14 | { |
| 15 | @autoreleasepool { | 15 | @autoreleasepool { |
| 16 | - [CNLiveEnvironmentManager setAppType:CNLiveAppTypeBLive environmentType:CNLiveDebugAppStore];//CNLiveDebugAppStore//CNLiveProductionAppStore//CNLiveTestFlight | 16 | + [CNLiveEnvironmentManager setAppType:CNLiveAppTypeBLive environmentType:CNLiveProductionAppStore];//CNLiveDebugAppStore//CNLiveProductionAppStore//CNLiveTestFlight |
| 17 | 17 | ||
| 18 | 18 | ||
| 19 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([CNLIVEBAppDelegate class])); | 19 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([CNLIVEBAppDelegate class])); |