Commit b255cc7fae2df0f43a971a432dc33885bca39f26
1 parent
d25715bd
增加esp加密
Showing
3 changed files
with
72 additions
and
6 deletions
CNLiveBBASMModule.podspec
| ... | ... | @@ -8,7 +8,7 @@ |
| 8 | 8 | |
| 9 | 9 | Pod::Spec.new do |s| |
| 10 | 10 | s.name = 'CNLiveBBASMModule' |
| 11 | - s.version = '0.0.13' | |
| 11 | + s.version = '0.0.14' | |
| 12 | 12 | s.summary = 'CNLive-iOS百度小程序接入' |
| 13 | 13 | |
| 14 | 14 | # This description is used to generate tags and improve search results. |
| ... | ... | @@ -57,6 +57,7 @@ TODO: Add long description of the pod here. |
| 57 | 57 | s.dependency 'CNLiveTencentopenapi' |
| 58 | 58 | #用户管理库 |
| 59 | 59 | s.dependency 'CNLiveUserManagement' |
| 60 | + s.dependency 'CNLiveBusinessTools' | |
| 60 | 61 | end |
| 61 | 62 | |
| 62 | 63 | ... | ... |
CNLiveBBASMModule/Classes/CNLiveBBASMImpl/CNShare/CNBBASMShareImpl.m
| ... | ... | @@ -9,6 +9,7 @@ |
| 9 | 9 | #import "CNBBASMShareImpl.h" |
| 10 | 10 | #import <CNLiveEnvironment/CNLiveEnvironment.h> |
| 11 | 11 | #import "CNBBASMJumpService.h" |
| 12 | +#import <CNLiveBusinessTools/CNLiveEscpTools.h> | |
| 12 | 13 | |
| 13 | 14 | static NSString * const CNShareVideoImplementKeyVideoPath = @"videoPath"; |
| 14 | 15 | static NSString * const CNShareVideoImplementFrameKeyTitle = @"title"; |
| ... | ... | @@ -30,7 +31,7 @@ RegisterBBASMAdapter() |
| 30 | 31 | NSString *path = content[@"linkUrl"]; |
| 31 | 32 | NSDictionary *appInfo = content[@"appInfo"]; |
| 32 | 33 | |
| 33 | - path = [NSString stringWithFormat:@"%@/smartappLandingpage.html?title=%@&content=%@&imageUrl=%@&swanId=%@&type=smartapp",WjjH5_Host,title,sharecontent,iconUrl,[NSString stringWithFormat:@"%@/%@",appInfo[@"appID"],content[@"path"]]]; | |
| 34 | + path = [NSString stringWithFormat:@"%@/smartappLandingpage.html?title=%@&content=%@&imageUrl=%@&swanId=%@&type=smartapp",WjjH5_Host,title,sharecontent,iconUrl,[CNLiveEscpTools esp:[NSString stringWithFormat:@"%@/%@",appInfo[@"appID"],content[@"path"]]]]; | |
| 34 | 35 | |
| 35 | 36 | |
| 36 | 37 | NSString *mediaType = content[@"mediaType"]; | ... | ... |
Example/Podfile.lock
| ... | ... | @@ -30,9 +30,12 @@ PODS: |
| 30 | 30 | - SSZipArchive |
| 31 | 31 | - UBC (= 5.0.0) |
| 32 | 32 | - YYCache |
| 33 | - - CNLiveBBASMModule (0.0.12): | |
| 33 | + - CNLiveBaseKit (0.1.23): | |
| 34 | + - CNLiveNewTripartiteManagement/MJExtension | |
| 35 | + - CNLiveBBASMModule (0.0.13): | |
| 34 | 36 | - BBAMNPLib |
| 35 | 37 | - CNLiveBeeHive |
| 38 | + - CNLiveBusinessTools | |
| 36 | 39 | - CNLiveEnvironment |
| 37 | 40 | - CNLiveNewTripartiteManagement/AlipaySDK-iOS |
| 38 | 41 | - CNLiveShareToolKit |
| ... | ... | @@ -41,12 +44,26 @@ PODS: |
| 41 | 44 | - SSDKLightLib |
| 42 | 45 | - WechatOpenSDK |
| 43 | 46 | - CNLiveBeeHive (0.1.9) |
| 47 | + - CNLiveBusinessTools (0.1.28): | |
| 48 | + - CNLiveBaseKit | |
| 49 | + - CNLiveEnvironment | |
| 50 | + - CNLiveNewTripartiteManagement/QMUIKit | |
| 51 | + - CNLiveNewTripartiteManagement/YYAsyncLayer | |
| 52 | + - CNLiveNewTripartiteManagement/YYCache | |
| 53 | + - CNLiveNewTripartiteManagement/YYCategories | |
| 54 | + - CNLiveNewTripartiteManagement/YYDispatchQueuePool | |
| 55 | + - CNLiveNewTripartiteManagement/YYImage | |
| 56 | + - CNLiveNewTripartiteManagement/YYModel | |
| 57 | + - CNLiveNewTripartiteManagement/YYText | |
| 58 | + - CNLiveNewTripartiteManagement/YYWebImage | |
| 59 | + - CNLiveRequestBastKit | |
| 60 | + - CNLiveUserManagement | |
| 44 | 61 | - CNLiveCommonCategory (0.5.2): |
| 45 | 62 | - CNLiveCommonCategory/ARC (= 0.5.2) |
| 46 | 63 | - CNLiveCommonCategory/ImageInBundle (= 0.5.2) |
| 47 | 64 | - CNLiveCommonCategory/ARC (0.5.2) |
| 48 | 65 | - CNLiveCommonCategory/ImageInBundle (0.5.2) |
| 49 | - - CNLiveEnvironment (0.3.3) | |
| 66 | + - CNLiveEnvironment (0.3.4) | |
| 50 | 67 | - CNLiveNewTripartiteManagement/AFNetworking (0.2.0.6): |
| 51 | 68 | - AFNetworking (= 4.0.0) |
| 52 | 69 | - CNLiveNewTripartiteManagement/AlipaySDK-iOS (0.2.0.6): |
| ... | ... | @@ -63,6 +80,22 @@ PODS: |
| 63 | 80 | - WechatOpenSDK (= 1.8.7.1) |
| 64 | 81 | - CNLiveNewTripartiteManagement/WeiboSDK (0.2.0.6): |
| 65 | 82 | - Weibo_SDK (= 3.2.7) |
| 83 | + - CNLiveNewTripartiteManagement/YYAsyncLayer (0.2.0.6): | |
| 84 | + - YYAsyncLayer (= 1.0) | |
| 85 | + - CNLiveNewTripartiteManagement/YYCache (0.2.0.6): | |
| 86 | + - YYCache (= 1.0.4) | |
| 87 | + - CNLiveNewTripartiteManagement/YYCategories (0.2.0.6): | |
| 88 | + - YYCategories (= 1.0.4) | |
| 89 | + - CNLiveNewTripartiteManagement/YYDispatchQueuePool (0.2.0.6): | |
| 90 | + - YYDispatchQueuePool (= 1.0) | |
| 91 | + - CNLiveNewTripartiteManagement/YYImage (0.2.0.6): | |
| 92 | + - YYImage (= 1.0.4) | |
| 93 | + - CNLiveNewTripartiteManagement/YYModel (0.2.0.6): | |
| 94 | + - YYModel (= 1.0.4) | |
| 95 | + - CNLiveNewTripartiteManagement/YYText (0.2.0.6): | |
| 96 | + - YYText (= 1.0.7) | |
| 97 | + - CNLiveNewTripartiteManagement/YYWebImage (0.2.0.6): | |
| 98 | + - YYWebImage (= 1.0.5) | |
| 66 | 99 | - CNLiveRequestBastKit (0.2.5.7): |
| 67 | 100 | - AFNetworking |
| 68 | 101 | - CNLiveShareToolKit (0.4.0): |
| ... | ... | @@ -438,7 +471,20 @@ PODS: |
| 438 | 471 | - UBC (5.0.0) |
| 439 | 472 | - WechatOpenSDK (1.8.7.1) |
| 440 | 473 | - Weibo_SDK (3.2.7) |
| 474 | + - YYAsyncLayer (1.0) | |
| 441 | 475 | - YYCache (1.0.4) |
| 476 | + - YYCategories (1.0.4): | |
| 477 | + - YYCategories/no-arc (= 1.0.4) | |
| 478 | + - YYCategories/no-arc (1.0.4) | |
| 479 | + - YYDispatchQueuePool (1.0) | |
| 480 | + - YYImage (1.0.4): | |
| 481 | + - YYImage/Core (= 1.0.4) | |
| 482 | + - YYImage/Core (1.0.4) | |
| 483 | + - YYModel (1.0.4) | |
| 484 | + - YYText (1.0.7) | |
| 485 | + - YYWebImage (1.0.5): | |
| 486 | + - YYCache | |
| 487 | + - YYImage | |
| 442 | 488 | |
| 443 | 489 | DEPENDENCIES: |
| 444 | 490 | - CNLiveBBASMModule (from `../`) |
| ... | ... | @@ -450,7 +496,9 @@ DEPENDENCIES: |
| 450 | 496 | |
| 451 | 497 | SPEC REPOS: |
| 452 | 498 | http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git: |
| 499 | + - CNLiveBaseKit | |
| 453 | 500 | - CNLiveBeeHive |
| 501 | + - CNLiveBusinessTools | |
| 454 | 502 | - CNLiveCommonCategory |
| 455 | 503 | - CNLiveEnvironment |
| 456 | 504 | - CNLiveNewTripartiteManagement |
| ... | ... | @@ -482,7 +530,14 @@ SPEC REPOS: |
| 482 | 530 | - SSZipArchive |
| 483 | 531 | - WechatOpenSDK |
| 484 | 532 | - Weibo_SDK |
| 533 | + - YYAsyncLayer | |
| 485 | 534 | - YYCache |
| 535 | + - YYCategories | |
| 536 | + - YYDispatchQueuePool | |
| 537 | + - YYImage | |
| 538 | + - YYModel | |
| 539 | + - YYText | |
| 540 | + - YYWebImage | |
| 486 | 541 | |
| 487 | 542 | EXTERNAL SOURCES: |
| 488 | 543 | CNLiveBBASMModule: |
| ... | ... | @@ -492,10 +547,12 @@ SPEC CHECKSUMS: |
| 492 | 547 | AFNetworking: d9fdf484a3c723ec3c558a41cc5754c7e845ee77 |
| 493 | 548 | AlipaySDK-iOS: 8659cdb4403de7e5f26ad8b699864a9cbe53384c |
| 494 | 549 | BBAMNPLib: 26e7e4a046d98755ef467a9f3fd8f5ff4fa5cef9 |
| 495 | - CNLiveBBASMModule: 7bdd36991424697b37f8a092a37c5d5262999cb5 | |
| 550 | + CNLiveBaseKit: 44e5fc573cbca78a86b704cf77c886ef53889807 | |
| 551 | + CNLiveBBASMModule: 0c69d6a52b4524b430d21c7e607a76736d07021f | |
| 496 | 552 | CNLiveBeeHive: 1e105b15b6ccaad546258fcf91231563beb853d4 |
| 553 | + CNLiveBusinessTools: 5e65e6ca66088a2be577bf9f5f579ff7dcd74787 | |
| 497 | 554 | CNLiveCommonCategory: 22c9842b31f2087803ae69e983b2c944fb80eae1 |
| 498 | - CNLiveEnvironment: 6af0a2f332b704ffdec67106b4ba044c7f8da371 | |
| 555 | + CNLiveEnvironment: 48ba0f934399fd25fc54dc3239009754bcc1ddb3 | |
| 499 | 556 | CNLiveNewTripartiteManagement: 29ddb2d23ee77bcd42ba5eaf5f1322ed37db5baa |
| 500 | 557 | CNLiveRequestBastKit: 9fe28913b94a0a072298eba3356f17b98ef0b6cd |
| 501 | 558 | CNLiveShareToolKit: 580f19c7e5121b57730bff09b228890900d13198 |
| ... | ... | @@ -520,7 +577,14 @@ SPEC CHECKSUMS: |
| 520 | 577 | UBC: 83c7c10bd28e7b4679b342fed92fdfa163748a86 |
| 521 | 578 | WechatOpenSDK: 6a4d1436c15b3b5fe2a0bd383f3046010186da44 |
| 522 | 579 | Weibo_SDK: 5a4d08f7e1fedbb635435e4585c8c0439c7da089 |
| 580 | + YYAsyncLayer: df6b01ebc695c5f6b4c15dd5c23fa3e081eb25c0 | |
| 523 | 581 | YYCache: 8105b6638f5e849296c71f331ff83891a4942952 |
| 582 | + YYCategories: 6bcd4314c6661a561410dce4a793379ebd306abd | |
| 583 | + YYDispatchQueuePool: 3dfb2274bcc74207688dde8ac6f7bdd46871dd7b | |
| 584 | + YYImage: 1e1b62a9997399593e4b9c4ecfbbabbf1d3f3b54 | |
| 585 | + YYModel: 2a7fdd96aaa4b86a824e26d0c517de8928c04b30 | |
| 586 | + YYText: 5c461d709e24d55a182d1441c41dc639a18a4849 | |
| 587 | + YYWebImage: 5f7f36aee2ae293f016d418c7d6ba05c4863e928 | |
| 524 | 588 | |
| 525 | 589 | PODFILE CHECKSUM: e374a9d58690aca136da7013d46a36df8f29a9ab |
| 526 | 590 | ... | ... |