Parcourir la source

修改 deep link

jsonwang il y a 4 ans
Parent
commit
2fb7ff8001

+ 2 - 2
MusicVideoPlus/MusicVideoPlus/AppDelegate.swift

@@ -22,10 +22,10 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
         window?.makeKeyAndVisible()
 
         let wxappInfo = WXApiInfo()
-        wxappInfo.state = "com.piaoquan.pqspeed"
+        wxappInfo.state = "com.piaoquan.shanyin"
         wxappInfo.appid = "wx0e8234aac576d1e0"
         wxappInfo.secret = "a6c35e4e8adf60039f94f4c18e2aabdb"
-        wxappInfo.universalLink = "https://speed.piaoquantv.com"
+        wxappInfo.universalLink = "https://shanyin.piaoquantv.com/.well-known/apple-app-site-association"
         wxappInfo.scope = "snsapi_userinfo"
         PQSingletoWXApiUtil.shared.registerApp(appInfo: wxappInfo)
         // 注册友盟

+ 2 - 9
MusicVideoPlus/MusicVideoPlus/MusicVideoPlus.entitlements

@@ -10,14 +10,7 @@
 	</array>
 	<key>com.apple.developer.associated-domains</key>
 	<array>
-		<string>applinks:downloadapp.piaoquantv.com</string>
-		<string>webcredentials:downloadapp.piaoquantv.com</string>
-		<string>applinks:predownloadapp.piaoquantv.com</string>
-		<string>webcredentials:predownloadapp.piaoquantv.com</string>
-		<string>applinks:speed.piaoquantv.com</string>
-		<string>webcredentials:speed.piaoquantv.com</string>
-		<string>applinks:downloadapp.yishihui.com</string>
-		<string>webcredentials:downloadapp.yishihui.com</string>
+		<string>applinks:shanyin.piaoquantv.com</string>
 	</array>
 	<key>com.apple.security.app-sandbox</key>
 	<true/>
@@ -31,7 +24,7 @@
 	<true/>
 	<key>keychain-access-groups</key>
 	<array>
-		<string>$(AppIdentifierPrefix)com.piaoquan.pqspeed</string>
+		<string>$(AppIdentifierPrefix)com.piaoquan.shanyin</string>
 	</array>
 </dict>
 </plist>