From 858bd6df13a6a6415d12d8e60141575574646f58 Mon Sep 17 00:00:00 2001
From: younger_times <841720330@qq.com>
Date: 星期一, 24 七月 2023 18:23:48 +0800
Subject: [PATCH] 新增

---
 WanPai/AppDelegate.swift |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/WanPai/AppDelegate.swift b/WanPai/AppDelegate.swift
index 81ca286..47b4653 100644
--- a/WanPai/AppDelegate.swift
+++ b/WanPai/AppDelegate.swift
@@ -8,6 +8,7 @@
 import UIKit
 import JQTools
 import Alamofire
+import AMapFoundationKit
 
 @main
 class AppDelegate: UIResponder, UIApplicationDelegate {
@@ -20,6 +21,8 @@
         Services.startNetworkMonitor()
         YYPaymentManager.shared.configuredWeChat(appID: WeChatAPPID, universalLink: WechatUniversalLinks)
         YYPaymentManager.shared.configuredAlipay(appScheme: APPScheme)
+        AMapServices.shared().enableHTTPS = true
+        AMapServices.shared().apiKey = AMapKey
         return true
     }
 

--
Gitblit v1.7.1