Quellcode durchsuchen

广告 CHX 完成up

openlockPPP vor 1 Jahr
Ursprung
Commit
54d41edc2b
24 geänderte Dateien mit 6209 neuen und 5579 gelöschten Zeilen
  1. 9 0
      Podfile
  2. 29 1
      Podfile.lock
  3. 29 1
      Pods/Manifest.lock
  4. 5679 5567
      Pods/Pods.xcodeproj/project.pbxproj
  5. 15 0
      Pods/Pods.xcodeproj/xcuserdata/mimasigeling.xcuserdatad/xcschemes/xcschememanagement.plist
  6. 69 0
      Pods/Target Support Files/Pods-jiaPei/Pods-jiaPei-acknowledgements.markdown
  7. 87 0
      Pods/Target Support Files/Pods-jiaPei/Pods-jiaPei-acknowledgements.plist
  8. 1 0
      Pods/Target Support Files/Pods-jiaPei/Pods-jiaPei.debug.xcconfig
  9. 1 0
      Pods/Target Support Files/Pods-jiaPei/Pods-jiaPei.release.xcconfig
  10. 6 0
      jiaPei.xcodeproj/project.pbxproj
  11. BIN
      jiaPei.xcworkspace/xcuserdata/mimasigeling.xcuserdatad/UserInterfaceState.xcuserstate
  12. 3 1
      jiaPei/APPdelegateModularForRequest.m
  13. 3 0
      jiaPei/Modules/HomePageModule/View/HomePage/RQHomePageTitleView.h
  14. 0 1
      jiaPei/Modules/HomePageModule/View/HomePage/RQHomePageTitleView.m
  15. 32 5
      jiaPei/Modules/HomePageModule/View/HomePage/RQHomePageTitleView.xib
  16. 13 0
      jiaPei/Modules/HomePageModule/ViewController/HomePage/RQHomePageViewController.m
  17. 3 3
      jiaPei/OLD/Util/RQCodeManager/RQQRCodeViewController.m
  18. 29 0
      jiaPei/OLD/Util/SingletonManger/ADViewManager/NYADViewManager.h
  19. 179 0
      jiaPei/OLD/Util/SingletonManger/ADViewManager/NYADViewManager.m
  20. 1 0
      jiaPei/OLD/Util/SingletonManger/ADViewManager/RQADViewManager.h
  21. 4 0
      jiaPei/OLD/Util/SingletonManger/ADViewManager/RQADViewManager.m
  22. 1 0
      jiaPei/PrefixHeader.pch
  23. 2 0
      jiaPei/Utils/Manager/CommonManager/RQCommonManager.h
  24. 14 0
      jiaPei/Utils/Manager/CommonManager/RQCommonManager.m

+ 9 - 0
Podfile

@@ -1,6 +1,8 @@
 # 下面两行是指明依赖库的来源地址
 # CocoaPods官方spec仓库
 source 'https://github.com/CocoaPods/Specs.git'
+# 广告SDK 源
+source 'https://gitee.com/huazi-rongchuang/cxhadsdk-ios-repo.git'
 #	清华源
 #source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git'
 # Private Speces
@@ -91,6 +93,13 @@ target  'jiaPei'  do
     pod 'GKPhotoBrowser'
     pod 'SGQRCode'
     
+    #// 使用https://gitee.com/huazi-rongchuang/cxhadsdk-ios-repo.git源可以快速导入SDK。
+    # 挑选其中需要导入的平台
+    #pod 'CXHAdSDK/GDT'   (gdt 版本冲突)
+    pod 'CXHAdSDK/BWT'
+    pod 'CXHAdSDK/Channel'
+    pod 'CXHAdSDK/RC'
+    
     #pod <友盟+SDK名> 按需复制相应SDK名称代码
     pod 'UMCommon'    #必须集成
     pod 'UMDevice'    #必须集成

+ 29 - 1
Podfile.lock

@@ -141,6 +141,24 @@ PODS:
     - CGXVerticalMenuView-OC/MenuCustom
   - CocoaAsyncSocket (7.6.5)
   - CocoaSecurity (1.2.4)
+  - CXHAdSDK-Adapter (1.2.3):
+    - CXHAdSDK-Kit (= 1.2.3)
+  - CXHAdSDK-Kit (1.2.3)
+  - CXHAdSDK/BWT (1.2.3):
+    - CXHAdSDK-Adapter (= 1.2.3)
+    - CXHAdSDK-Kit (= 1.2.3)
+    - CXHAdSDK/Core
+  - CXHAdSDK/Channel (1.2.3):
+    - CXHAdSDK-Adapter (= 1.2.3)
+    - CXHAdSDK-Kit (= 1.2.3)
+    - CXHAdSDK/Core
+  - CXHAdSDK/Core (1.2.3):
+    - CXHAdSDK-Adapter (= 1.2.3)
+    - CXHAdSDK-Kit (= 1.2.3)
+  - CXHAdSDK/RC (1.2.3):
+    - CXHAdSDK-Adapter (= 1.2.3)
+    - CXHAdSDK-Kit (= 1.2.3)
+    - CXHAdSDK/Core
   - DACircularProgress (2.3.1)
   - DOUAudioStreamer (0.2.16)
   - FBRetainCycleDetector (0.1.4)
