Commit 099ccbc5e10604407df6f21852907cbf08af1798
1 parent
c1abba68
添加客服判断
Showing
3 changed files
with
23 additions
and
1 deletions
CNLiveNewIMAManagerKit.podspec
CNLiveNewIMAManagerKit/Classes/TIMCategory/IMAConversation+ShowAPIs.m
| ... | ... | @@ -130,6 +130,11 @@ |
| 130 | 130 | { |
| 131 | 131 | return @"网家家餐厅"; |
| 132 | 132 | } |
| 133 | + else if ([recerive isEqualToString:[BHConfig get:@"CNCustomerServiceId"]]) | |
| 134 | + { | |
| 135 | + return @"客服"; | |
| 136 | + } | |
| 137 | + | |
| 133 | 138 | CNUserProfile *obj = [[CNUserProfileFMDBManager manager] searchProfile:recerive]; |
| 134 | 139 | |
| 135 | 140 | if ([recerive isEqualToString:[IMAPlatform sharedInstance].host.userId]) { | ... | ... |
Example/Podfile
| ... | ... | @@ -13,3 +13,20 @@ target 'CNLiveNewIMAManagerKit_Example' do |
| 13 | 13 | |
| 14 | 14 | end |
| 15 | 15 | end |
| 16 | + | |
| 17 | +post_install do |installer| | |
| 18 | + installer.pods_project.targets.each do |target| | |
| 19 | + target.build_configurations.each do |config| | |
| 20 | + config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0' | |
| 21 | + end | |
| 22 | + end | |
| 23 | + | |
| 24 | +# installer.generated_projects.each do |project| | |
| 25 | +# project.targets.each do |target| | |
| 26 | +# target.build_configurations.each do |config| | |
| 27 | +# config.build_settings["DEVELOPMENT_TEAM"] = "94X49GG3ZW" | |
| 28 | +# end | |
| 29 | +# end | |
| 30 | +# end | |
| 31 | + | |
| 32 | +end | ... | ... |