Explorar o código

屏蔽ios配置文件接口,统一在nginx

lcl hai 1 ano
pai
achega
236b2c3f09
Modificáronse 1 ficheiros con 24 adicións e 24 borrados
  1. 24 24
      Areas/Api/Controllers/app/SystemSetController.cs

+ 24 - 24
Areas/Api/Controllers/app/SystemSetController.cs

@@ -488,30 +488,30 @@ namespace MySystem.Areas.Api.Controllers
 
         #endregion
 
-        #region ios配置文件
-        [Route("/apple-app-site-association")]
-        public Dictionary<string, object> iosSetting()
-        { 
-            Dictionary<string, object> result = new Dictionary<string, object>();
-            Dictionary<string, object> webcredentials = new Dictionary<string, object>();
-            List<string> apps = new List<string>();
-            apps.Add("TKFY2BZ6Z7.com.cyb888.cyb");
-            webcredentials.Add("apps", apps);
-            result.Add("webcredentials", webcredentials);
-
-            Dictionary<string, object> applinks = new Dictionary<string, object>();
-            applinks.Add("apps", new List<string>());
-            List<Dictionary<string, object>> details = new List<Dictionary<string, object>>();
-            Dictionary<string, object> detail = new Dictionary<string, object>();
-            detail.Add("appID", "TKFY2BZ6Z7.com.cyb888.cyb");
-            detail.Add("paths", "/ios/*");
-            details.Add(detail);
-            applinks.Add("details", details);
-            result.Add("applinks", applinks);
-            return result;
-        }
-
-        #endregion
+        // #region ios配置文件
+        // [Route("/apple-app-site-association")]
+        // public Dictionary<string, object> iosSetting()
+        // { 
+        //     Dictionary<string, object> result = new Dictionary<string, object>();
+        //     Dictionary<string, object> webcredentials = new Dictionary<string, object>();
+        //     List<string> apps = new List<string>();
+        //     apps.Add("TKFY2BZ6Z7.com.cyb888.cyb");
+        //     webcredentials.Add("apps", apps);
+        //     result.Add("webcredentials", webcredentials);
+
+        //     Dictionary<string, object> applinks = new Dictionary<string, object>();
+        //     applinks.Add("apps", new List<string>());
+        //     List<Dictionary<string, object>> details = new List<Dictionary<string, object>>();
+        //     Dictionary<string, object> detail = new Dictionary<string, object>();
+        //     detail.Add("appID", "TKFY2BZ6Z7.com.cyb888.cyb");
+        //     detail.Add("paths", "/ios/*");
+        //     details.Add(detail);
+        //     applinks.Add("details", details);
+        //     result.Add("applinks", applinks);
+        //     return result;
+        // }
+
+        // #endregion