@@ -585,6 +603,9 @@ DEPENDENCIES:
   - Bugly
   - CGXVerticalMenuView-OC
   - CocoaSecurity
+  - CXHAdSDK/BWT
+  - CXHAdSDK/Channel
+  - CXHAdSDK/RC
   - DOUAudioStreamer
   - FBRetainCycleDetector
   - FCUUID
@@ -634,6 +655,10 @@ DEPENDENCIES:
   - ZFPlayer/ijkplayer
 
 SPEC REPOS:
+  https://gitee.com/huazi-rongchuang/cxhadsdk-ios-repo.git:
+    - CXHAdSDK
+    - CXHAdSDK-Adapter
+    - CXHAdSDK-Kit
   https://github.com/CocoaPods/Specs.git:
     - Ads-CN
     - ADSuyiKit
@@ -738,6 +763,9 @@ SPEC CHECKSUMS:
   CGXVerticalMenuView-OC: 1f743edca2b085953dd64aaf154d6baa45125c38
   CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
   CocoaSecurity: d288a6f87e0f363823d2cb83e753814a6944f71a
+  CXHAdSDK: 93371c26886927af30f4bff540aaa021acdd4fcb
+  CXHAdSDK-Adapter: ee48a35e5d6d615f813d57d5d278a9e8898e2ba2
+  CXHAdSDK-Kit: 96a1a4364b235ddff6352c8149cf006c921053bc
   DACircularProgress: 4dd437c0fc3da5161cb289e07ac449493d41db71
   DOUAudioStreamer: c503ba2ecb9a54ff7bda0eff66963ad224f3c7dc
   FBRetainCycleDetector: 46f8179bbb1c587deee3ea838a1a3ee02acf5015
@@ -802,6 +830,6 @@ SPEC CHECKSUMS:
   ZFPlayer: 5cf39e8d9f0c2394a014b0db4767b5b5a6bffe13
   ZXSDK: 3ae8f7f2c5d45b4c1def43e14d930495c5f4d424
 
-PODFILE CHECKSUM: da26c854e4df6fe8a4a087bfa8d23a59cba7b829
+PODFILE CHECKSUM: fa793fca4f3d04a798ac050def6755f4fc00d241
 
 COCOAPODS: 1.12.1

+ 29 - 1
Pods/Manifest.lock

@@ -141,6 +141,24 @@ PODS:
     - CGXVerticalMenuView-OC/MenuCustom
   - CocoaAsyncSocket (7.6.5)
   - CocoaSecurity (1.2.4)
+  - CXHAdSDK-Adapter (1.2.3):
+    - CXHAdSDK-Kit (= 1.2.3)
+  - CXHAdSDK-Kit (1.2.3)
+  - CXHAdSDK/BWT (1.2.3):
+    - CXHAdSDK-Adapter (= 1.2.3)
+    - CXHAdSDK-Kit (= 1.2.3)
+    - CXHAdSDK/Core
+  - CXHAdSDK/Channel (1.2.3):
+    - CXHAdSDK-Adapter (= 1.2.3)
+    - CXHAdSDK-Kit (= 1.2.3)
+    - CXHAdSDK/Core
+  - CXHAdSDK/Core (1.2.3):
+    - CXHAdSDK-Adapter (= 1.2.3)
+    - CXHAdSDK-Kit (= 1.2.3)
+  - CXHAdSDK/RC (1.2.3):
+    - CXHAdSDK-Adapter (= 1.2.3)
+    - CXHAdSDK-Kit (= 1.2.3)
+    - CXHAdSDK/Core
   - DACircularProgress (2.3.1)
   - DOUAudioStreamer (0.2.16)
   - FBRetainCycleDetector (0.1.4)
@@ -585,6 +603,9 @@ DEPENDENCIES:
   - Bugly
   - CGXVerticalMenuView-OC
   - CocoaSecurity
+  - CXHAdSDK/BWT
+  - CXHAdSDK/Channel
+  - CXHAdSDK/RC
   - DOUAudioStreamer
   - FBRetainCycleDetector
   - FCUUID
@@ -634,6 +655,10 @@ DEPENDENCIES:
   - ZFPlayer/ijkplayer
 
 SPEC REPOS:
+  https://gitee.com/huazi-rongchuang/cxhadsdk-ios-repo.git:
+    - CXHAdSDK
+    - CXHAdSDK-Adapter
+    - CXHAdSDK-Kit
   https://github.com/CocoaPods/Specs.git:
     - Ads-CN
     - ADSuyiKit
@@ -738,6 +763,9 @@ SPEC CHECKSUMS:
   CGXVerticalMenuView-OC: 1f743edca2b085953dd64aaf154d6baa45125c38
   CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
   CocoaSecurity: d288a6f87e0f363823d2cb83e753814a6944f71a
