{"id":2161,"date":"2023-07-11T11:46:50","date_gmt":"2023-07-11T03:46:50","guid":{"rendered":"https:\/\/h5app.yimenapp.cn\/h5app\/?p=2161"},"modified":"2023-07-11T11:46:50","modified_gmt":"2023-07-11T03:46:50","slug":"checksupport-%e6%a3%80%e6%9f%a5%e8%ae%be%e5%a4%87%e6%98%af%e5%90%a6%e6%94%af%e6%8c%81%e8%8b%b9%e6%9e%9c-id-%e6%8e%88%e6%9d%83%e7%99%bb%e5%bd%95-app%e5%bc%80%e5%8f%91%e6%8e%a5%e5%85%a5%e8%8b%b9","status":"publish","type":"post","link":"https:\/\/h5app.yimenapp.cn\/h5app\/2023\/sjapp\/2161\/","title":{"rendered":"checkSupport \u68c0\u67e5\u8bbe\u5907\u662f\u5426\u652f\u6301\u82f9\u679c ID \u6388\u6743\u767b\u5f55 APP\u5f00\u53d1\u63a5\u5165\u82f9\u679c\u8d26\u53f7\u767b\u5f55\u6559\u7a0b"},"content":{"rendered":"<figure style='width: 820px;font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Ubuntu, \"Helvetica Neue\", Helvetica, Arial, \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", \"Source Han Sans CN\", sans-serif;font-size: 16px;text-align: start'>\n<table style=\"width: 820px\">\n<tbody>\n<tr>\n<td>\u7528\u505a\u7f51\u9875\u7684\u6280\u672f\u505a<a href=\"https:\/\/www.yimenapp.com\/\" rel=\"noreferrer noopener\" style=\"background-color: transparent;color: var(--theme-color)\" target=\"_blank\">APP<\/a>\uff01<br \/><a href=\"https:\/\/www.yimenapp.com\/\" style=\"background-color: transparent;color: var(--theme-color)\" title=\"\u5f00\u53d1APP\u4ece\u4e00\u95e8\u5f00\u59cb\">\u4e00\u95e8<\/a>\u63d0\u4f9b\u6807\u51c6\u5316\u7684<strong>jsbridge-mini.js\u5e93<\/strong>\uff0c\u60a8\u53ea\u9700\u8981\u5728\u9875\u9762<strong>\u5f15\u7528<\/strong>\u5e76<strong>\u6267\u884c<\/strong>JS\u5373\u53ef\u5b9e\u73b0\u5404\u79cd<strong>\u539f\u751fAPP\u3001\u539f\u751fPC<\/strong>\u7684\u529f\u80fd\u80fd\u529b\u3002<\/p>\n<p><strong>==================APP\u7aef==================<\/strong><br \/><strong>\u3010APP\u7aef\u3011\uff08\u5b89\u5353\u7248&amp;\u82f9\u679c\u7248\uff09<\/strong>\u76ee\u524d\u63d0\u4f9b200+\u539f\u751f\u529f\u80fd\uff0c2000+JS\u6620\u5c04\u63a5\u53e3\uff0c\u7528\u505a\u7f51\u7ad9\u7684\u6280\u672f\u5373\u53ef\u5b9e\u73b0\u5404\u79cd\u539f\u751fAPP\u80fd\u529b\u3001APP demo\u5730\u5740<a href=\"https:\/\/www.yimenapp.com\/doc\/demo.cshtml\" rel=\"noreferrer noopener\" style=\"background-color: transparent;color: var(--theme-color)\" target=\"_blank\"><\/a><a href=\"https:\/\/www.yimenapp.com\/doc\/demo.cshtml\">https:\/\/www.yimenapp.com\/doc\/demo.cshtml<\/a>\u4e0b\u8f7d\u6559\u7a0b\uff1a<br \/>&diams; <strong>JS-SDK<\/strong> \u5f15\u7528\u65b9\u5f0f\uff1a<br \/>&diams; \u666e\u901a\u7f51\u9875 script \u65b9\u5f0f\u52a0\u8f7d\uff1a\u4e0b\u8f7d\u6700\u65b0\u7248\uff0c\u8bf7\u5728\u9875\u9762\u4e0a\u8c03\u7528 jsBridge \u63a5\u53e3\u4e4b\u524d\u5f15\u7528 <a href=\"jsbridge-mini.js\">jsbridge-mini.js<\/a> \u5e93\uff1b<br \/>&diams; js module \u65b9\u5f0f\u5f15\u7528\uff1anpm install ym-jsbridge <a href=\"https:\/\/www.npmjs.com\/package\/ym-jsbridge\" rel=\"noreferrer noopener\" style=\"background-color: transparent;color: var(--theme-color)\" target=\"_blank\">\u5177\u4f53\u8bf7\u53c2\u8003 npm package<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table><figcaption>\u4e00\u95e8APP\u5f00\u53d1\u5e73\u53f0\u901a\u7528JS<\/figcaption><\/figure>\n<p style='font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Ubuntu, \"Helvetica Neue\", Helvetica, Arial, \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", \"Source Han Sans CN\", sans-serif;font-size: 16px;text-align: start'>checkSupport \u68c0\u67e5\u8bbe\u5907\u662f\u5426\u652f\u6301\u82f9\u679c ID \u6388\u6743\u767b\u5f55 APP\u5f00\u53d1\u63a5\u5165\u82f9\u679c\u8d26\u53f7\u767b\u5f55\u6559\u7a0b<\/p>\n<p style='font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Ubuntu, \"Helvetica Neue\", Helvetica, Arial, \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", \"Source Han Sans CN\", sans-serif;font-size: 16px;text-align: start'>&diams; 1. <a href=\"https:\/\/developer.apple.com\/documentation\/sign_in_with_apple\" rel=\"noreferrer noopener\" style=\"background-color: transparent;color: var(--theme-color)\" target=\"_blank\">Sign In with Apple<\/a> \u82f9\u679c ID \u6388\u6743\u767b\u5f55\uff1b<\/p>\n<p style='font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Ubuntu, \"Helvetica Neue\", Helvetica, Arial, \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", \"Source Han Sans CN\", sans-serif;font-size: 16px;text-align: start'>&diams; 2. \u63a5\u5165\u6b65\u9aa4\uff1a<\/p>\n<p style='font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Ubuntu, \"Helvetica Neue\", Helvetica, Arial, \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", \"Source Han Sans CN\", sans-serif;font-size: 16px;text-align: start'>&diams; 2.1 \u82f9\u679c\u8bc1\u4e66\u6807\u8bc6\u7b26(Identifier)\u9700\u52fe\u9009 &ldquo;Sign In with Apple&rdquo; \u529f\u80fd(<a href=\"https:\/\/www.yimenapp.com\/assets\/img\/sign-in-with-apple.jpg\" rel=\"noreferrer noopener\" style=\"background-color: transparent;color: var(--theme-color)\" target=\"_blank\">\u89c1\u793a\u4f8b\u622a\u56fe<\/a>)\uff0c\u4e0a\u4f20\u8bc1\u4e66\u5e76\u751f\u6210\u82f9\u679c\u7248\u5b89\u88c5\u5305\uff1b<\/p>\n<p style='font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Ubuntu, \"Helvetica Neue\", Helvetica, Arial, \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", \"Source Han Sans CN\", sans-serif;font-size: 16px;text-align: start'>&diams; 2.2 \u8c03\u7528 checkSuport \u63a5\u53e3\u68c0\u67e5\u5f53\u524d\u8bbe\u5907\u662f\u5426\u652f\u6301\u82f9\u679c\u6388\u6743\u767b\u5f55\uff0c\u5982\u679c\u652f\u6301\u5219\u8fdb\u5165\u4e0b\u4e00\u6b65\uff1b<\/p>\n<p style='font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Ubuntu, \"Helvetica Neue\", Helvetica, Arial, \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", \"Source Han Sans CN\", sans-serif;font-size: 16px;text-align: start'>&diams; 2.3 \u8c03\u7528 request \u53d1\u8d77\u82f9\u679c ID \u6388\u6743\u767b\u5f55\uff0c\u5c06\u56de\u8c03\u7684 data \u63d0\u4ea4\u5230\u60a8\u7684\u670d\u52a1\u5668 <a href=\"https:\/\/developer.apple.com\/documentation\/sign_in_with_apple\/sign_in_with_apple_rest_api\/authenticating_users_with_sign_in_with_apple\" rel=\"noreferrer noopener\" style=\"background-color: transparent;color: var(--theme-color)\" target=\"_blank\">\u9a8c\u8bc1<\/a>\u3001<a href=\"https:\/\/github.com\/GriffinLedingham\/php-apple-signin\" rel=\"noreferrer noopener\" style=\"background-color: transparent;color: var(--theme-color)\" target=\"_blank\">PHP SDK<\/a> \u6388\u6743\u4fe1\u606f\uff1b<\/p>\n<p style='font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Ubuntu, \"Helvetica Neue\", Helvetica, Arial, \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", \"Source Han Sans CN\", sans-serif;font-size: 16px;text-align: start'>\u6838\u5fc3\u4ee3\u7801\u793a\u4f8b\uff0c\u8be6\u60c5\u53c2\u9605demo<\/p>\n<pre data-lang=\"JavaScript\" style='font-family: var(--hcb-font-family,\"Menlo\",\"Consolas\",\"Hiragino Kaku Gothic ProN\",\"Hiragino Sans\",\"Meiryo\",sans-serif);font-size: var(--hcb-font-size,14px);background: var(--hcb-color--bg,#f7f6f6);color: var(--hcb-color--text,#1f1e1e);text-align: left'><code data-hcb-clip=\"1\" style=\"font-family: inherit;font-size: inherit;background: var(--hcb-color--bg,#f7f6f6);color: var(--hcb-color--text,#1f1e1e);text-align: left\"><span style=\"font-family: inherit;font-size: inherit\">\/\/\u9ad8\u4e8e\u6216\u7b49\u4e8e iOS 13 \u624d\u652f\u6301\u82f9\u679c ID \u6388\u6743\u767b\u5f55<\/span>\njsBridge<span style=\"font-family: inherit;font-size: inherit\">.<\/span>sia<span style=\"font-family: inherit;font-size: inherit\">.<\/span><span style=\"font-family: inherit;font-size: inherit\">checkSupport<\/span><span style=\"font-family: inherit;font-size: inherit\">(<\/span><span style=\"font-family: inherit;font-size: inherit\">function<\/span><span style=\"font-family: inherit;font-size: inherit\">(<\/span><span style=\"font-family: inherit;font-size: inherit\">succ<span style=\"font-family: inherit;font-size: inherit\">,<\/span> data<\/span><span style=\"font-family: inherit;font-size: inherit\">)<\/span> <span style=\"font-family: inherit;font-size: inherit\">{<\/span>\n <span style=\"font-family: inherit;font-size: inherit\">alert<\/span><span style=\"font-family: inherit;font-size: inherit\">(<\/span>succ <span style=\"font-family: inherit;font-size: inherit\">?<\/span> <span style=\"font-family: inherit;font-size: inherit\">&quot;\u652f\u6301&quot;<\/span> <span style=\"font-family: inherit;font-size: inherit\">:<\/span> <span style=\"font-family: inherit;font-size: inherit\">&quot;\u4e0d\u652f\u6301&quot;<\/span><span style=\"font-family: inherit;font-size: inherit\">)<\/span><span style=\"font-family: inherit;font-size: inherit\">;<\/span>\n<span style=\"font-family: inherit;font-size: inherit\">}<\/span><span style=\"font-family: inherit;font-size: inherit\">)<\/span><span style=\"font-family: inherit;font-size: inherit\">;<\/span><\/code><\/pre>\n<p style='font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Ubuntu, \"Helvetica Neue\", Helvetica, Arial, \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", \"Source Han Sans CN\", sans-serif;font-size: 16px;text-align: start'>A\u6807\u7b7e\u6267\u884cJS\u793a\u4f8b\u4ee3\u7801<\/p>\n<pre data-lang=\"HTML\" style='font-family: var(--hcb-font-family,\"Menlo\",\"Consolas\",\"Hiragino Kaku Gothic ProN\",\"Hiragino Sans\",\"Meiryo\",sans-serif);font-size: var(--hcb-font-size,14px);background: var(--hcb-color--bg,#f7f6f6);color: var(--hcb-color--text,#1f1e1e);text-align: left'><code data-hcb-clip=\"2\" style=\"font-family: inherit;font-size: inherit;background: var(--hcb-color--bg,#f7f6f6);color: var(--hcb-color--text,#1f1e1e);text-align: left\"><span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\">&lt;<\/span>a<\/span> <span style=\"font-family: inherit;font-size: inherit\">href<\/span><span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\">=<\/span><span style=\"font-family: inherit;font-size: inherit\">&quot;<\/span>javascript:void(0)<span style=\"font-family: inherit;font-size: inherit\">&quot;<\/span><\/span> <span style=\"font-family: inherit;font-size: inherit\">onclick<\/span><span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\">=<\/span><span style=\"font-family: inherit;font-size: inherit\">&quot;<\/span>zhixing()<span style=\"font-family: inherit;font-size: inherit\">&quot;<\/span><\/span><span style=\"font-family: inherit;font-size: inherit\">&gt;<\/span><\/span>\u6267\u884c<span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\">&lt;\/<\/span>a<\/span><span style=\"font-family: inherit;font-size: inherit\">&gt;<\/span><\/span> \n<span style=\"font-family: inherit;font-size: inherit\">&lt;!-- \u5199\u5165\u4e00\u4e2aA\u6807\u7b7ehref\u503c\u4e3a&quot;javascript:void(0)&quot;\uff0c\u5b9a\u4e49\u70b9\u51fb\u4e8b\u4ef6onclick\uff1b--&gt;<\/span>\n<span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\">&lt;<\/span>script<\/span> <span style=\"font-family: inherit;font-size: inherit\">src<\/span><span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\">=<\/span><span style=\"font-family: inherit;font-size: inherit\">&quot;<\/span>\u60a8\u7684\u670d\u52a1\u5668URL\/jsbridge-mini.js<span style=\"font-family: inherit;font-size: inherit\">&quot;<\/span><\/span><span style=\"font-family: inherit;font-size: inherit\">&gt;<\/span><\/span><span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\">&lt;\/<\/span>script<\/span><span style=\"font-family: inherit;font-size: inherit\">&gt;<\/span><\/span>\n<span style=\"font-family: inherit;font-size: inherit\">&lt;!-- \u5728\u60a8\u7684\u670d\u52a1\u5668\u5f15\u5165\u4e00\u95e8JS\u5730\u5740\uff0c\u8bf7\u4e0b\u8f7djsbridge-mini.js\u4e0a\u4f20\u60a8\u81ea\u5df1\u7684\u670d\u52a1\u5668\u83b7\u53d6\u94fe\u63a5\uff1b--&gt;<\/span>\n<span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\">&lt;<\/span>script<\/span> <span style=\"font-family: inherit;font-size: inherit\">type<\/span><span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\">=<\/span><span style=\"font-family: inherit;font-size: inherit\">&quot;<\/span>text\/javascript<span style=\"font-family: inherit;font-size: inherit\">&quot;<\/span><\/span><span style=\"font-family: inherit;font-size: inherit\">&gt;<\/span><\/span><span style=\"font-family: inherit;font-size: inherit\">\n<span style=\"font-family: inherit;font-size: inherit\">function<\/span> <span style=\"font-family: inherit;font-size: inherit\">zhixing<\/span><span style=\"font-family: inherit;font-size: inherit\">(<\/span><span style=\"font-family: inherit;font-size: inherit\">)<\/span> <span style=\"font-family: inherit;font-size: inherit\">{<\/span>\n\n\n<span style=\"font-family: inherit;font-size: inherit\">&lt;<\/span><span style=\"font-family: inherit;font-size: inherit\">!<\/span><span style=\"font-family: inherit;font-size: inherit\">--<\/span>\u8fd9\u91cc\u53ef\u4ee5\u76f4\u63a5\u590d\u5236<span style=\"font-family: inherit;font-size: inherit\">JS<\/span>\u6838\u5fc3\u4ee3\u7801\u5230\u6b64<span style=\"font-family: inherit;font-size: inherit\">{<\/span><span style=\"font-family: inherit;font-size: inherit\">}<\/span>\u62ec\u53f7\u5185<span style=\"font-family: inherit;font-size: inherit\">--<\/span><span style=\"font-family: inherit;font-size: inherit\">&gt;<\/span>\n<span style=\"font-family: inherit;font-size: inherit\">\/\/\u9ad8\u4e8e\u6216\u7b49\u4e8e iOS 13 \u624d\u652f\u6301\u82f9\u679c ID \u6388\u6743\u767b\u5f55<\/span>\njsBridge<span style=\"font-family: inherit;font-size: inherit\">.<\/span>sia<span style=\"font-family: inherit;font-size: inherit\">.<\/span><span style=\"font-family: inherit;font-size: inherit\">checkSupport<\/span><span style=\"font-family: inherit;font-size: inherit\">(<\/span><span style=\"font-family: inherit;font-size: inherit\">function<\/span><span style=\"font-family: inherit;font-size: inherit\">(<\/span><span style=\"font-family: inherit;font-size: inherit\">succ<span style=\"font-family: inherit;font-size: inherit\">,<\/span> data<\/span><span style=\"font-family: inherit;font-size: inherit\">)<\/span> <span style=\"font-family: inherit;font-size: inherit\">{<\/span>\n <span style=\"font-family: inherit;font-size: inherit\">alert<\/span><span style=\"font-family: inherit;font-size: inherit\">(<\/span>succ <span style=\"font-family: inherit;font-size: inherit\">?<\/span> <span style=\"font-family: inherit;font-size: inherit\">&quot;\u652f\u6301&quot;<\/span> <span style=\"font-family: inherit;font-size: inherit\">:<\/span> <span style=\"font-family: inherit;font-size: inherit\">&quot;\u4e0d\u652f\u6301&quot;<\/span><span style=\"font-family: inherit;font-size: inherit\">)<\/span><span style=\"font-family: inherit;font-size: inherit\">;<\/span>\n<span style=\"font-family: inherit;font-size: inherit\">}<\/span><span style=\"font-family: inherit;font-size: inherit\">)<\/span><span style=\"font-family: inherit;font-size: inherit\">;<\/span>\n\n<span style=\"font-family: inherit;font-size: inherit\">}<\/span>\n<\/span><span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\">&lt;\/<\/span>script<\/span><span style=\"font-family: inherit;font-size: inherit\">&gt;<\/span><\/span>\n<span style=\"font-family: inherit;font-size: inherit\">&lt;!--\u6267\u884c\u6838\u5fc3\u4ee3\u7801\uff1b\n\/\/\u5982\u679c\u9700\u8981\u8fdb\u5165\u9875\u9762\u5c31\u6267\u884c\uff0c\u53bb\u6389\u70b9\u51fb\u4e8b\u4ef6\u5373\u53ef\uff1b--&gt;<\/span><\/code><\/pre>\n<p style='font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Ubuntu, \"Helvetica Neue\", Helvetica, Arial, \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", \"Source Han Sans CN\", sans-serif;font-size: 16px;text-align: start'>\u6309\u94ae\u6267\u884cJS\u793a\u4f8b\u4ee3\u7801<\/p>\n<pre data-lang=\"HTML\" style='font-family: var(--hcb-font-family,\"Menlo\",\"Consolas\",\"Hiragino Kaku Gothic ProN\",\"Hiragino Sans\",\"Meiryo\",sans-serif);font-size: var(--hcb-font-size,14px);background: var(--hcb-color--bg,#f7f6f6);color: var(--hcb-color--text,#1f1e1e);text-align: left'><code data-hcb-clip=\"3\" style=\"font-family: inherit;font-size: inherit;background: var(--hcb-color--bg,#f7f6f6);color: var(--hcb-color--text,#1f1e1e);text-align: left\"><span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\">&lt;<\/span>button<\/span> <span style=\"font-family: inherit;font-size: inherit\">onclick<\/span><span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\">=<\/span><span style=\"font-family: inherit;font-size: inherit\">&quot;<\/span>zhixing()<span style=\"font-family: inherit;font-size: inherit\">&quot;<\/span><\/span> <span style=\"font-family: inherit;font-size: inherit\">&gt;<\/span><\/span>\u6267\u884c<span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\">&lt;\/<\/span>button<\/span><span style=\"font-family: inherit;font-size: inherit\">&gt;<\/span><\/span>\n<span style=\"font-family: inherit;font-size: inherit\">&lt;!-- \/\/\u5199\u4e00\u4e2a\u6309\u94ae\uff0c\u5b9a\u4e49\u70b9\u51fb\u6267\u884c\u4e8b\u4ef6\uff1b --&gt;<\/span>\n<span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\">&lt;<\/span>script<\/span> <span style=\"font-family: inherit;font-size: inherit\">src<\/span><span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\">=<\/span><span style=\"font-family: inherit;font-size: inherit\">&quot;<\/span>\u60a8\u7684\u670d\u52a1\u5668URL\/jsbridge-mini.js<span style=\"font-family: inherit;font-size: inherit\">&quot;<\/span><\/span><span style=\"font-family: inherit;font-size: inherit\">&gt;<\/span><\/span><span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\">&lt;\/<\/span>script<\/span><span style=\"font-family: inherit;font-size: inherit\">&gt;<\/span><\/span>\n<span style=\"font-family: inherit;font-size: inherit\">&lt;!-- \/\/\u5728\u60a8\u7684\u670d\u52a1\u5668\u5f15\u5165\u4e00\u95e8JS\u5730\u5740\uff0c\u8bf7\u4e0b\u8f7djsbridge-mini.js\u4e0a\u4f20\u60a8\u81ea\u5df1\u7684\u670d\u52a1\u5668\u83b7\u53d6\u94fe\u63a5\uff1b --&gt;<\/span>\n<span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\">&lt;<\/span>script<\/span> <span style=\"font-family: inherit;font-size: inherit\">type<\/span><span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\">=<\/span><span style=\"font-family: inherit;font-size: inherit\">&quot;<\/span>text\/javascript<span style=\"font-family: inherit;font-size: inherit\">&quot;<\/span><\/span><span style=\"font-family: inherit;font-size: inherit\">&gt;<\/span><\/span><span style=\"font-family: inherit;font-size: inherit\">\n<span style=\"font-family: inherit;font-size: inherit\">function<\/span> <span style=\"font-family: inherit;font-size: inherit\">zhixing<\/span><span style=\"font-family: inherit;font-size: inherit\">(<\/span><span style=\"font-family: inherit;font-size: inherit\">)<\/span> <span style=\"font-family: inherit;font-size: inherit\">{<\/span>\n\n\n<span style=\"font-family: inherit;font-size: inherit\">&lt;<\/span><span style=\"font-family: inherit;font-size: inherit\">!<\/span><span style=\"font-family: inherit;font-size: inherit\">--<\/span>\u8fd9\u91cc\u53ef\u4ee5\u76f4\u63a5\u590d\u5236<span style=\"font-family: inherit;font-size: inherit\">JS<\/span>\u6838\u5fc3\u4ee3\u7801\u5230\u6b64<span style=\"font-family: inherit;font-size: inherit\">{<\/span><span style=\"font-family: inherit;font-size: inherit\">}<\/span>\u62ec\u53f7\u5185<span style=\"font-family: inherit;font-size: inherit\">--<\/span><span style=\"font-family: inherit;font-size: inherit\">&gt;<\/span>\n<span style=\"font-family: inherit;font-size: inherit\">\/\/\u9ad8\u4e8e\u6216\u7b49\u4e8e iOS 13 \u624d\u652f\u6301\u82f9\u679c ID \u6388\u6743\u767b\u5f55<\/span>\njsBridge<span style=\"font-family: inherit;font-size: inherit\">.<\/span>sia<span style=\"font-family: inherit;font-size: inherit\">.<\/span><span style=\"font-family: inherit;font-size: inherit\">checkSupport<\/span><span style=\"font-family: inherit;font-size: inherit\">(<\/span><span style=\"font-family: inherit;font-size: inherit\">function<\/span><span style=\"font-family: inherit;font-size: inherit\">(<\/span><span style=\"font-family: inherit;font-size: inherit\">succ<span style=\"font-family: inherit;font-size: inherit\">,<\/span> data<\/span><span style=\"font-family: inherit;font-size: inherit\">)<\/span> <span style=\"font-family: inherit;font-size: inherit\">{<\/span>\n <span style=\"font-family: inherit;font-size: inherit\">alert<\/span><span style=\"font-family: inherit;font-size: inherit\">(<\/span>succ <span style=\"font-family: inherit;font-size: inherit\">?<\/span> <span style=\"font-family: inherit;font-size: inherit\"><a href=\"https:\/\/appshangjia.yimenapp.com\/pingguo-1784.html\">flutter\u539f\u751f\u82f9\u679c\u4e0a\u67b6<\/a>&quot;\u652f\u6301&quot;<\/span> <span style=\"font-family: inherit;font-size: inherit\">:<\/span> <span style=\"font-family: inherit;font-size: inherit\">&quot;\u4e0d\u652f\u6301&quot;<\/span><span style=\"font-family: inherit;font-size: inherit\">)<\/span><span style=\"font-family: inherit;font-size: inherit\">;<a href=\"https:\/\/appshangjia.yimenapp.com\/yyb-app-shangjia-137.html\">app\u4e0a\u67b6\u5e94\u7528\u5b9d\u96be\u5417<\/a><\/span>\n<span style=\"font-family: inherit;font-size: inherit\">}<\/span><span style=\"font-family: inherit;font-size: inherit\">)<\/span><span style=\"font-family: inherit;font-size: inherit\">;<\/span>\n\n<span style=\"font-family: inherit;font-size: inherit\">}<\/span>\n<\/span><span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\"><span style=\"font-family: inherit;font-size: inherit\">&lt;\/<\/span>script<\/span><span style=\"font-family: inherit;font-size: inherit\">&gt;<\/span><\/span>\n<span style=\"font-family: inherit;font-size: inherit\">&lt;!-- \/\/\u6267\u884c\u6838\u5fc3\u4ee3\u7801\uff1b\n\/\/\u5982\u679c\u9700\u8981\u8fdb\u5165\u9875\u9762\u5c31\u6267\u884c\uff0c\u53bb\u6389\u70b9\u51fb\u4e8b\u4ef6\u5373\u53ef\uff1b --&gt;<\/span><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u7528\u505a\u7f51\u9875\u7684\u6280\u672f\u505aAPP\uff01\u4e00\u95e8\u63d0\u4f9b\u6807\u51c6\u5316\u7684jsbridge-mini.js\u5e93\uff0c\u60a8\u53ea\u9700\u8981\u5728\u9875\u9762\u5f15\u7528\u5e76\u6267\u884cJS\u5373\u53ef\u5b9e\u73b0\u5404\u79cd\u539f\u751fAPP\u3001\u539f\u751fPC\u7684\u529f\u80fd\u80fd\u529b\u3002==================APP\u7aef===<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[2523,40,15,4467,4468],"topic":[],"class_list":["post-2161","post","type-post","status-publish","format-standard","hentry","category-sjapp","tag-2523","tag-40","tag-15","tag-tf"],"_links":{"self":[{"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/posts\/2161","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/comments?post=2161"}],"version-history":[{"count":0,"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/posts\/2161\/revisions"}],"wp:attachment":[{"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/media?parent=2161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/categories?post=2161"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/tags?post=2161"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/topic?post=2161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}