From: liangzhenying <867174124@qq.com> Date: Sat, 31 Jan 2026 10:13:41 +0000 (+0800) Subject: playboy完程微信登录调试 X-Git-Tag: 北科AI按钮打断^0 X-Git-Url: http://git.snicker.com.cn/?a=commitdiff_plain;h=6cec594b2097be99a2c6a152870148fb87fe1c52;p=mirrors%2FShenYin.git playboy完程微信登录调试 --- diff --git a/ShenYin/Pods/Kingfisher/PrivacyInfo.xcprivacy b/ShenYin/Pods/Kingfisher/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..6af1641 --- /dev/null +++ b/ShenYin/Pods/Kingfisher/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyTracking + + NSPrivacyCollectedDataTypes + + NSPrivacyTrackingDomains + + NSPrivacyAccessedAPITypes + + + diff --git a/ShenYin/Pods/MBProgressHUD/PrivacyInfo.xcprivacy b/ShenYin/Pods/MBProgressHUD/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..6af1641 --- /dev/null +++ b/ShenYin/Pods/MBProgressHUD/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyTracking + + NSPrivacyCollectedDataTypes + + NSPrivacyTrackingDomains + + NSPrivacyAccessedAPITypes + + + diff --git a/ShenYin/ShenYin.xcodeproj/project.pbxproj b/ShenYin/ShenYin.xcodeproj/project.pbxproj index 0e81cd4..80d4728 100644 --- a/ShenYin/ShenYin.xcodeproj/project.pbxproj +++ b/ShenYin/ShenYin.xcodeproj/project.pbxproj @@ -1617,11 +1617,11 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_ENTITLEMENTS = ShenYin/ShenYin.entitlements; + CODE_SIGN_ENTITLEMENTS = ShenYin/PLAYBOY.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1000; - DEVELOPMENT_TEAM = G23X75CJ67; + DEVELOPMENT_TEAM = JKLJ58J33Q; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "$(PROJECT_DIR)", @@ -1643,6 +1643,7 @@ INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UILaunchStoryboardName = playboy.storyboard; INFOPLIST_KEY_UIMainStoryboardFile = Main; + INFOPLIST_KEY_UIStatusBarStyle = UIStatusBarStyleLightContent; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = UIInterfaceOrientationPortrait; INFOPLIST_KEY_UIUserInterfaceStyle = Light; IPHONEOS_DEPLOYMENT_TARGET = 13.0; @@ -1652,7 +1653,7 @@ ); LIBRARY_SEARCH_PATHS = "$(inherited)"; MARKETING_VERSION = 1.0.0; - PRODUCT_BUNDLE_IDENTIFIER = com.deepchords.playboy; + PRODUCT_BUNDLE_IDENTIFIER = com.ios.playboy; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; @@ -1672,11 +1673,11 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_ENTITLEMENTS = ShenYin/ShenYin.entitlements; + CODE_SIGN_ENTITLEMENTS = ShenYin/PLAYBOY.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1000; - DEVELOPMENT_TEAM = G23X75CJ67; + DEVELOPMENT_TEAM = JKLJ58J33Q; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "$(PROJECT_DIR)", @@ -1698,6 +1699,7 @@ INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UILaunchStoryboardName = playboy.storyboard; INFOPLIST_KEY_UIMainStoryboardFile = Main; + INFOPLIST_KEY_UIStatusBarStyle = UIStatusBarStyleLightContent; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = UIInterfaceOrientationPortrait; INFOPLIST_KEY_UIUserInterfaceStyle = Light; IPHONEOS_DEPLOYMENT_TARGET = 13.0; @@ -1707,7 +1709,7 @@ ); LIBRARY_SEARCH_PATHS = "$(inherited)"; MARKETING_VERSION = 1.0.0; - PRODUCT_BUNDLE_IDENTIFIER = com.deepchords.playboy; + PRODUCT_BUNDLE_IDENTIFIER = com.ios.playboy; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; diff --git a/ShenYin/ShenYin/Info.plist b/ShenYin/ShenYin/Info.plist index 82a0f3a..c3d8d11 100644 --- a/ShenYin/ShenYin/Info.plist +++ b/ShenYin/ShenYin/Info.plist @@ -11,7 +11,7 @@ weixin CFBundleURLSchemes - wxf19317f23b00d8ab + wxd9d677e0024caa90 diff --git a/ShenYin/ShenYin/Launch/AppDelegate.swift b/ShenYin/ShenYin/Launch/AppDelegate.swift index a316843..e1656ac 100644 --- a/ShenYin/ShenYin/Launch/AppDelegate.swift +++ b/ShenYin/ShenYin/Launch/AppDelegate.swift @@ -13,7 +13,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Override point for customization after application launch. - + IASignWithWeChat.shared.register() return true } diff --git a/ShenYin/ShenYin/Launch/AppLaunch.swift b/ShenYin/ShenYin/Launch/AppLaunch.swift index 6f207af..977eae8 100644 --- a/ShenYin/ShenYin/Launch/AppLaunch.swift +++ b/ShenYin/ShenYin/Launch/AppLaunch.swift @@ -13,8 +13,6 @@ class AppLaunch:NSObject{ CCConfig.appLanguage = LanuageCache.get() - - IASignWithWeChat.shared.register() setupKeyboard() loadCache() LoginVM.fetchCountryList {result in diff --git a/ShenYin/ShenYin/PLAYBOY.entitlements b/ShenYin/ShenYin/PLAYBOY.entitlements new file mode 100644 index 0000000..e8c2dcb --- /dev/null +++ b/ShenYin/ShenYin/PLAYBOY.entitlements @@ -0,0 +1,14 @@ + + + + + com.apple.developer.applesignin + + Default + + com.apple.developer.associated-domains + + applinks:www.playboykq.com + + + diff --git a/ShenYin/ShenYin/Sdk/DcSdk/tool/CCConfig.swift b/ShenYin/ShenYin/Sdk/DcSdk/tool/CCConfig.swift index 535fc20..85517ba 100644 --- a/ShenYin/ShenYin/Sdk/DcSdk/tool/CCConfig.swift +++ b/ShenYin/ShenYin/Sdk/DcSdk/tool/CCConfig.swift @@ -5,44 +5,41 @@ // Created by liangshi on 2026/1/28. // -class CCConfig{ - static var appLanguage = AppSupportLanguage.english - - static let wxAppID = "wxd9d677e0024caa90" - static let wxUniversalLink = "https://dc-cloud-pub.tos-cn-guangzhou.volces.com/app/" - static let appStoreLink = "https://itunes.apple.com/cn/app/6752551504?mt=8" - /// 版本检测 - static let appStoreVersionURL = "https://itunes.apple.com/cn/lookup?id=6752551504" - - /// 服务器地址 - // static let baseURL = "http://118.145.178.188:32000" - static let baseURL = "https://app-api.deepchords.com" - //海外版 - // static let baseURL = "https://app-api.deepchords-ai.com" - - /// 用户隐私协议地址 - static let yonghuBaseURL = "https://pub-tos.deepchords.com" -} - - - - //class CCConfig{ // static var appLanguage = AppSupportLanguage.english -// +// // static let wxAppID = "wxd9d677e0024caa90" -// static let wxUniversalLink = "https://www.playboykq.com/app/" -// /// 通用链接 -// // https://dc-cloud-pub.tos-cn-guangzhou.volces.com/apple-app-site-association +// static let wxUniversalLink = "https://dc-cloud-pub.tos-cn-guangzhou.volces.com/app/" // static let appStoreLink = "https://itunes.apple.com/cn/app/6752551504?mt=8" // /// 版本检测 // static let appStoreVersionURL = "https://itunes.apple.com/cn/lookup?id=6752551504" -// +// // /// 服务器地址 -// static let baseURL = "https://app-api.playboykq.com" -// -//// https://pub-cdn.playboykq.com/protocol/cn/yonghuxieyi.html +// // static let baseURL = "http://118.145.178.188:32000" +// static let baseURL = "https://app-api.deepchords.com" +// //海外版 +// // static let baseURL = "https://app-api.deepchords-ai.com" +// // /// 用户隐私协议地址 -// static let yonghuBaseURL = "https://pub-cdn.playboykq.com" -// +// static let yonghuBaseURL = "https://pub-tos.deepchords.com" //} + + + + +class CCConfig{ + static var appLanguage = AppSupportLanguage.english + + static let wxAppID = "wxeb3291e720293abc" + static let wxUniversalLink = "https://www.playboykq.com/app/" + static let appStoreLink = "https://itunes.apple.com/cn/app/6757697090?mt=8" + /// 版本检测 + static let appStoreVersionURL = "https://itunes.apple.com/cn/lookup?id=6757697090" + + /// 服务器地址 + static let baseURL = "https://app-api.playboykq.com" + + /// 用户隐私协议地址 + static let yonghuBaseURL = "https://pub-cdn.playboykq.com" + +} diff --git a/ShenYin/ShenYin/ShenYin copy-Info.plist b/ShenYin/ShenYin/ShenYin copy-Info.plist index 9f4fb07..1348665 100644 --- a/ShenYin/ShenYin/ShenYin copy-Info.plist +++ b/ShenYin/ShenYin/ShenYin copy-Info.plist @@ -11,7 +11,7 @@ weixin CFBundleURLSchemes - wxf19317f23b00d8ab + wxeb3291e720293abc @@ -51,8 +51,6 @@ bluetooth-central audio - UIStatusBarStyle - UIStatusBarStyleLightContent UIViewControllerBasedStatusBarAppearance diff --git a/ShenYin/ShenYin/UI/Raisound/RSApi.swift b/ShenYin/ShenYin/UI/Raisound/RSApi.swift index 3e08d91..b969062 100644 --- a/ShenYin/ShenYin/UI/Raisound/RSApi.swift +++ b/ShenYin/ShenYin/UI/Raisound/RSApi.swift @@ -45,32 +45,7 @@ class RSApi { } } } - static func request1(api: String,params:[String:Any],method:RequestMethod,completionHandler:@escaping ((T, String) -> Void)){ - let url = "https://dmp-dev.raisound.com" + api - Logger.debug("request => ",url ) - Logger.debug(YLToos.jsonToString(params)) - - if method == .get { - HTTP.GET(url,parameters: params,requestSerializer: JSONParameterSerializer()){ response in - handleResponse(response, completionHandler: completionHandler) - } - } - else if method == .post{ - HTTP.POST(url,parameters: params,requestSerializer: JSONParameterSerializer()){ response in - handleResponse(response, completionHandler: completionHandler) - } - } - else if method == .put{ - HTTP.PUT(url,parameters: params,headers: ["bz-dt":RSAuth.shared.cookie],requestSerializer: JSONParameterSerializer()){ response in - handleResponse(response, completionHandler: completionHandler) - } - } - else if method == .delete{ - HTTP.DELETE(url,parameters: params,requestSerializer: JSONParameterSerializer()){ response in - handleResponse(response, completionHandler: completionHandler) - } - } - } + } diff --git a/ShenYin/ShenYin/UI/Raisound/RSAuth.swift b/ShenYin/ShenYin/UI/Raisound/RSAuth.swift index e5bbd8f..057deae 100644 --- a/ShenYin/ShenYin/UI/Raisound/RSAuth.swift +++ b/ShenYin/ShenYin/UI/Raisound/RSAuth.swift @@ -109,20 +109,20 @@ class RSAuth { HTTP.POST(url,parameters: params,requestSerializer: JSONParameterSerializer()){ response in DispatchQueue.main.sync { - if let headers = response.headers { - if let setCookieHeader = headers["Set-Cookie"] { - print("登录响应中的Set-Cookie头: \(setCookieHeader)") - } - - // 打印所有响应头 - print("完整响应头信息:") - for (key, value) in headers { - print(" \(key): \(value)") - if key == "bz-dt"{ - self.cookie = value - } - } - } +// if let headers = response.headers { +// if let setCookieHeader = headers["Set-Cookie"] { +// print("登录响应中的Set-Cookie头: \(setCookieHeader)") +// } +// +// // 打印所有响应头 +// print("完整响应头信息:") +// for (key, value) in headers { +// print(" \(key): \(value)") +// if key == "bz-dt"{ +// self.cookie = value +// } +// } +// } let (dict,error) = MSHttpManager.receiveData(response) if let error = error { completeHandler(nil,error) diff --git a/ShenYin/ShenYin/UI/Raisound/RSManager.swift b/ShenYin/ShenYin/UI/Raisound/RSManager.swift index 1b8ce76..fe43603 100644 --- a/ShenYin/ShenYin/UI/Raisound/RSManager.swift +++ b/ShenYin/ShenYin/UI/Raisound/RSManager.swift @@ -9,8 +9,9 @@ class RSManager{ static let shared = RSManager() // 8FFDCB2185D5、testflihgt // 8FFDCB2185D7、testflihgt -// 8FFDCB2185D8、8FFDCB2185D9 还未使用 - let deviceId = "8FFDCB2185D8" +// 8FFDCB2185D8、testflihgt +// 8FFDCB2185D9 还未使用 + let deviceId = "8FFDCB2185D9" var chat:MSVoiceChat = MSVoiceChat() func start(){ diff --git a/ShenYin/ShenYin/UI/Raisound/RSSpeakerVC.swift b/ShenYin/ShenYin/UI/Raisound/RSSpeakerVC.swift index 04b5292..90dcabd 100644 --- a/ShenYin/ShenYin/UI/Raisound/RSSpeakerVC.swift +++ b/ShenYin/ShenYin/UI/Raisound/RSSpeakerVC.swift @@ -86,7 +86,7 @@ extension RSSpeakerVC:UITableViewDelegate,UITableViewDataSource { selectedModel = data didSelected?(data) tableView.reloadData() - navigationController?.popViewController(animated: true) + App.shared.popToRootPage() } } else{