+  CXHAdSDK: 93371c26886927af30f4bff540aaa021acdd4fcb
+  CXHAdSDK-Adapter: ee48a35e5d6d615f813d57d5d278a9e8898e2ba2
+  CXHAdSDK-Kit: 96a1a4364b235ddff6352c8149cf006c921053bc
   DACircularProgress: 4dd437c0fc3da5161cb289e07ac449493d41db71
   DOUAudioStreamer: c503ba2ecb9a54ff7bda0eff66963ad224f3c7dc
   FBRetainCycleDetector: 46f8179bbb1c587deee3ea838a1a3ee02acf5015
@@ -802,6 +830,6 @@ SPEC CHECKSUMS:
   ZFPlayer: 5cf39e8d9f0c2394a014b0db4767b5b5a6bffe13
   ZXSDK: 3ae8f7f2c5d45b4c1def43e14d930495c5f4d424
 
-PODFILE CHECKSUM: da26c854e4df6fe8a4a087bfa8d23a59cba7b829
+PODFILE CHECKSUM: fa793fca4f3d04a798ac050def6755f4fc00d241
 
 COCOAPODS: 1.12.1

Datei-Diff unterdrückt, da er zu groß ist
+ 5679 - 5567
Pods/Pods.xcodeproj/project.pbxproj


+ 15 - 0
Pods/Pods.xcodeproj/xcuserdata/mimasigeling.xcuserdatad/xcschemes/xcschememanagement.plist

@@ -69,6 +69,21 @@
 			<key>isShown</key>
 			<false/>
 		</dict>
+		<key>CXHAdSDK-Adapter.xcscheme</key>
+		<dict>
+			<key>isShown</key>
+			<false/>
+		</dict>
+		<key>CXHAdSDK-Kit.xcscheme</key>
+		<dict>
+			<key>isShown</key>
+			<false/>
+		</dict>
+		<key>CXHAdSDK.xcscheme</key>
+		<dict>
+			<key>isShown</key>
+			<false/>
+		</dict>
 		<key>CocoaAsyncSocket.xcscheme</key>
 		<dict>
 			<key>isShown</key>

+ 69 - 0
Pods/Target Support Files/Pods-jiaPei/Pods-jiaPei-acknowledgements.markdown

@@ -187,6 +187,75 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.
 
 
+## CXHAdSDK-Adapter
+
+Copyright (c) 2022 华资融创 <10675175+huazi-rongchuang@user.noreply.gitee.com>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+
+## CXHAdSDK-Kit
+
+Copyright (c) 2022 华资融创 <10675175+huazi-rongchuang@user.noreply.gitee.com>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+
+## CXHAdSDK
+
+Copyright (c) 2022 华资融创 <10675175+huazi-rongchuang@user.noreply.gitee.com>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+
 ## CocoaAsyncSocket
 
 Public Domain License

+ 87 - 0
Pods/Target Support Files/Pods-jiaPei/Pods-jiaPei-acknowledgements.plist

@@ -258,6 +258,93 @@ SOFTWARE.
 			<key>Type</key>
 			<string>PSGroupSpecifier</string>
 		</dict>
+		<dict>
+			<key>FooterText</key>
+			<string>Copyright (c) 2022 华资融创 &lt;10675175+huazi-rongchuang@user.noreply.gitee.com&gt;
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+</string>
+			<key>License</key>
+			<string>MIT</string>
+			<key>Title</key>
+			<string>CXHAdSDK-Adapter</string>
+			<key>Type</key>
+			<string>PSGroupSpecifier</string>
+		</dict>
+		<dict>
+			<key>FooterText</key>
+			<string>Copyright (c) 2022 华资融创 &lt;10675175+huazi-rongchuang@user.noreply.gitee.com&gt;
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+</string>
+			<key>License</key>
+			<string>MIT</string>
+			<key>Title</key>
+			<string>CXHAdSDK-Kit</string>
+			<key>Type</key>
+			<string>PSGroupSpecifier</string>
+		</dict>
+		<dict>
+			<key>FooterText</key>
+			<string>Copyright (c) 2022 华资融创 &lt;10675175+huazi-rongchuang@user.noreply.gitee.com&gt;
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+</string>
+			<key>License</key>
+			<string>MIT</string>
+			<key>Title</key>
+			<string>CXHAdSDK</string>
+			<key>Type</key>
+			<string>PSGroupSpecifier</string>
+		</dict>
 		<dict>
 			<key>FooterText</key>
 			<string>Public Domain License

Datei-Diff unterdrückt, da er zu groß ist
+ 1 - 0
Pods/Target Support Files/Pods-jiaPei/Pods-jiaPei.debug.xcconfig


Datei-Diff unterdrückt, da er zu groß ist
+ 1 - 0
Pods/Target Support Files/Pods-jiaPei/Pods-jiaPei.release.xcconfig


+ 6 - 0
jiaPei.xcodeproj/project.pbxproj

