Commit 03f8a7735e881235c06ccb6d862786c396f8dc01
1 parent
fdd24726
更换电商h5域名 由 https://managemall.cnlive.com/html/mall/1/#/ 都替换成 https://managemal…
…l.cnlive.com/html/mall/kublai/#/
Showing
8 changed files
with
28 additions
and
16 deletions
Podfile
| @@ -140,13 +140,17 @@ target 'metaCode' do | @@ -140,13 +140,17 @@ target 'metaCode' do | ||
| 140 | 140 | ||
| 141 | end | 141 | end |
| 142 | 142 | ||
| 143 | -#解决第三方最低版本过低,Xcode14.3 异常了arc文件 ld: file not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a | ||
| 144 | -#clang: error: linker command failed with exit code 1 (use -v to see invocation) | 143 | + |
| 145 | 144 | ||
| 146 | post_install do |installer| | 145 | post_install do |installer| |
| 147 | installer.pods_project.targets.each do |target| | 146 | installer.pods_project.targets.each do |target| |
| 148 | target.build_configurations.each do |config| | 147 | target.build_configurations.each do |config| |
| 148 | + #解决第三方最低版本过低,Xcode14.3 异常了arc文件 ld: file not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a | ||
| 149 | + #clang: error: linker command failed with exit code 1 (use -v to see invocation) | ||
| 149 | config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0' | 150 | config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0' |
| 151 | + | ||
| 152 | + #强制所有 Pod 生成 dSYM: | ||
| 153 | + config.build_settings['DEBUG_INFORMATION_FORMAT'] = 'dwarf-with-dsym' | ||
| 150 | end | 154 | end |
| 151 | end | 155 | end |
| 152 | end | 156 | end |
metaCode.xcodeproj/project.pbxproj
| @@ -2972,7 +2972,7 @@ | @@ -2972,7 +2972,7 @@ | ||
| 2972 | CODE_SIGN_ENTITLEMENTS = metaCode/metaCode.entitlements; | 2972 | CODE_SIGN_ENTITLEMENTS = metaCode/metaCode.entitlements; |
| 2973 | CODE_SIGN_IDENTITY = "Apple Development"; | 2973 | CODE_SIGN_IDENTITY = "Apple Development"; |
| 2974 | CODE_SIGN_STYLE = Automatic; | 2974 | CODE_SIGN_STYLE = Automatic; |
| 2975 | - CURRENT_PROJECT_VERSION = 1.2.0.25.05.10.13; | 2975 | + CURRENT_PROJECT_VERSION = 1.2.0.25.05.10.14; |
| 2976 | DEBUG_INFORMATION_FORMAT = dwarf; | 2976 | DEBUG_INFORMATION_FORMAT = dwarf; |
| 2977 | DEVELOPMENT_TEAM = 94X49GG3ZW; | 2977 | DEVELOPMENT_TEAM = 94X49GG3ZW; |
| 2978 | ENABLE_BITCODE = NO; | 2978 | ENABLE_BITCODE = NO; |
| @@ -3228,7 +3228,7 @@ | @@ -3228,7 +3228,7 @@ | ||
| 3228 | CODE_SIGN_ENTITLEMENTS = metaCode/metaCode.entitlements; | 3228 | CODE_SIGN_ENTITLEMENTS = metaCode/metaCode.entitlements; |
| 3229 | CODE_SIGN_IDENTITY = "Apple Development"; | 3229 | CODE_SIGN_IDENTITY = "Apple Development"; |
| 3230 | CODE_SIGN_STYLE = Automatic; | 3230 | CODE_SIGN_STYLE = Automatic; |
| 3231 | - CURRENT_PROJECT_VERSION = 1.2.0.25.05.10.13; | 3231 | + CURRENT_PROJECT_VERSION = 1.2.0.25.05.10.14; |
| 3232 | DEVELOPMENT_TEAM = 94X49GG3ZW; | 3232 | DEVELOPMENT_TEAM = 94X49GG3ZW; |
| 3233 | ENABLE_BITCODE = NO; | 3233 | ENABLE_BITCODE = NO; |
| 3234 | ENABLE_MODULE_VERIFIER = NO; | 3234 | ENABLE_MODULE_VERIFIER = NO; |
metaCode/Classes/Main/HuBiLieHomePage/Controller/CNLiveTVHomeViewController.swift
| @@ -200,7 +200,7 @@ class CNLiveTVHomeViewController:CNLiveBaseViewController, UITableViewDataSource | @@ -200,7 +200,7 @@ class CNLiveTVHomeViewController:CNLiveBaseViewController, UITableViewDataSource | ||
| 200 | 200 | ||
| 201 | if homePageStyleListMdl.id == "3337"{ | 201 | if homePageStyleListMdl.id == "3337"{ |
| 202 | //电商搜索页面 | 202 | //电商搜索页面 |
| 203 | - let urlString = "https://managemall.cnlive.com/html/mall/1/#/pages/goods/search/search?uid=\(UserInfoManager.shared.userInfo.uid)&scene=app" | 203 | + let urlString = hubilieDSHost+"pages/goods/search/search?uid=\(UserInfoManager.shared.userInfo.uid)&scene=app" |
| 204 | CNLiveDownSlideTool.pushWebAndVodVCWithContentsMdl(model: kCNDownSlideContentsModelModelProduct , contentId: "" , pid: "" , shareUrl: "" , thirdUrl: urlString , title: "" , s_to: "" ,trailerId: "" , controller: nil, slideModel: nil) | 204 | CNLiveDownSlideTool.pushWebAndVodVCWithContentsMdl(model: kCNDownSlideContentsModelModelProduct , contentId: "" , pid: "" , shareUrl: "" , thirdUrl: urlString , title: "" , s_to: "" ,trailerId: "" , controller: nil, slideModel: nil) |
| 205 | 205 | ||
| 206 | }else { | 206 | }else { |
metaCode/Classes/Main/HuBiLieHomePage/Util/CNLiveDownSlideTool.swift
| @@ -10,6 +10,11 @@ import CNLiveShareToolKit | @@ -10,6 +10,11 @@ import CNLiveShareToolKit | ||
| 10 | 10 | ||
| 11 | typealias downSlideVodResultBlock = (_ vodPlayModel:CNLiveVodPlayModel,_ contentId:String,_ url:String,_ result: CNLiveVodAlbumListBaseModel?,_ status:CNLiveDownSlideResponseType) -> Void | 11 | typealias downSlideVodResultBlock = (_ vodPlayModel:CNLiveVodPlayModel,_ contentId:String,_ url:String,_ result: CNLiveVodAlbumListBaseModel?,_ status:CNLiveDownSlideResponseType) -> Void |
| 12 | 12 | ||
| 13 | +//忽必烈专用电商host | ||
| 14 | +let hubilieDSHost = "https://managemall.cnlive.com/html/mall/kublai/#/" | ||
| 15 | +//网家家电商host | ||
| 16 | +let wjjDSHost = "https://managemall.cnlive.com/html/mall/1/#/" | ||
| 17 | + | ||
| 13 | class CNLiveDownSlideTool:NSObject{ | 18 | class CNLiveDownSlideTool:NSObject{ |
| 14 | 19 | ||
| 15 | class func pushWebVCWithContentsMdl(model:String,contentId:String,pid:String,shareUrl:String,thirdUrl:String,title:String,s_to:String,trailerId:String,controller:UIViewController?,slideModel:CNLiveDownSlideModel?){//contentMdl:CNLiveDownSlideContentsModel | 20 | class func pushWebVCWithContentsMdl(model:String,contentId:String,pid:String,shareUrl:String,thirdUrl:String,title:String,s_to:String,trailerId:String,controller:UIViewController?,slideModel:CNLiveDownSlideModel?){//contentMdl:CNLiveDownSlideContentsModel |
| @@ -208,7 +213,10 @@ class CNLiveDownSlideTool:NSObject{ | @@ -208,7 +213,10 @@ class CNLiveDownSlideTool:NSObject{ | ||
| 208 | if thirdUrl.count > 0 ,thirdUrl != "" ,thirdUrl != "null"{ | 213 | if thirdUrl.count > 0 ,thirdUrl != "" ,thirdUrl != "null"{ |
| 209 | urlString = thirdUrl | 214 | urlString = thirdUrl |
| 210 | }else{ | 215 | }else{ |
| 211 | - urlString = "https://managemall.cnlive.com/html/mall/1/#/pages/main/detail/detail?"+"id=\(contentId)&uid=\(UserInfoManager.shared.userInfo.uid)&scene=app" | 216 | + |
| 217 | + urlString = hubilieDSHost+"pages/main/detail/detail?"+"id=\(contentId)&uid=\(UserInfoManager.shared.userInfo.uid)&scene=app" | ||
| 218 | + //忽必烈专用电商 https://managemall.cnlive.com/html/mall/kublai/#/ | ||
| 219 | +// urlString = "https://managemall.cnlive.com/html/mall/1/#/pages/main/detail/detail?"+"id=\(contentId)&uid=\(UserInfoManager.shared.userInfo.uid)&scene=app" | ||
| 212 | } | 220 | } |
| 213 | let regURL = URL(string: urlString) | 221 | let regURL = URL(string: urlString) |
| 214 | let webVC = CNWebViewController() | 222 | let webVC = CNWebViewController() |
| @@ -268,16 +276,16 @@ class CNLiveDownSlideTool:NSObject{ | @@ -268,16 +276,16 @@ class CNLiveDownSlideTool:NSObject{ | ||
| 268 | var urlString = "" | 276 | var urlString = "" |
| 269 | if type == "1"{ | 277 | if type == "1"{ |
| 270 | //订单 | 278 | //订单 |
| 271 | - urlString = "https://managemall.cnlive.com/html/mall/1/#/pages/orders/orderList/orderList?scene=app&state=\(state)" | 279 | + urlString = hubilieDSHost+"pages/orders/orderList/orderList?scene=app&state=\(state)" |
| 272 | }else if type == "2"{ | 280 | }else if type == "2"{ |
| 273 | //购物车 | 281 | //购物车 |
| 274 | - urlString = "https://managemall.cnlive.com/html/mall/1/#/pages/main/cartList/cartList?scene=app" | 282 | + urlString = hubilieDSHost+"pages/main/cartList/cartList?scene=app" |
| 275 | }else if type == "3"{ | 283 | }else if type == "3"{ |
| 276 | //地址管理 | 284 | //地址管理 |
| 277 | - urlString = "https://managemall.cnlive.com/html/mall/1/#/pages/users/addressList/addressList?scene=app" | 285 | + urlString = hubilieDSHost+"pages/users/addressList/addressList?scene=app" |
| 278 | }else if type == "4"{ | 286 | }else if type == "4"{ |
| 279 | //我的售后 | 287 | //我的售后 |
| 280 | - urlString = "https://managemall.cnlive.com/html/mall/1/#/pages/orders/orderList/orderList?state=6" | 288 | + urlString = hubilieDSHost+"pages/orders/orderList/orderList?state=6" |
| 281 | } | 289 | } |
| 282 | let regURL = URL(string: urlString) | 290 | let regURL = URL(string: urlString) |
| 283 | let webVC = CNWebViewController() | 291 | let webVC = CNWebViewController() |
metaCode/Classes/Main/HuBiLieHomePage/View/Home/Home/CNLiveHomeShopCategoryCell.swift
| @@ -134,7 +134,7 @@ class CNLiveHomeShopCategoryCell:UITableViewCell{ | @@ -134,7 +134,7 @@ class CNLiveHomeShopCategoryCell:UITableViewCell{ | ||
| 134 | let index = imageView.tag-1000 | 134 | let index = imageView.tag-1000 |
| 135 | if let slideModel = self.slideModel?.group[index]{ | 135 | if let slideModel = self.slideModel?.group[index]{ |
| 136 | 136 | ||
| 137 | - let urlString = "https://managemall.cnlive.com/html/mall/1/#/pages/goods/category/category?categoryId=\(slideModel.id)&uid=\(UserInfoManager.shared.userInfo.uid)&scene=app" | 137 | + let urlString = hubilieDSHost+"pages/goods/category/category?categoryId=\(slideModel.id)&uid=\(UserInfoManager.shared.userInfo.uid)&scene=app" |
| 138 | CNLiveDownSlideTool.pushWebAndVodVCWithContentsMdl(model: kCNDownSlideContentsModelModelProduct , contentId: "" , pid: "" , shareUrl: "" , thirdUrl: urlString , title: "" , s_to: "" ,trailerId: "" , controller: nil, slideModel: nil) | 138 | CNLiveDownSlideTool.pushWebAndVodVCWithContentsMdl(model: kCNDownSlideContentsModelModelProduct , contentId: "" , pid: "" , shareUrl: "" , thirdUrl: urlString , title: "" , s_to: "" ,trailerId: "" , controller: nil, slideModel: nil) |
| 139 | 139 | ||
| 140 | 140 |
metaCode/Classes/Main/HuBiLieHomePage/View/Home/Home/CNLiveHomeTwoShopCell.swift
| @@ -195,7 +195,7 @@ class CNLiveHomeTwoShopCell: UITableViewCell { | @@ -195,7 +195,7 @@ class CNLiveHomeTwoShopCell: UITableViewCell { | ||
| 195 | let imageView = ges.view as! UIImageView | 195 | let imageView = ges.view as! UIImageView |
| 196 | let i = imageView.tag-1000 | 196 | let i = imageView.tag-1000 |
| 197 | let contentMdl = (self.slideModel?.contents[i])! | 197 | let contentMdl = (self.slideModel?.contents[i])! |
| 198 | - let urlString = "https://managemall.cnlive.com/html/mall/1/#/pages/main/detail/detail?"+"id=\(contentMdl.contentId)&uid=\(UserInfoManager.shared.userInfo.uid)" | 198 | + let urlString = hubilieDSHost+"pages/main/detail/detail?"+"id=\(contentMdl.contentId)&uid=\(UserInfoManager.shared.userInfo.uid)" |
| 199 | 199 | ||
| 200 | CNLiveDownSlideTool.pushWebAndVodVCWithContentsMdl(model: contentMdl.model , contentId: contentMdl.contentId , pid: contentMdl.pid , shareUrl: contentMdl.shareUrl , thirdUrl: urlString , title: contentMdl.title , s_to: contentMdl.s_to ,trailerId: contentMdl.trailerId , controller: nil, slideModel: nil) | 200 | CNLiveDownSlideTool.pushWebAndVodVCWithContentsMdl(model: contentMdl.model , contentId: contentMdl.contentId , pid: contentMdl.pid , shareUrl: contentMdl.shareUrl , thirdUrl: urlString , title: contentMdl.title , s_to: contentMdl.s_to ,trailerId: contentMdl.trailerId , controller: nil, slideModel: nil) |
| 201 | } | 201 | } |
metaCode/Classes/Main/HuBiLieHomePage/View/VodDetail/CNLiveVodPlayShopCell.swift
| @@ -155,12 +155,12 @@ class CNLiveVodPlayShopCell:UITableViewCell, UICollectionViewDelegate, UICollect | @@ -155,12 +155,12 @@ class CNLiveVodPlayShopCell:UITableViewCell, UICollectionViewDelegate, UICollect | ||
| 155 | if let vodPlayShopModel = self.albumListArr[indexPath.row] as? CNLiveVodPlayShopModel{ | 155 | if let vodPlayShopModel = self.albumListArr[indexPath.row] as? CNLiveVodPlayShopModel{ |
| 156 | //相关推荐的商品 | 156 | //相关推荐的商品 |
| 157 | 157 | ||
| 158 | - let urlString = "https://managemall.cnlive.com/html/mall/1/#/pages/main/detail/detail?"+"id=\(vodPlayShopModel.id)&uid=\(UserInfoManager.shared.userInfo.uid)" | 158 | + let urlString = hubilieDSHost+"pages/main/detail/detail?"+"id=\(vodPlayShopModel.id)&uid=\(UserInfoManager.shared.userInfo.uid)" |
| 159 | 159 | ||
| 160 | CNLiveDownSlideTool.pushWebAndVodVCWithContentsMdl(model: kCNDownSlideContentsModelModelProduct , contentId: "" , pid: "" , shareUrl: "" , thirdUrl: urlString , title: vodPlayShopModel.title , s_to: "" ,trailerId: "" , controller: nil, slideModel: nil) | 160 | CNLiveDownSlideTool.pushWebAndVodVCWithContentsMdl(model: kCNDownSlideContentsModelModelProduct , contentId: "" , pid: "" , shareUrl: "" , thirdUrl: urlString , title: vodPlayShopModel.title , s_to: "" ,trailerId: "" , controller: nil, slideModel: nil) |
| 161 | }else if let albumModel = self.albumListArr[indexPath.row] as? CNLiveAlbumModel{ | 161 | }else if let albumModel = self.albumListArr[indexPath.row] as? CNLiveAlbumModel{ |
| 162 | //默认商品 | 162 | //默认商品 |
| 163 | - let urlString = "https://managemall.cnlive.com/html/mall/1/#/pages/main/detail/detail?"+"id=\(albumModel.contentId)&uid=\(UserInfoManager.shared.userInfo.uid)" | 163 | + let urlString = hubilieDSHost+"pages/main/detail/detail?"+"id=\(albumModel.contentId)&uid=\(UserInfoManager.shared.userInfo.uid)" |
| 164 | 164 | ||
| 165 | CNLiveDownSlideTool.pushWebAndVodVCWithContentsMdl(model: kCNDownSlideContentsModelModelProduct , contentId: "" , pid: "" , shareUrl: "" , thirdUrl: urlString , title: albumModel.title , s_to: "" ,trailerId: "" , controller: nil, slideModel: nil) | 165 | CNLiveDownSlideTool.pushWebAndVodVCWithContentsMdl(model: kCNDownSlideContentsModelModelProduct , contentId: "" , pid: "" , shareUrl: "" , thirdUrl: urlString , title: albumModel.title , s_to: "" ,trailerId: "" , controller: nil, slideModel: nil) |
| 166 | } | 166 | } |
metaCode/Classes/Main/HuBiLieHomePage/View/VodDetail/CNLiveVodShopExpandCell.swift
| @@ -224,12 +224,12 @@ class CNLiveVodShopExpandCell: UITableViewCell { | @@ -224,12 +224,12 @@ class CNLiveVodShopExpandCell: UITableViewCell { | ||
| 224 | let i = imageView.tag-1000 | 224 | let i = imageView.tag-1000 |
| 225 | if self.vodPlayShopModel?.count ?? 0 > 0{ | 225 | if self.vodPlayShopModel?.count ?? 0 > 0{ |
| 226 | let contentMdl = (self.vodPlayShopModel?[i])! | 226 | let contentMdl = (self.vodPlayShopModel?[i])! |
| 227 | - let urlString = "https://managemall.cnlive.com/html/mall/1/#/pages/main/detail/detail?"+"id=\(contentMdl.id)&uid=\(UserInfoManager.shared.userInfo.uid)" | 227 | + let urlString = hubilieDSHost+"pages/main/detail/detail?"+"id=\(contentMdl.id)&uid=\(UserInfoManager.shared.userInfo.uid)" |
| 228 | 228 | ||
| 229 | CNLiveDownSlideTool.pushWebAndVodVCWithContentsMdl(model: kCNDownSlideContentsModelModelProduct , contentId: "" , pid: "" , shareUrl: "" , thirdUrl: urlString , title: contentMdl.title , s_to: "" ,trailerId: "" , controller: nil, slideModel: nil) | 229 | CNLiveDownSlideTool.pushWebAndVodVCWithContentsMdl(model: kCNDownSlideContentsModelModelProduct , contentId: "" , pid: "" , shareUrl: "" , thirdUrl: urlString , title: contentMdl.title , s_to: "" ,trailerId: "" , controller: nil, slideModel: nil) |
| 230 | }else if self.albumModels?.count ?? 0 > 0{ | 230 | }else if self.albumModels?.count ?? 0 > 0{ |
| 231 | let contentMdl = (self.albumModels?[i])! | 231 | let contentMdl = (self.albumModels?[i])! |
| 232 | - let urlString = "https://managemall.cnlive.com/html/mall/1/#/pages/main/detail/detail?"+"id=\(contentMdl.contentId)&uid=\(UserInfoManager.shared.userInfo.uid)" | 232 | + let urlString = hubilieDSHost+"pages/main/detail/detail?"+"id=\(contentMdl.contentId)&uid=\(UserInfoManager.shared.userInfo.uid)" |
| 233 | 233 | ||
| 234 | CNLiveDownSlideTool.pushWebAndVodVCWithContentsMdl(model: kCNDownSlideContentsModelModelProduct , contentId: "" , pid: "" , shareUrl: "" , thirdUrl: urlString , title: contentMdl.title , s_to: "" ,trailerId: "" , controller: nil, slideModel: nil) | 234 | CNLiveDownSlideTool.pushWebAndVodVCWithContentsMdl(model: kCNDownSlideContentsModelModelProduct , contentId: "" , pid: "" , shareUrl: "" , thirdUrl: urlString , title: contentMdl.title , s_to: "" ,trailerId: "" , controller: nil, slideModel: nil) |
| 235 | } | 235 | } |