@@ -89,6 +89,7 @@
 		900A2DE42A1FA89700395C1F /* RQAppEventModuleManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 900A2DDE2A1FA89700395C1F /* RQAppEventModuleManager.m */; };
 		900A2DE52A1FA89700395C1F /* RQAppEventAnnotation.m in Sources */ = {isa = PBXBuildFile; fileRef = 900A2DE02A1FA89700395C1F /* RQAppEventAnnotation.m */; };
 		900A2DE62A1FA89700395C1F /* RQBaseAppEventModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 900A2DE12A1FA89700395C1F /* RQBaseAppEventModule.m */; };
+		9017E8DA2A6F97DC00571501 /* NYADViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 9017E8D92A6F97DC00571501 /* NYADViewManager.m */; };
 		9043ADB42A56C739005F6F81 /* NYChooseTypeAlertViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9043ADB32A56C739005F6F81 /* NYChooseTypeAlertViewController.m */; };
 		90626F3D2A204BC400C8FA05 /* kt_jq.db in Resources */ = {isa = PBXBuildFile; fileRef = 90626F3C2A204BC300C8FA05 /* kt_jq.db */; };
 		90626F402A20540600C8FA05 /* YNYDTJQQuestionModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 90626F3F2A20540600C8FA05 /* YNYDTJQQuestionModule.m */; };
@@ -1803,6 +1804,8 @@
 		900A2DE02A1FA89700395C1F /* RQAppEventAnnotation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RQAppEventAnnotation.m; sourceTree = "<group>"; };
 		900A2DE12A1FA89700395C1F /* RQBaseAppEventModule.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RQBaseAppEventModule.m; sourceTree = "<group>"; };
 		900A2DE22A1FA89700395C1F /* RQAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RQAppDelegate.h; sourceTree = "<group>"; };
+		9017E8D82A6F97DC00571501 /* NYADViewManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NYADViewManager.h; sourceTree = "<group>"; };
+		9017E8D92A6F97DC00571501 /* NYADViewManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NYADViewManager.m; sourceTree = "<group>"; };
 		9043ADB22A56C739005F6F81 /* NYChooseTypeAlertViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NYChooseTypeAlertViewController.h; sourceTree = "<group>"; };
 		9043ADB32A56C739005F6F81 /* NYChooseTypeAlertViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NYChooseTypeAlertViewController.m; sourceTree = "<group>"; };
 		90626F3C2A204BC300C8FA05 /* kt_jq.db */ = {isa = PBXFileReference; lastKnownFileType = file; path = kt_jq.db; sourceTree = "<group>"; };
@@ -8874,6 +8877,8 @@
 			children = (
 				D00A14A92754A39900793046 /* RQADViewManager.h */,
 				D00A14AA2754A39900793046 /* RQADViewManager.m */,
+				9017E8D82A6F97DC00571501 /* NYADViewManager.h */,
+				9017E8D92A6F97DC00571501 /* NYADViewManager.m */,
 			);
 			path = ADViewManager;
 			sourceTree = "<group>";
@@ -11335,6 +11340,7 @@
 				D09E5D4325E3AA260099E87C /* BDFaceAdjustParamsModel.m in Sources */,
 				D0D1F68D283F84DF0086C6AE /* RQHTTPService+RQAddScoreRecord.m in Sources */,
 				D05CB3DF2763216A006895F3 /* RQHomePageSubjectOneOrFourViewController.m in Sources */,
+				9017E8DA2A6F97DC00571501 /* NYADViewManager.m in Sources */,
 				D0F9E830282659600073A7D1 /* RQAgreementView.m in Sources */,
 				18C45BA21C462DE80017FCFA /* StrongCell.m in Sources */,
 				D074574929272C680050BE10 /* QMChatTileView.m in Sources */,

BIN
jiaPei.xcworkspace/xcuserdata/mimasigeling.xcuserdatad/UserInterfaceState.xcuserstate


+ 3 - 1
jiaPei/APPdelegateModularForRequest.m

@@ -133,7 +133,9 @@ RQAppEventMod(APPdelegateModularForRequest)
         [setArr.rac_sequence.signal subscribeNext:^(RQDictInfoModel *dictInfoModel) {
             if ([dictInfoModel.dictLabel isEqualToString:@"JSJP_APP_AD_OPEN"]) {
                 RQ_COMMON_MANAGER.JSJP_APP_AD_OPEN = [[NSString stringWithFormat:@"%@",dictInfoModel.dictValue] isEqualToString:@"1"]? YES : NO;
-            } else if ([dictInfoModel.dictLabel isEqualToString:@"JSJP_APP_AD_CYCLE"]) {
+            }else if ([dictInfoModel.dictLabel isEqualToString:@"JSJP_APP_JSQ_ICON_OPEN"]) {
+                RQ_COMMON_MANAGER.JSJP_APP_JSQ_ICON_OPEN = [[NSString stringWithFormat:@"%@",dictInfoModel.dictValue] isEqualToString:@"1"]? YES : NO;
+            }else if ([dictInfoModel.dictLabel isEqualToString:@"JSJP_APP_AD_CYCLE"]) {
                 RQ_COMMON_MANAGER.JSJP_APP_AD_CYCLE = [dictInfoModel.dictValue integerValue];
             } else if ([dictInfoModel.dictLabel isEqualToString:@"JSJP_Is_Online_Media_Image"]) {
                 RQ_COMMON_MANAGER.JSJP_Is_Online_Media_Image = [dictInfoModel.dictValue boolValue];

+ 3 - 0
jiaPei/Modules/HomePageModule/View/HomePage/RQHomePageTitleView.h

@@ -12,6 +12,9 @@ NS_ASSUME_NONNULL_BEGIN
 
 @interface RQHomePageTitleView : UIView
 @property (weak, nonatomic) IBOutlet UILabel *carTypeLabel;
+@property (weak, nonatomic) IBOutlet UIView *chadView;
+@property (weak, nonatomic) IBOutlet NSLayoutConstraint *chad_layout_W;
+
 + (instancetype)homePageTitleViewView;
 @end
 

+ 0 - 1
jiaPei/Modules/HomePageModule/View/HomePage/RQHomePageTitleView.m

@@ -20,5 +20,4 @@
     [super awakeFromNib];
 }
 
-
 @end

+ 32 - 5
jiaPei/Modules/HomePageModule/View/HomePage/RQHomePageTitleView.xib

@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
     <device id="retina6_1" orientation="portrait" appearance="light"/>
     <dependencies>
         <deployment identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21678"/>
         <capability name="System colors in document resources" minToolsVersion="11.0"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
@@ -11,22 +11,47 @@
         <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
         <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
         <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="RQHomePageTitleView">
-            <rect key="frame" x="0.0" y="0.0" width="200" height="49"/>
+            <rect key="frame" x="0.0" y="0.0" width="220" height="49"/>
             <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
             <subviews>
                 <stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="wlp-dE-moC">
-                    <rect key="frame" x="31" y="0.0" width="138" height="49"/>
+                    <rect key="frame" x="35" y="0.0" width="150" height="49"/>
                     <subviews>
                         <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="极速驾培" translatesAutoresizingMaskIntoConstraints="NO" id="M6T-Ru-wg6">
                             <rect key="frame" x="0.0" y="16.5" width="80" height="16.5"/>
+                            <constraints>
+                                <constraint firstAttribute="height" constant="16.5" id="CgW-ya-y43"/>
+                                <constraint firstAttribute="width" constant="80" id="rgz-8c-OsH"/>
+                            </constraints>
                         </imageView>
                         <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="y3N-xx-dfu">
                             <rect key="frame" x="88" y="0.0" width="50" height="49"/>
+                            <constraints>
+                                <constraint firstAttribute="height" constant="49" id="5u9-cn-jmO"/>
+                                <constraint firstAttribute="width" relation="greaterThanOrEqual" constant="25" id="hWa-d0-bJn"/>
+                            </constraints>
                             <fontDescription key="fontDescription" type="system" pointSize="14"/>
                             <nil key="textColor"/>
                             <nil key="highlightedColor"/>
                         </label>
+                        <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="cCD-dw-c8Y">
+                            <rect key="frame" x="146" y="0.0" width="4" height="49"/>
+                            <color key="backgroundColor" systemColor="systemBackgroundColor"/>
+                            <constraints>
+                                <constraint firstAttribute="width" constant="4" id="chh-WN-NRD"/>
+                            </constraints>
+                        </view>
                     </subviews>
+                    <constraints>
+                        <constraint firstItem="M6T-Ru-wg6" firstAttribute="centerY" secondItem="wlp-dE-moC" secondAttribute="centerY" id="2ib-JL-WC9"/>
+                        <constraint firstAttribute="trailing" secondItem="cCD-dw-c8Y" secondAttribute="trailing" id="6bx-WO-o4o"/>
+                        <constraint firstItem="M6T-Ru-wg6" firstAttribute="leading" secondItem="wlp-dE-moC" secondAttribute="leading" id="Ctk-0T-1gf"/>
+                        <constraint firstItem="y3N-xx-dfu" firstAttribute="centerY" secondItem="wlp-dE-moC" secondAttribute="centerY" id="L7J-Xb-yyz"/>
+                        <constraint firstAttribute="bottom" secondItem="cCD-dw-c8Y" secondAttribute="bottom" id="PHg-Pp-0dp"/>
+                        <constraint firstItem="y3N-xx-dfu" firstAttribute="leading" secondItem="M6T-Ru-wg6" secondAttribute="trailing" constant="8" symbolic="YES" id="Xcb-R1-Vv3"/>
+                        <constraint firstItem="cCD-dw-c8Y" firstAttribute="leading" secondItem="y3N-xx-dfu" secondAttribute="trailing" constant="8" symbolic="YES" id="wbB-0n-4y4"/>
+                        <constraint firstItem="cCD-dw-c8Y" firstAttribute="top" secondItem="wlp-dE-moC" secondAttribute="top" id="wrW-OP-d1H"/>
+                    </constraints>
                 </stackView>
             </subviews>
             <color key="backgroundColor" systemColor="systemBackgroundColor"/>
@@ -40,8 +65,10 @@
             <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
             <connections>
                 <outlet property="carTypeLabel" destination="y3N-xx-dfu" id="Tys-mF-tM6"/>
+                <outlet property="chadView" destination="cCD-dw-c8Y" id="4wP-aq-dSc"/>
+                <outlet property="chad_layout_W" destination="chh-WN-NRD" id="n49-at-gIQ"/>
             </connections>
-            <point key="canvasLocation" x="139" y="127"/>
+            <point key="canvasLocation" x="137.68115942028987" y="126.89732142857142"/>
         </view>
     </objects>
     <resources>

+ 13 - 0
jiaPei/Modules/HomePageModule/ViewController/HomePage/RQHomePageViewController.m

@@ -137,6 +137,18 @@
     
     self.navigationItem.titleView = self.homePageTitleView;
     self.homePageTitleView.carTypeLabel.text = [RQ_YDTQuestion_Module getCarTypeCNNameWithCarType:RQ_YDTQuestion_Module.carType];
+    if (RQ_COMMON_MANAGER.JSJP_APP_JSQ_ICON_OPEN) {//广告(福袋)-是否开启
+        self.homePageTitleView.chad_layout_W.constant = 25;
+        [self.homePageTitleView layoutIfNeeded];
+        dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
+            [NY_AD_MANAGER loadAdWithPosid:@"50164389" customView:self.homePageTitleView.chadView];
+        });
+    }
+    [self.homePageTitleView mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.size.mas_equalTo(CGSizeMake(RQ_SCREEN_WIDTH / 3.f, RQ_APPLICATION_NAV_BAR_HEIGHT));
+    }];
+    
+    
     //二维码扫描登录网页
     UIBarButtonItem *item = [[UIBarButtonItem alloc] initWithImage:[[UIImage imageNamed:@"erWeiMa.png"] originImageScaleToSize:CGSizeMake(22.5, 22.5)] style:UIBarButtonItemStyleDone target:self action:@selector(clickToScan)];
     item.tintColor = RQ_MAIN_COLOR;
@@ -186,6 +198,7 @@
 //    }];
 }
 
+
 //添加到主窗口
 - (void)addFloatingSuggestView {
     NSInteger SP_COMPLAINT_DQBH = 0;

+ 3 - 3
jiaPei/OLD/Util/RQCodeManager/RQQRCodeViewController.m

@@ -141,10 +141,10 @@
 	if (!_scanCode) {
         _scanCode = [SGScanCode scanCode];
         // 预览视图,必须设置
-        __weak typeof(self) weakSelf = self;
+//        __weak typeof(self) weakSelf = self;
         _scanCode.preview = self.view;
-        _scanCode.delegate = weakSelf;
-        _scanCode.sampleBufferDelegate = weakSelf;
+        _scanCode.delegate = self;
+        _scanCode.sampleBufferDelegate = self;
 	}
 	return _scanCode;
 }

+ 29 - 0
jiaPei/OLD/Util/SingletonManger/ADViewManager/NYADViewManager.h

@@ -0,0 +1,29 @@
+//
+//  NYADViewManager.h
+//  jiaPei
+//
+//  Created by Ning.ge on 2023/7/25.
+//  Copyright © 2023 JCZ. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <CXHAdSDK-Core/CXHAdSDK.h>
+#import <CXHAdSDK-Core/CXHAdSDKServiceAdView.h>
+#import <CXHAdSDK-Kit/CXHUtilsKit.h>
+
+
+NS_ASSUME_NONNULL_BEGIN
+
+#define NY_AD_MANAGER [NYADViewManager sharedManager]
+
+@interface NYADViewManager : NSObject<CXHSDKServiceAdViewDelegate>
+
++ (NYADViewManager *)sharedManager;
+- (void)ny_configureADSuiSDK;
+- (BOOL)isFirstAppLoad;
+- (void)requestAgreePrivacy;
+- (void)loadAdWithPosid:(NSString *)posid customView:( UIView * _Nullable )customView;
+
+@end
+
+NS_ASSUME_NONNULL_END

+ 179 - 0
jiaPei/OLD/Util/SingletonManger/ADViewManager/NYADViewManager.m

@@ -0,0 +1,179 @@
+//
+//  NYADViewManager.m
+//  jiaPei
+//
+//  Created by Ning.ge on 2023/7/25.
+//  Copyright © 2023 JCZ. All rights reserved.
+//
+
+#import "NYADViewManager.h"
+
+static NYADViewManager *admanger = nil;
+static dispatch_once_t onceToken;
+
+@interface NYADViewManager ()
+
+@property (nonatomic, strong) CXHAdSDKServiceAdView *serviceAdView;
+
+@end
+
+@implementation NYADViewManager
+
+#pragma mark - SystemMethod
++ (NYADViewManager *)sharedManager {
+    dispatch_once(&onceToken, ^{
+        admanger = [[self alloc] init];
+    });
+    return admanger;
+}
+
+- (instancetype)init {
+    self = [super init];
+    if (self) {
+        [self initBaseData];
+    }
+    return self;
+}
+
+- (void)dealloc {
+}
+
+
+#pragma mark - PublicMethods
+// 配置广告SDK
+- (void)ny_configureADSuiSDK {
+    if ([NY_AD_MANAGER isFirstAppLoad]) {
+        [NY_AD_MANAGER requestAgreePrivacy];
+    } else {
+        [NY_AD_MANAGER initCXHAdSDK];
+    }
+}
+
+- (void)writeAppLoad {
+    NSUserDefaults *userDefault = [NSUserDefaults standardUserDefaults];
+    [userDefault setObject:@"yes" forKey:@"isCHXFirstLoad"];
+    [userDefault synchronize];
+}
+
+- (BOOL)isFirstAppLoad {
+    NSUserDefaults *userDefault = [NSUserDefaults standardUserDefaults];
+    if ([[userDefault objectForKey:@"isCHXFirstLoad"] isEqualToString:@"yes"]) {
+        return NO;
+    }
+    return YES;
+}
+
+- (void)loadAdWithPosid:(NSString *)posid customView:(UIView *)customView {
+    if (_serviceAdView) {
+        [_serviceAdView removeFromSuperview];
+        _serviceAdView = nil;
+    }
+    
+    CGFloat height = customView.width;
+    CGFloat width = customView.width;
+//    CGFloat viewY = (customView.height-width);
+    // 1 初始化banner视图
+    UIViewController *current_VC = RQControllerHelper.currentViewController;
+    _serviceAdView = [[CXHAdSDKServiceAdView alloc] initWithFrame:CGRectMake(0, 0, width, height)];
+    _serviceAdView.delegate = self;
+    _serviceAdView.controller = current_VC;
+    _serviceAdView.refershTime = 35;
+    _serviceAdView.posId = posid;
+    _serviceAdView.backgroundColor = [UIColor whiteColor];
+    
+    // 2 添加到父视图上
+    _serviceAdView.frame = CGRectMake(0, 0, width, height);
+    _serviceAdView.centerY = customView.centerY;
+    [customView addSubview:_serviceAdView];
+    
+    // 3 加载并显示广告 注意: 请确保banner视图显示在屏幕内的时候,调用load方法
+    [_serviceAdView loadAndShow];
+}
+
+- (void)requestAgreePrivacy {
+    [self writeAppLoad];
+    [self initCXHAdSDK];
+}
+
+#pragma mark - PrivateMethods
+
+- (void)initCXHAdSDK {
+    [CXHAdSDK setLogLevel:CXHSDKLogLevelDebug];
+    NSString *CXHAppid = @"458110";
+    [CXHAdSDK initWithAppId:CXHAppid completionBlock:^(NSError * _Nullable error) {
+        if (error) {
+            NSLog(@"CXH初始化失败:%@", error);
+        }
+    }];
+}
+
+- (void)initBaseData {
+    [[[[[NSNotificationCenter defaultCenter] rac_addObserverForName:UIApplicationDidEnterBackgroundNotification object:nil] map:^id(NSNotification *value) {
+        return value.object;
+    }] distinctUntilChanged] subscribeNext:^(id x) {
+        NSLog(@"%@",@"APP进入后台");
+    }];
+}
+
+#pragma mark - CXHSDKServiceAdViewDelegate
+
+/**
+ 广告获取成功
+ 
+ @param serviceAdView banner实例
+ */
+- (void)CXH_serviceAdViewDidReceived:(CXHAdSDKServiceAdView *)serviceAdView{
+    
+}
+
+/**
+ 广告拉取失败
+ 
+ @param serviceAdView banner实例
+ @param error 错误描述
+ */
+- (void)CXH_serviceAdViewFailToReceived:(CXHAdSDKServiceAdView *)serviceAdView error:(NSError *)error{
+    [_serviceAdView removeFromSuperview];
+    _serviceAdView = nil;
+}
+
+/**
+ 广告点击
+ 
+ @param serviceAdView 广告实例
+ @param loadingPageURL 广告落地页地址,当渠道为bwt,并且customLoadingPage为YES时有值
+ */
+- (void)CXH_serviceAdViewClicked:(CXHAdSDKServiceAdView *)serviceAdView loadingPageURL:(NSString *)loadingPageURL{
+    
+}
+
+/**
+ 广告关闭
+ 
+ @param serviceAdView 广告实例
+ */
+- (void)CXH_serviceAdViewClose:(CXHAdSDKServiceAdView *)serviceAdView{
+    dispatch_async(dispatch_get_main_queue(), ^{
+        _serviceAdView = nil;
+    });
+}
+
+/**
+ 广告展示
+ 
+ @param serviceAdView 广告实例
+ */
+- (void)CXH_serviceAdViewExposure:(CXHAdSDKServiceAdView *)serviceAdView{
+    
+}
+
+/**
+ 关闭落地页
+ 
+ @param serviceAdView 广告实例
+ */
+- (void)CXH_serviceAdViewCloseLandingPage:(CXHAdSDKServiceAdView *)serviceAdView{
+    
+}
+
+@end

+ 1 - 0
jiaPei/OLD/Util/SingletonManger/ADViewManager/RQADViewManager.h

@@ -71,6 +71,7 @@ typedef void(^RQADCloseCompletedBlock)(RQADDoType adDoType);
 - (void)loadAdWithAdType:(RQADType)adType customView:(UIView * _Nullable )customView controller:(UIViewController *)controller cycleSecound:(CGFloat)second;
 - (void)showAdWithAdType:(RQADType)adType;
 - (void)initCloseBlock:(_Nullable RQADCloseCompletedBlock)block;
+- (UIViewController *)getCurrentVC;
 @end
 
 NS_ASSUME_NONNULL_END

+ 4 - 0
jiaPei/OLD/Util/SingletonManger/ADViewManager/RQADViewManager.m

@@ -100,6 +100,7 @@ ADSuyiSDKSplashAdDelegate
     } else {
         [RQ_AD_MANAGER initADSuyiSDK];
     }
+    [NY_AD_MANAGER ny_configureADSuiSDK];
 }
 
 - (void)loadMineSplashAd {
@@ -310,15 +311,18 @@ ADSuyiSDKSplashAdDelegate
                     [[NSOperationQueue mainQueue] addOperationWithBlock:^{
                         [self writeAppLoad];
                         [self initADSuyiSDK];
+                        [NY_AD_MANAGER requestAgreePrivacy];
                     }];
                 }];
             } else {
                 [self writeAppLoad];
                 [self initADSuyiSDK];
+                [NY_AD_MANAGER requestAgreePrivacy];
             }
         } else {
             [self writeAppLoad];
             [self initADSuyiSDK];
+            [NY_AD_MANAGER requestAgreePrivacy];
         }
     } else {
         [self performSelector:@selector(requestAgreePrivacy)

+ 1 - 0
jiaPei/PrefixHeader.pch

@@ -91,6 +91,7 @@
 #import "LocationManager.h"
 #import "CheckBodyManager.h"
 #import "RQADViewManager.h"
+#import "NYADViewManager.h"
 #import "UIFormatter.h"
 #import "RQConstant.h"
 #import "UserInfo.h"

+ 2 - 0
jiaPei/Utils/Manager/CommonManager/RQCommonManager.h

@@ -23,6 +23,8 @@ NS_ASSUME_NONNULL_BEGIN
 @property (nonatomic, readwrite, assign) BOOL JSJP_APP_AD_OPEN;
 @property (nonatomic, readwrite, assign) NSInteger JSJP_APP_AD_CYCLE;
 
+@property (nonatomic, readwrite, assign) BOOL JSJP_APP_JSQ_ICON_OPEN;
+
 @property (nonatomic, readwrite, assign) BOOL JSJP_Is_Online_Media_Image;
 @property (nonatomic, readwrite, assign) BOOL JSJP_Is_Online_Media_Video;
 

+ 14 - 0
jiaPei/Utils/Manager/CommonManager/RQCommonManager.m

@@ -108,11 +108,25 @@
     }
 }
 
+- (BOOL)JSJP_APP_JSQ_ICON_OPEN {
+    id object = [RQ_SHARE_FUNCTION getObjectWithKey:@"JSJP_APP_JSQ_ICON_OPEN"];
+    if (RQObjectIsNil(object)) {
+        return NO;
+    } else {
+        BOOL appadopen = [object boolValue];
+        return appadopen;
+    }
+}
+
 - (void)setJSJP_APP_AD_OPEN:(BOOL)JSJP_APP_AD_OPEN {
     [RQ_SHARE_FUNCTION saveObjectWithObject:[NSNumber numberWithBool:JSJP_APP_AD_OPEN] ForKey:@"JSJP_APP_AD_OPEN"];
 }
 
 
+- (void)setJSJP_APP_JSQ_ICON_OPEN:(BOOL)JSJP_APP_JSQ_ICON_OPEN {
+    [RQ_SHARE_FUNCTION saveObjectWithObject:[NSNumber numberWithBool:JSJP_APP_JSQ_ICON_OPEN] ForKey:@"JSJP_APP_JSQ_ICON_OPEN"];
+}
+
 - (NSInteger)JSJP_APP_AD_CYCLE {
     id object = [RQ_SHARE_FUNCTION getObjectWithKey:@"JSJP_APP_AD_CYCLE"];
     if (RQObjectIsNil(object)) {

Einige Dateien werden nicht angezeigt, da zu viele Dateien in diesem Diff geändert wurden.