
{"id":607,"date":"2016-07-04T10:40:32","date_gmt":"2016-07-04T02:40:32","guid":{"rendered":"http:\/\/www.jiandaima.com\/blog\/?p=607"},"modified":"2016-07-04T10:42:04","modified_gmt":"2016-07-04T02:42:04","slug":"%e6%b5%8f%e8%a7%88%e5%99%a8%e4%b8%ad%e5%94%a4%e8%b5%b7native-app-%e8%b7%b3%e8%bd%ac%e5%88%b0%e5%ba%94%e7%94%a8%e5%95%86%e5%9f%8e%e4%b8%8b%e8%bd%bd","status":"publish","type":"post","link":"http:\/\/www.jiandaima.com\/blog\/archives\/607.html","title":{"rendered":"\u6d4f\u89c8\u5668\u4e2d\u5524\u8d77native app || \u8df3\u8f6c\u5230\u5e94\u7528\u5546\u57ce\u4e0b\u8f7d"},"content":{"rendered":"<p>\u524d\u6bb5\u65f6\u95f4\u9047\u5230\u4e00\u4e2a\u5c0f\u9700\u6c42\uff1a\u8981\u6c42\u5728\u5206\u4eab\u51fa\u6765\u7684h5\u9875\u9762\u4e2d\uff0c\u6709\u4e00\u4e2a\u7acb\u5373\u6253\u5f00\u7684\u6309\u94ae\uff0c\u5982\u679c\u672c\u5730\u5b89\u88c5\u4e86\u6211\u4eec\u7684app\uff0c\u90a3\u4e48\u70b9\u51fb\u5c31\u76f4\u63a5\u5524\u8d77\u672c\u5730app\uff0c\u5982\u679c\u6ca1\u6709\u5b89\u88c5\uff0c\u5219\u8df3\u8f6c\u5230\u4e0b\u8f7d\u3002<\/p>\n<p>\u56e0\u4e3a\u4ece\u6765\u6ca1\u6709\u505a\u8fc7\u8fd9\u4e2a\u9700\u6c42\uff0c\u56e0\u6b64\u8fd9\u6ce8\u5b9a\u662f\u4e00\u4e2a\u82e6\u903c\u7684\u8c03\u7814\u8fc7\u7a0b\u3002<\/p>\n<p>\u6211\u4eec\u6700\u5f00\u59cb\u5c31\u9762\u4e342\u4e2a\u95ee\u9898\uff1a\u4e00\u662f\u5982\u4f55\u5524\u8d77\u672c\u5730app\uff0c\u4e8c\u662f\u5982\u4f55\u5224\u65ad\u6d4f\u89c8\u5668\u662f\u5426\u5b89\u88c5\u4e86\u5bf9\u5e94app\u3002<\/p>\n<p>\u5982\u4f55\u5524\u8d77\u672c\u5730app<\/p>\n<p>\u9996\u5148\uff0c\u60f3\u8981\u5b9e\u73b0\u8fd9\u4e2a\u9700\u6c42\uff0c\u80af\u5b9a\u662f\u5fc5\u987b\u8981\u5ba2\u6237\u7aef\u540c\u5b66\u7684\u914d\u5408\u624d\u884c\uff0c\u56e0\u6b64\u6211\u4eec\u4e0d\u7528\u77e5\u9053\u6240\u6709\u7684\u5b9e\u73b0\u7ec6\u8282\uff0c\u6211\u4eec\u4ece\u524d\u7aef\u89d2\u5ea6\u601d\u8003\u770b\u8fd9\u4e2a\u95ee\u9898\uff0c\u9700\u8981\u77e5\u9053\u7684\u4e00\u70b9\u662f\uff0cios\u4e0eAndroid\u90fd\u652f\u6301\u4e00\u79cd\u53eb\u505aschema\u534f\u8bae\u7684\u94fe\u63a5\u3002\u6bd4\u5982\u7f51\u6613\u65b0\u95fb\u5ba2\u6237\u7aef\u7684\u534f\u8bae\u4e3a<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nnewsapp:\/\/xxxxx\r\n<\/pre>\n<p><a href=\"https:\/\/www.jiandaima.com\/blog\/wp-content\/uploads\/2016\/07\/32aa9b431780e20d4d1021a84fdac09b.jpg\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/07\/32aa9b431780e20d4d1021a84fdac09b-600x317.jpg\" alt=\"32aa9b431780e20d4d1021a84fdac09b\" width=\"600\" height=\"317\" class=\"aligncenter size-large wp-image-608\" \/><\/a><\/p>\n<p>\u5f53\u7136\uff0c\u8fd9\u4e2a\u534f\u8bae\u4e0d\u9700\u8981\u6211\u4eec\u524d\u7aef\u53bb\u5b9e\u73b0\uff0c\u6211\u4eec\u53ea\u9700\u8981\u5c06\u534f\u8bae\u653e\u5728a\u6807\u7b7e\u7684href\u5c5e\u6027\u91cc\uff0c\u6216\u8005\u4f7f\u7528location.href\u4e0eiframe\u6765\u5b9e\u73b0\u6fc0\u6d3b\u8fd9\u4e2a\u94fe\u63a5\u3002\u800clocation.href\u4e0eiframe\u662f\u89e3\u51b3\u8fd9\u4e2a\u9700\u6c42\u7684\u5173\u952e\u3002<\/p>\n<p>\u5728ios\u4e2d\uff0c\u8fd8\u652f\u6301\u901a\u8fc7smart app banner\u6765\u5524\u8d77app\uff0c\u5373\u901a\u8fc7\u4e00\u4e2ameta\u6807\u7b7e\uff0c\u5728\u6807\u7b7e\u91cc\u5e26\u4e0aapp\u7684\u4fe1\u606f\uff0c\u548c\u6253\u5f00\u540e\u7684\u884c\u4e3a\uff0c\u4ee3\u7801\u5f62\u5982<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&lt;meta name=&quot;apple-itunes-app&quot; content=&quot;app-id=1023600494, app-argument=tigerbrokersusstock:\/\/com.tigerbrokers.usstock\/post?postId=7125&quot; \/&gt;\r\n<\/pre>\n<p>\u6211\u4eec\u8fd8\u9700\u8981\u77e5\u9053\u7684\u4e00\u70b9\u662f\uff0c\u5fae\u4fe1\u91cc\u5c4f\u853d\u4e86schema\u534f\u8bae\u3002\u9664\u975e\u4f60\u662f\u5fae\u4fe1\u7684\u5408\u4f5c\u4f19\u4f34\u4e4b\u7c7b\u7684\uff0c\u4ed6\u4eec\u4e13\u95e8\u7ed9\u4f60\u914d\u7f6e\u8fdb\u767d\u540d\u5355\u3002\u5426\u5219\u6211\u4eec\u5c31\u6ca1\u529e\u6cd5\u901a\u8fc7\u8fd9\u4e2a\u534f\u8bae\u5728\u5fae\u4fe1\u4e2d\u76f4\u63a5\u5524\u8d77app\u3002<\/p>\n<p>\u56e0\u6b64\u6211\u4eec\u4f1a\u5224\u65ad\u9875\u9762\u573a\u666f\u662f\u5426\u5728\u5fae\u4fe1\u4e2d\uff0c\u5982\u679c\u5728\u5fae\u4fe1\u4e2d\uff0c\u5219\u4f1a\u63d0\u793a\u7528\u6237\u5728\u6d4f\u89c8\u5668\u4e2d\u6253\u5f00\u3002<\/p>\n<p>\u5982\u4f55\u5224\u65ad\u672c\u5730\u662f\u5426\u5b89\u88c5\u4e86app<\/p>\n<p>\u9996\u5148\u6211\u4eec\u53ef\u4ee5\u786e\u8ba4\u7684\u662f\uff0c\u5728\u6d4f\u89c8\u5668\u4e2d\u65e0\u6cd5\u660e\u786e\u7684\u5224\u65ad\u672c\u5730\u662f\u5426\u5b89\u88c5\u4e86app\u3002\u56e0\u6b64\u6211\u4eec\u5fc5\u987b\u91c7\u53d6\u4e00\u4e9b\u53d6\u5de7\u7684\u601d\u8def\u6765\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u3002<\/p>\n<p>\u6211\u4eec\u80fd\u591f\u5f88\u5bb9\u6613\u60f3\u5230\uff0c\u91c7\u7528\u8bbe\u7f6e\u4e00\u4e2a\u5ef6\u8fdf\u5b9a\u65f6\u5668setTimeout\u7684\u65b9\u5f0f\uff0c\u7b2c\u4e00\u65f6\u95f4\u5c1d\u8bd5\u5524\u8d77app\uff0c\u5982\u679c200ms\u6ca1\u6709\u5524\u8d77\u6210\u529f\uff0c\u5219\u9ed8\u8ba4\u672c\u5730\u6ca1\u6709\u5b89\u88c5app\uff0c200ms\u4ee5\u540e\uff0c\u5c06\u4f1a\u89e6\u53d1\u4e0b\u8f7d\u884c\u4e3a\u3002<\/p>\n<p>\u7ed3\u5408\u8fd9\u4e2a\u601d\u8def\uff0c\u6211\u4eec\u6765\u5168\u5c40\u8003\u8651\u4e00\u4e0b\u8fd9\u4e2a\u9700\u6c42\u5e94\u8be5\u91c7\u7528\u4ec0\u4e48\u6837\u7684\u65b9\u6848\u6765\u5b9e\u73b0\u5b83\u3002<\/p>\n<p>\u4f7f\u7528location.href\u7684\u540c\u5b66\u53ef\u80fd\u4f1a\u9762\u4e34\u4e00\u4e2a\u62c5\u5fe7\uff0c\u5728\u6709\u7684\u6d4f\u89c8\u5668\u4e2d\uff0c\u5f53\u6211\u4eec\u5c1d\u8bd5\u6fc0\u6d3bschema link\u7684\u65f6\u5019\uff0c\u82e5\u672c\u5730\u6ca1\u6709\u5b89\u88c5app\uff0c\u5219\u4f1a\u8df3\u8f6c\u5230\u4e00\u4e2a\u6d4f\u89c8\u5668\u9ed8\u8ba4\u7684\u9519\u8bef\u9875\u9762\u53bb\u4e86\u3002\u56e0\u6b64\u5927\u591a\u6570\u4eba\u91c7\u7528\u7684\u89e3\u51b3\u65b9\u6848\u90fd\u662f\u4f7f\u7528iframe<\/p>\n<p>\u6d4b\u8bd5\u4e86\u5f88\u591a\u6d4f\u89c8\u5668\uff0c\u6ca1\u6709\u53d1\u73b0\u8fc7\u8fd9\u79cd\u60c5\u51b5<\/p>\n<p>\u540e\u6765\u89c2\u5bdf\u4e86\u7f51\u6613\u65b0\u95fb\uff0c\u4eca\u65e5\u5934\u6761\uff0cYY\u7b49\u7684\u5b9e\u73b0\u65b9\u6848\uff0c\u53d1\u73b0\u5927\u5bb6\u90fd\u91c7\u7528\u7684\u662fiframe\u6765\u5b9e\u73b0\u3002\u597d\u5427\uff0c\u9762\u5bf9\u8fd9\u79cd\u60c5\u51b5\uff0c\u53ea\u80fd\u5c48\u670d\u3002<\/p>\n<p>\u6574\u7406\u4e00\u4e0b\u76ee\u524d\u7684\u601d\u8def\uff0c\u5f97\u5230\u4e0b\u9762\u7684\u89e3\u51b3\u65b9\u6848<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n\r\nvar url = {\r\n  open: 'app:\/\/xxxxx',\r\n  down: 'xxxxxxxx'\r\n};\r\nvar iframe = document.createElement('iframe');\r\nvar body = document.body;\r\niframe.style.cssText='display:none;width=0;height=0';\r\nvar timer = null;\r\n\r\n\/\/ \u7acb\u5373\u6253\u5f00\u7684\u6309\u94ae\r\nvar openapp = document.getElementById('openapp');\r\nopenapp.addEventListener('click', function() {\r\n  if(\/MicroMessenger\/gi.test(navigator.userAgent) {\r\n    \/\/ \u5f15\u5bfc\u7528\u6237\u5728\u6d4f\u89c8\u5668\u4e2d\u6253\u5f00\r\n  }) else{\r\n    body.appendChild(iframe);\r\n    iframe.src = url.open;\r\n    timer = setTimeout(function() {\r\n      wondow.location.href = url.down;\r\n    }, 500);\r\n  }\r\n}, false)\r\n\r\n\r\n<\/pre>\n<p>\u60f3\u6cd5\u5f88\u7f8e\u597d\uff0c\u73b0\u5b9e\u5f88\u6b8b\u9177\u3002\u4e00\u6d4b\u8bd5\uff0c\u5c31\u53d1\u73b0\u7b80\u5355\u7684\u8fd9\u6837\u5b9e\u73b0\u6709\u8bb8\u591a\u7684\u95ee\u9898\u3002<\/p>\n<p>\u7b2c\u4e00\u4e2a\u95ee\u9898\u5728\u4e8e\uff0c\u5f53\u9875\u9762\u6210\u529f\u5524\u8d77app\u4e4b\u540e\uff0c\u6211\u4eec\u518d\u5207\u6362\u56de\u6765\u6d4f\u89c8\u5668\uff0c\u53d1\u73b0\u8df3\u8f6c\u5230\u4e86\u4e0b\u8f7d\u9875\u9762\u3002<\/p>\n<p>\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u53d1\u73b0\u5404\u4e2a\u516c\u53f8\u90fd\u8fdb\u884c\u4e86\u4e0d\u540c\u65b9\u5f0f\u7684\u5c1d\u8bd5\u3002<\/p>\n<p>\u4e5f\u662f\u5386\u7ecf\u7684\u5f88\u591a\u6298\u78e8\uff0c\u53d1\u73b0\u4e86\u51e0\u4e2a\u6bd4\u8f83\u6709\u7528\u7684\u4e8b\u4ef6\u3002<\/p>\n<p>pageshow\uff1a \u9875\u9762\u663e\u793a\u65f6\u89e6\u53d1\uff0c\u5728load\u4e8b\u4ef6\u4e4b\u540e\u89e6\u53d1\u3002\u9700\u8981\u5c06\u8be5\u4e8b\u4ef6\u7ed1\u5b9a\u5230window\u4e0a\u624d\u4f1a\u89e6\u53d1<\/p>\n<p>pagehide: \u9875\u9762\u9690\u85cf\u65f6\u89e6\u53d1<\/p>\n<p>visibilitychange\uff1a \u9875\u9762\u9690\u85cf\u6ca1\u6709\u5728\u5f53\u524d\u663e\u793a\u65f6\u89e6\u53d1\uff0c\u6bd4\u5982\u5207\u6362tab\uff0c\u4e5f\u4f1a\u89e6\u53d1\u8be5\u4e8b\u4ef6<\/p>\n<p>document.hidden \u5f53\u9875\u9762\u9690\u85cf\u65f6\uff0c\u8be5\u503c\u4e3atrue\uff0c\u663e\u793a\u65f6\u4e3afalse<\/p>\n<p>\u7531\u4e8e\u5404\u4e2a\u6d4f\u89c8\u5668\u7684\u652f\u6301\u60c5\u51b5\u4e0d\u540c\uff0c\u6211\u4eec\u9700\u8981\u5c06\u8fd9\u4e9b\u4e8b\u4ef6\u90fd\u7ed9\u7ed1\u5b9a\u4e0a\uff0c\u5373\u4f7f\u8fd9\u6837\uff0c\u4e5f\u4e0d\u4e00\u5b9a\u80fd\u591f\u4fdd\u8bc1\u6240\u6709\u7684\u6d4f\u89c8\u5668\u90fd\u80fd\u591f\u89e3\u51b3\u6389\u8fd9\u4e2a\u5c0f\u95ee\u9898\uff0c\u5b9e\u5728\u6ca1\u529e\u6cd5\u7684\u4e8b\u60c5\u5c31\u4e0d\u7ba1\u4e86\u3002<\/p>\n<p>\u56e0\u6b64\u9700\u8981\u6269\u5145\u4e00\u4e0b\u4e0a\u9762\u7684\u65b9\u6848\uff0c\u5f53\u672c\u5730app\u88ab\u5524\u8d77\uff0c\u5219\u9875\u9762\u4f1a\u9690\u85cf\u6389\uff0c\u5c31\u4f1a\u89e6\u53d1pagehide\u4e0evisibilitychange\u4e8b\u4ef6<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n$(document).on('visibilitychange webkitvisibilitychange', function() {\r\n    var tag = document.hidden || document.webkitHidden;\r\n    if (tag) {\r\n        clearTimeout(timer);\r\n    }\r\n})\r\n\r\n$(window).on('pagehide', function() {\r\n    clearTimeout(timer);\r\n})\r\n\r\n<\/pre>\n<p>\u800c\u53e6\u5916\u4e00\u4e2a\u95ee\u9898\u5c31\u662fIOS9+\u4e0b\u9762\u7684\u95ee\u9898\u4e86\u3002ios9\u7684Safari\uff0c\u6839\u672c\u4e0d\u652f\u6301\u901a\u8fc7iframe\u8df3\u8f6c\u5230\u5176\u4ed6\u9875\u9762\u53bb\u3002\u4e5f\u5c31\u662f\u8bf4\uff0c\u5728safari\u4e0b\uff0c\u6211\u7684\u6574\u4f53\u65b9\u6848\u88ab\u5168\u76d8\u5426\u51b3\uff01<\/p>\n<p>\u4e8e\u662f\u6211\u5c31\u53ea\u80fd\u5c1d\u8bd5\u4f7f\u7528location.href\u7684\u65b9\u5f0f\uff0c\u8fd9\u4e2a\u65b9\u5f0f\u80fd\u591f\u5524\u8d77app\uff0c\u4f46\u662f\u6709\u4e00\u4e2a\u5751\u7239\u7684\u95ee\u9898\uff0c\u4f7f\u7528schema\u534f\u8bae\u5524\u8d77app\u4f1a\u6709\u5f39\u7a97\u800c\u4e0d\u4f1a\u76f4\u63a5\u8df3\u8f6c\u53bbapp\uff01\u751a\u81f3\u5f53\u672c\u5730\u6ca1\u6709app\u65f6\uff0c\u4f1a\u88ab\u5224\u65ad\u4e3a\u94fe\u63a5\u65e0\u6548\uff0c\u7136\u540e\u8fd8\u6709\u4e00\u4e2a\u5f39\u7a97\u3002<\/p>\n<p>\u8fd9\u4e2a\u5f39\u7a97\u4f1a\u9020\u6210\u4ec0\u4e48\u95ee\u9898\u5462\uff1f\u5982\u679c\u7528\u6237\u4e0d\u70b9\u786e\u8ba4\u6309\u94ae\uff0c\u6839\u636e\u4e0a\u9762\u7684\u903b\u8f91\uff0c\u8fd9\u4e2a\u65f6\u5019\u5c31\u4f1a\u53d1\u73b0\u9875\u9762\u4f1a\u81ea\u52a8\u8df3\u8f6c\u5230\u4e0b\u8f7d\u53bb\u4e86\u3002\u800c\u4e14\u65e0\u6548\u7684\u5f39\u7a97\u63d0\u793a\u5728\u7528\u6237\u4f53\u9a8c\u4e0a\u662f\u4e0d\u5141\u8bb8\u51fa\u73b0\u7684\u3002<\/p>\n<p>\u597d\u5427\uff0c\u7ee7\u7eed\u6252\u522b\u4eba\u7684\u4ee3\u7801\uff0c\u770b\u770b\u522b\u4eba\u662f\u5982\u4f55\u5b9e\u73b0\u7684\u3002\u7136\u540e\u6211\u53c8\u53bb\u89c2\u6469\u4e86\u5176\u4ed6\u516c\u53f8\u7684\u5b9e\u73b0\u7ed3\u679c\uff0c\u53d1\u73b0\u7f51\u6613\u65b0\u95fb\uff0c\u4eca\u65e5\u5934\u6761\u90fd\u53ef\u4ee5\u5728ios\u76f4\u63a5\u4ece\u5fae\u4fe1\u4e2d\u5524\u8d77app\u3002\u771f\u662f\u795e\u5947\u4e86\uff0c\u53ef\u662f\u4eca\u65e5\u5934\u6761\u5728Android\u7248\u5fae\u4fe1\u4e0a\u4e5f\u6ca1\u529e\u6cd5\u76f4\u63a5\u5524\u8d77\u7684\uff0c\u4ed6\u4eec\u5728Android\u4e0a\u90fd\u662f\u76f4\u63a5\u5230\u817e\u8baf\u5e94\u7528\u5b9d\u7684\u4e0b\u8f7d\u91cc\u53bb\u3002\u6240\u4ee5\u6309\u9053\u7406\u6765\u8bf4\u8fd9\u4e0d\u662f\u6dfb\u52a0\u4e86\u767d\u540d\u5355\u3002<\/p>\n<p>\u4e3a\u4e86\u627e\u5230\u8fd9\u4e2a\u95ee\u9898\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u6211\u5728\u7f51\u6613\u65b0\u95fb\u7684\u9875\u9762\u4e2d\u6252\u51fa\u4e86\u4ed6\u4eec\u7684\u4ee3\u7801\uff0c\u5e76\u6574\u7406\u5982\u4e0b\uff0c\u6dfb\u52a0\u4e86\u90e8\u5206\u6ce8\u91ca<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n\r\nwindow.NRUM = window.NRUM || {};\r\nwindow.NRUM.config = {\r\n    key:'27e86c0843344caca7ba9ea652d7948d',\r\n    clientStart: +new Date()\r\n};\r\n(function() {\r\n    var n = document.getElementsByTagName('script')&#x5B;0],\r\n        s = document.createElement('script');\r\n\r\n    s.type = 'text\/javascript';\r\n    s.async = true;\r\n    s.src = '\/\/nos.netease.com\/apmsdk\/napm-web-min-1.1.3.js';\r\n    n.parentNode.insertBefore(s, n);\r\n})();\r\n\r\n\r\n;\r\n(function(window,doc){\r\n\r\n    \/\/ http:\/\/apm.netease.com\/manual?api=web\r\n    NRUM.mark &amp;&amp; NRUM.mark('pageload', true)\r\n\r\n    var list = &#x5B;]\r\n    var config = null\r\n\r\n    \/\/ jsonp\r\n    function jsonp(a, b, c) {\r\n        var d;\r\n        d = document.createElement('script');\r\n        d.src = a;\r\n        c &amp;&amp; (d.charset = c);\r\n        d.onload = function() {\r\n            this.onload = this.onerror = null;\r\n            this.parentNode.removeChild(this);\r\n            b &amp;&amp; b(!0);\r\n        };\r\n        d.onerror = function() {\r\n            this.onload = this.onerror = null;\r\n            this.parentNode.removeChild(this);\r\n            b &amp;&amp; b(!1);\r\n        };\r\n        document.head.appendChild(d);\r\n    };\r\n\r\n\r\n    function localParam(search,hash){\r\n        search = search || window.location.search;\r\n        hash = hash || window.location.hash;\r\n        var fn = function(str,reg){\r\n            if(str){\r\n                var data = {};\r\n                str.replace(reg,function( $0, $1, $2, $3 ){\r\n                    data&#x5B; $1 ] = $3;\r\n                });\r\n                return data;\r\n            }\r\n        }\r\n        return {search: fn(search,new RegExp( &quot;(&#x5B;^?=&amp;]+)(=(&#x5B;^&amp;]*))?&quot;, &quot;g&quot; ))||{},hash: fn(hash,new RegExp( &quot;(&#x5B;^#=&amp;]+)(=(&#x5B;^&amp;]*))?&quot;, &quot;g&quot; ))||{}};\r\n    }\r\n\r\n    jsonp('http:\/\/active.163.com\/service\/form\/v1\/5847\/view\/1047.jsonp')\r\n\r\n    window.search = localParam().search\r\n    window._callback = function(data) {\r\n        window._callback = null\r\n        list = data.list\r\n        if(search.s &amp;&amp; !!search.s.match(\/^wap\/i)) {\r\n            config = list.filter(function(item){\r\n                return item.type === 'wap'\r\n            })&#x5B;0]\r\n            return\r\n        }\r\n        config = list.filter(function(item){\r\n            return item.type === search.s\r\n        })&#x5B;0]\r\n    }\r\n\r\n    var isAndroid = !!navigator.userAgent.match(\/android\/ig),\r\n        isIos = !!navigator.userAgent.match(\/iphone|ipod\/ig),\r\n        isIpad = !!navigator.userAgent.match(\/ipad\/ig),\r\n        isIos9 = !!navigator.userAgent.match(\/OS 9\/ig),\r\n        isYx = !!navigator.userAgent.match(\/MailMaster_Android\/i),\r\n        isNewsapp = !!navigator.userAgent.match(\/newsapp\/i),\r\n        isWeixin = (\/MicroMessenger\/ig).test(navigator.userAgent),\r\n        isYixin = (\/yixin\/ig).test(navigator.userAgent),\r\n        isQQ = (\/qq\/ig).test(navigator.userAgent),\r\n        params = localParam().search,\r\n        url = 'newsapp:\/\/',\r\n        iframe = document.getElementById('iframe');\r\n\r\n    var isIDevicePhone = (\/iphone|ipod\/gi).test(navigator.platform);\r\n    var isIDeviceIpad = !isIDevicePhone &amp;&amp; (\/ipad\/gi).test(navigator.platform);\r\n    var isIDevice = isIDevicePhone || isIDeviceIpad;\r\n    var isandroid2_x = !isIDevice &amp;&amp; (\/android\\s?2\\.\/gi).test(navigator.userAgent);\r\n    var isIEMobile = !isIDevice &amp;&amp; !isAndroid &amp;&amp; (\/MSIE\/gi).test(navigator.userAgent);\r\n    var android_url = (!isandroid2_x) ? &quot;http:\/\/3g.163.com\/links\/4304&quot; : &quot;http:\/\/3g.163.com\/links\/6264&quot;;\r\n    var ios_url = &quot;http:\/\/3g.163.com\/links\/3615&quot;;\r\n    var wphone_url = &quot;http:\/\/3g.163.com\/links\/3614&quot;;\r\n    var channel = params.s || 'newsapp'\r\n\r\n    \/\/ \u5224\u65ad\u5728\u4e0d\u540c\u73af\u5883\u4e0bapp\u7684url\r\n    if(params.docid){\r\n        if(params&#x5B;'boardid'] &amp;&amp; params&#x5B;'title']){\r\n            url = url + 'comment\/' + params.boardid + '\/' + params.docid + '\/' + params.title\r\n        }else{\r\n            url = url + 'doc\/' + params.docid\r\n        }\r\n    }else if(params.sid){\r\n        url = url + 'topic\/' + params.sid\r\n    }else if(params.pid){\r\n        var pid = params.pid.split('_')\r\n        url = url + 'photo\/' + pid&#x5B;0] + '\/' + pid&#x5B;1]\r\n    }else if(params.vid){\r\n        url = url + 'video\/' + params.vid\r\n    }else if(params.liveRoomid){\r\n        url = url + 'live\/' + params.liveRoomid\r\n    }else if(params.url){\r\n        url = url + 'web\/' + decodeURIComponent(params.url)\r\n    }else if(params.expertid){\r\n        url = url + 'expert\/' + params.expertid\r\n    }else if(params.subjectid){\r\n        url = url + 'subject\/' + params.subjectid\r\n    }else if(params.readerid){\r\n        url = url + 'reader\/' + params.readerid\r\n    }else{\r\n        url += 'startup'\r\n    }\r\n    if(url.indexOf('?') &gt;= 0){\r\n        url += '&amp;s=' + (params.s || 'sps')\r\n    }else{\r\n        url += '?s=' + (params.s || 'sps')\r\n    }\r\n\r\n    \/\/ ios &amp;&amp; \u6613\u4fe1  \u7528iframe \u6253\u5f00\r\n    if((isIos||isIpad) &amp;&amp; navigator.userAgent.match(\/yixin\/i)) {\r\n        document.getElementById('iframe').src = url;\r\n    }\r\n\r\n    var height = document.documentElement.clientHeight;\r\n\r\n    \/\/ \u901a\u5e38\u60c5\u51b5\u4e0b\u5148\u5c1d\u8bd5\u4f7f\u7528iframe\u6253\u5f00\r\n    document.getElementById('iframe').src = url;\r\n\r\n    \/\/ \u79fb\u52a8\u7aef\u6d4f\u89c8\u5668\u4e2d\uff0c\u5c06\u4e0b\u8f7d\u9875\u9762\u663e\u793a\u51fa\u6765\r\n    if(!isWeixin &amp;&amp; !isQQ &amp;&amp; !isYixin &amp;&amp; !isYx){\r\n        document.querySelector('.main-body').style.display = 'block'\r\n        if(isIos9){\r\n            document.querySelector('.main-body').classList.add('showtip')\r\n        }\r\n\r\n        setTimeout(function(){\r\n            document.body.scrollTop = 0\r\n        },200)\r\n    }else{\r\n        document.getElementById('guide').style.display = 'block'\r\n    }\r\n\r\n    \/\/ Forward To Redirect Url\r\n    \/\/ Add by zhanzhixiang 12\/28\/2015\r\n    if (params.redirect) {\r\n        var redirectUrl = decodeURIComponent(params.redirect);\r\n        if ( typeof(URL) === 'function' &amp;&amp; new URL(redirectUrl).hostname.search(&quot;163.com&quot;) !== -1) {\r\n            window.location.href = redirectUrl;\r\n        } else if (redirectUrl.search(&quot;163.com&quot;) !== -1){\r\n            window.location.href = redirectUrl;\r\n        };\r\n    }\r\n\r\n    \/\/ Forward To Redirect Url End\r\n    if ((isWeixin || isQQ) &amp;&amp; isAndroid) {\r\n        window.location.href = 'http:\/\/a.app.qq.com\/o\/simple.jsp?pkgname=com.netease.newsreader.activity&amp;ckey=CK1331205846719&amp;android_schema=' +\u3000url.match(\/(.*)\\?\/)&#x5B;1]\r\n    }\r\n\r\n    if(isIos||isIpad){\r\n        document.getElementById(&quot;guide&quot;).classList.add('iosguideopen')\r\n    }else if (isAndroid){\r\n        document.getElementById(&quot;guide&quot;).classList.add('androidguideopen')\r\n    }else{\r\n        \/\/ window.location.href = 'http:\/\/www.163.com\/newsapp'\r\n    }\r\n\r\n    document.getElementById('link').addEventListener('click', function(){\r\n\r\n        \/\/ \u7edf\u8ba1\r\n        neteaseTracker &amp;&amp; neteaseTracker(false,'http:\/\/sps.163.com\/func\/?func=downloadapp&amp;modelid='+modelid+'&amp;spst='+spst+'&amp;spsf&amp;spss=' + channel,'', 'sps' )\r\n\r\n        if (config) {\r\n            android_url = config.android\r\n        }\r\n        if (config &amp;&amp; config.iOS) {\r\n            ios_url = config.iOS\r\n        }\r\n        if(isWeixin || isQQ){\r\n            return\r\n        }\r\n        var msg = isIDeviceIpad ? &quot;\u68c0\u6d4b\u5230\u60a8\u6b63\u5728\u4f7f\u7528iPad, \u662f\u5426\u76f4\u63a5\u524d\u5f80AppStore\u4e0b\u8f7d?&quot; : &quot;\u68c0\u6d4b\u5230\u60a8\u6b63\u5728\u4f7f\u7528iPhone, \u662f\u5426\u76f4\u63a5\u524d\u5f80AppStore\u4e0b\u8f7d?&quot;;\r\n        if (isIDevice){\r\n            window.location = ios_url;\r\n            return;\r\n        }else if(isAndroid){\r\n            \/\/ uc\u6d4f\u89c8\u5668\u7528iframe\u5524\u9192\r\n            if(navigator.userAgent.match(\/ucbrowser|yixin|MailMaster\/i)){\r\n                document.getElementById('iframe').src = url;\r\n            } else {\r\n                window.location.href = url;\r\n            }\r\n            setTimeout(function(){\r\n                if(document.webkitHidden) {\r\n                    return\r\n                }\r\n                if (confirm(&quot;\u68c0\u6d4b\u5230\u60a8\u6b63\u5728\u4f7f\u7528Android \u624b\u673a\uff0c\u662f\u5426\u76f4\u63a5\u4e0b\u8f7d\u7a0b\u5e8f\u5b89\u88c5\u5305\uff1f&quot;)) {\r\n                    neteaseTracker &amp;&amp; neteaseTracker(false,'http:\/\/sps.163.com\/func\/?func=downloadapp_pass&amp;modelid='+modelid+'&amp;spst='+spst+'&amp;spsf&amp;spss=' + channel,'', 'sps' )\r\n                    window.location.href = android_url;\r\n                } else {\r\n                    neteaseTracker &amp;&amp; neteaseTracker(false,'http:\/\/sps.163.com\/func\/?func=downloadapp_cancel&amp;modelid='+modelid+'&amp;spst='+spst+'&amp;spsf&amp;spss=' + channel,'', 'sps' )\r\n                }\r\n            },200)\r\n            return;\r\n        }else if(isIEMobile){\r\n            window.location = wphone_url;\r\n            return;\r\n        }else{\r\n            window.open('http:\/\/www.163.com\/special\/00774IQ6\/newsapp_download.html');\r\n            return;\r\n        }\r\n    }, false)\r\n\r\n    setTimeout(function(){\r\n        if(isIDevice &amp;&amp; params.notdownload != 1 &amp;&amp; !isNewsapp &amp;&amp; !isIos9){\r\n            document.getElementById('link').click()\r\n        }\r\n    }, 1000)\r\n\r\n})(window,document);\r\n\r\n<\/pre>\n<p>\u867d\u7136\u6709\u4e00\u4e9b\u5916\u90e8\u7684\u5f15\u7528\uff0c\u548c\u4e00\u4e9b\u641e\u4e0d\u61c2\u662f\u5e72\u4ec0\u4e48\u7528\u7684\u65b9\u6cd5\u548c\u53d8\u91cf\uff0c\u4f46\u662f\u57fa\u672c\u903b\u8f91\u8fd8\u662f\u80fd\u591f\u770b\u660e\u767d\u3002\u597d\u50cf\u4e5f\u6ca1\u6709\u4ec0\u4e48\u7279\u522b\u7684\u5730\u65b9\u3002\u7814\u7a76\u4e86\u8bb8\u4e45\uff0c\u770b\u5230\u4e86\u4e00\u4e2ajsonp\u8bf7\u6c42\u5f88\u5947\u7279\u3002\u8fd9\u662f\u6765\u5e72\u561b\u7528\u7684\uff1f<\/p>\n<p>\u4e8e\u662f\u8d39\u5c3d\u5343\u8f9b\u4e07\u82e6\uff0c\u641c\u7d22\u4e86\u5f88\u591a\u6587\u7ae0\uff0c\u6700\u7ec8\u9501\u5b9a\u4e86\u4e00\u4e2a\u5173\u952e\u7684\u540d\u8bcd Universal links\u3002<\/p>\n<p>\u5982\u679c\u6211\u65e9\u77e5\u9053\u8fd9\u4e2a\u540d\u8bcd\uff0c\u90a3\u4e48\u95ee\u9898\u5c31\u4e0d\u4f1a\u53d8\u7684\u90a3\u4e48\u675f\u624b\u65e0\u7b56\u3002\u6240\u4ee5\u8fd9\u4e2a\u4e1c\u897f\u662f\u4ec0\u4e48\u5462\uff1f<\/p>\n<p>Apple\u4e3aiOS 9\u53d1\u5e03\u4e86\u4e00\u4e2a\u6240\u8c13\u7684\u901a\u7528\u94fe\u63a5\u7684\u6df1\u5c42\u94fe\u63a5\u7279\u6027\uff0c\u5373Universal links\u3002\u867d\u7136\u5b83\u5e76\u4e0d\u5b8c\u7f8e\uff0c\u4f46\u662f\u8fd9\u4e00\u53d1\u5e03\uff0c\u8ba9\u6570\u4ee5\u5343\u8ba1\u7684\u5e94\u7528\u5f00\u53d1\u4eba\u5458\u7a81\u7136\u610f\u8bc6\u5230\u81ea\u5df1\u7684\u5e94\u7528\u4f53\u9a8c\u88ab\u6253\u7834\u3002<\/p>\n<p>Universal links\uff0c\u4e00\u79cd\u80fd\u591f\u65b9\u4fbf\u7684\u901a\u8fc7\u4f20\u7edf\u7684HTTP\/HTTPS \u94fe\u63a5\u6765\u542f\u52a8App\uff0c\u4f7f\u7528\u76f8\u540c\u7684\u7f51\u5740\u6253\u5f00\u7f51\u7ad9\u548cApp\u3002<\/p>\n<p>\u5173\u4e8e\u8fd9\u4e2a\u95ee\u9898\u7684\u63d0\u95ee\u4e0euniversal links\u7684\u4ecb\u7ecd \u70b9\u51fb\u8fd9\u91cc\u67e5\u770b<\/p>\n<p>ios9\u63a8\u884c\u7684\u4e00\u4e2a\u65b0\u7684\u534f\u8bae\uff01<\/p>\n<p>\u5173\u4e8e\u672c\u6587\u7684\u8fd9\u4e2a\u95ee\u9898\uff0c\u56fd\u5185\u7684\u8bba\u575b\u6709\u8bb8\u8bb8\u591a\u591a\u7684\u6587\u7ae0\u6765\u89e3\u51b3\uff0c\u4f46\u662f\u63d0\u5230universal links\u7684\u6587\u7ae0\u5c11\u4e4b\u53c8\u5c11\uff0c\u800c\u6211\u60f3\u5410\u69fd\u7684\u662f\uff0c\u6211\u4eec\u7684ios\u5f00\u53d1\u4e5f\u5c3c\u739b\u4e0d\u77e5\u9053\u8fd9\u4e2a\u540d\u8bcd\uff0c\u641e\u4ec0\u4e48\u9b3c\u3002\u4ed6\u6539\u53d8\u4e86\u7528\u6237\u4f53\u9a8c\u7684\u5173\u952e\u5728\u4e8e\uff0c\u5fae\u4fe1\u6ca1\u6709\u5c4f\u853d\u8fd9\u4e2a\u534f\u8bae\u3002\u56e0\u6b64\u5982\u679c\u6211\u4eec\u7684app\u6ce8\u518c\u4e86\u8fd9\u4e2a\u534f\u8bae\uff0c\u90a3\u4e48\u6211\u4eec\u5c31\u80fd\u591f\u4ece\u5fae\u4fe1\u4e2d\u76f4\u63a5\u5524\u8d77app\u3002<\/p>\n<p>\u8fd9\u4e2a\u65f6\u5019\u6211\u5c31\u53d1\u73b0\uff0c\u4e0a\u9762\u8d34\u7684\u7f51\u6613\u65b0\u95fb\u4ee3\u7801\u4e2d\u7684jsonp\u8bf7\u6c42\u7684\u5185\u5bb9\uff0c\u5c31\u662f\u8fd9\u4e2a\u534f\u8bae\u5fc5\u987b\u7684\u4e00\u4e2a\u53eb\u505aapple-app-site-association\u7684JSON\u6587\u4ef6<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n{\r\n   &quot;applinks&quot;: {\r\n       &quot;apps&quot;: &#x5B; ],\r\n       &quot;details&quot;: {\r\n           &quot;TEAM-IDENTIFIER.YOUR.BUNDLE.IDENTIFIER&quot;: {\r\n               &quot;paths&quot;: &#x5B;\r\n                   &quot;*&quot;\r\n               ]\r\n           }\r\n       }\r\n   }\r\n}\r\n\r\n<\/pre>\n<p>\u5927\u5bb6\u53ef\u4ee5\u76f4\u63a5\u8bbf\u95ee\u8fd9\u4e2a\u94fe\u63a5\uff0c\u67e5\u770b\u91cc\u9762\u7684\u5185\u5bb9<\/p>\n<p>http:\/\/active.163.com\/service\/form\/v1\/5847\/view\/1047.jsonp<\/p>\n<p>\u81f3\u4e8euniversal links\u5177\u4f53\u5982\u4f55\u5b9e\u73b0\uff0c\u8ba9ios\u7684\u540c\u5b66\u53bb\u641e\u5b9a\u5427\uff0c\u8fd9\u91cc\u63d0\u4f9b\u4e24\u4e2a\u53c2\u8003\u6587\u7ae0<\/p>\n<p>http:\/\/www.cocoachina.com\/bbs\/read.php?tid-1486368.html<\/p>\n<p>https:\/\/blog.branch.io\/how-to-setup-universal-links-to-deep-link-on-apple-ios-9<\/p>\n<p>\u652f\u6301\u4e86\u8fd9\u4e2a\u534f\u8bae\u4e4b\u540e\uff0c\u6211\u4eec\u53c8\u53ef\u4ee5\u901a\u8fc7iframe\u6765\u5524\u8d77app\u4e86\uff0c\u56e0\u6b64\u57fa\u672c\u903b\u8f91\u5c31\u662f\u8fd9\u6837\u4e86\u3002\u6700\u7ec8\u7684\u8c03\u7814\u7ed3\u679c\u662f<\/p>\n<p>\u6ca1\u6709\u5b8c\u7f8e\u7684\u89e3\u51b3\u65b9\u6848<\/p>\n<p>\u5c31\u7b97\u662f\u7f51\u6613\u65b0\u95fb\uff0c\u8fd9\u4e2a\u6309\u94ae\u5728\u4f7f\u7528\u8fc7\u7a0b\u4e2d\u4e5f\u4f1a\u6709\u4e00\u4e9b\u5c0fbug\uff0c\u65e0\u6cd5\u505a\u5230\u5b8c\u7f8e\u7684\u72b6\u6001\u3002<\/p>\n<p>\u56e0\u4e3a\u6211\u4eec\u9762\u4e34\u8bb8\u591a\u6ca1\u529e\u6cd5\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u6bd4\u5982\u65e0\u6cd5\u771f\u6b63\u610f\u4e49\u4e0a\u7684\u5224\u65ad\u672c\u5730\u662f\u5426\u5b89\u88c5\u4e86app\uff0cpageshow\uff0cpagehide\u5e76\u4e0d\u662f\u6240\u6709\u7684\u6d4f\u89c8\u5668\u90fd\u652f\u6301\u7b49\u3002\u5f88\u591a\u5176\u4ed6\u535a\u5ba2\u91cc\u9762\uff0c\u4ec0\u4e48\u8ba1\u7b97\u65f6\u95f4\u5dee\u7b49\u65b9\u6848\uff0c\u6839\uff01\u672c\uff01\u6ca1\uff01\u6709\uff01\u7528\uff01\u6211\u8fd8\u82b1\u4e86\u5f88\u4e45\u7684\u65f6\u95f4\u53bb\u7814\u7a76\u8fd9\u4e2a\u65b9\u6848\u3002<\/p>\n<p>\u8001\u5b9e\u8bf4\uff0c\u4ece\u5fae\u4fe1\u4e2d\u8df3\u8f6c\u5230\u5916\u90e8\u6d4f\u89c8\u5668\uff0c\u5e76\u4e0d\u662f\u4e00\u4e2a\u597d\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u8fd9\u6837\u4f1a\u5bfc\u81f4\u5f88\u591a\u7528\u6237\u6d41\u5931\uff0c\u56e0\u6b64\u5927\u5bb6\u90fd\u5728ios\u4e0a\u5b9e\u73b0\u4e86universal links\uff0c\u800c\u6211\u66f4\u52a0\u503e\u5411\u7684\u65b9\u6848\u662f\u77e5\u4e4e\u7684\u89e3\u51b3\uff0c\u4ed6\u4eec\u4ece\u8bbe\u8ba1\u4e0a\u907f\u514d\u4e86\u5728\u4e00\u4e2a\u6309\u94ae\u4e0a\u6765\u5224\u65ad\u8fd9\u4e2a\u903b\u8f91\uff0c\u800c\u91c7\u7528\u4e86\u4e24\u4e2a\u6309\u94ae\u7684\u65b9\u5f0f\u3002<\/p>\n<p>\u7f51\u6613\u65b0\u95fb\u7684\u903b\u8f91\u662f\uff0c\u70b9\u51fb\u6253\u5f00\u4f1a\u8c03\u6574\u5230\u4e00\u4e2a\u4e0b\u8f7d\u9875\u9762\uff0c\u8fd9\u4e2a\u4e0b\u8f7d\u9875\u9762\u4e00\u52a0\u8f7d\u5b8c\u6210\u5c31\u5c1d\u8bd5\u6253\u5f00app\uff0c\u5982\u679c\u6253\u5f00\u4e86\u5c31\u76f4\u63a5\u8dd1\u5230app\u91cc\u9762\u53bb\u4e86\uff0c\u5982\u679c\u6ca1\u6709\u5c31\u5728\u9875\u9762\u4e0a\u6709\u4e00\u4e2a\u7acb\u5373\u4e0b\u8f7d\u7684\u6309\u94ae\uff0c\u6309\u94ae\u884c\u53ea\u6709\u4e0b\u8f7d\u5904\u7406\u3002<\/p>\n<p>\u8fd9\u4e2a\u95ee\u9898\u5c31\u603b\u7ed3\u5230\u8fd9\u91cc\uff0c\u5982\u679c\u5927\u5bb6\u6709\u66f4\u597d\u7684\u65b9\u6848\uff0c\u6b22\u8fce\u4e0e\u6211\u6c9f\u901a\u3002<\/p>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>\u6d4f\u89c8\u5668\u4e2d\u5524\u8d77native app || \u8df3\u8f6c\u5230\u5e94\u7528\u5546\u57ce\u4e0b\u8f7d,\u5728\u5206\u4eab\u51fa\u6765\u7684h5\u9875\u9762\u4e2d\uff0c\u6709\u4e00\u4e2a\u7acb\u5373\u6253\u5f00\u7684\u6309\u94ae\uff0c\u5982\u679c\u672c\u5730\u5b89\u88c5\u4e86\u6211\u4eec\u7684app\uff0c\u90a3\u4e48\u70b9\u51fb\u5c31\u76f4\u63a5\u5524\u8d77\u672c\u5730app\uff0c\u5982\u679c\u6ca1\u6709\u5b89\u88c5\uff0c\u5219\u8df3\u8f6c\u5230\u4e0b\u8f7d\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[159,157,158],"class_list":["post-607","post","type-post","status-publish","format-standard","hentry","category-the-development-of-communication-technology","tag-app","tag-157","tag-nativeapp"],"post_thumbnail_image":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/07\/32aa9b431780e20d4d1021a84fdac09b.jpg","content_first_image":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/07\/32aa9b431780e20d4d1021a84fdac09b.jpg","post_medium_image_300":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/07\/32aa9b431780e20d4d1021a84fdac09b.jpg","post_thumbnail_image_624":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/07\/32aa9b431780e20d4d1021a84fdac09b.jpg","post_frist_image":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/07\/32aa9b431780e20d4d1021a84fdac09b.jpg","post_medium_image":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/07\/32aa9b431780e20d4d1021a84fdac09b.jpg","post_large_image":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/07\/32aa9b431780e20d4d1021a84fdac09b.jpg","post_full_image":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/07\/32aa9b431780e20d4d1021a84fdac09b.jpg","post_all_images":[{"imagesurl":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/07\/32aa9b431780e20d4d1021a84fdac09b-600x317.jpg","id":"image0"}],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":5,"total_comments":3,"category_name":"\u5f00\u53d1\u6280\u672f\u4ea4\u6d41","post_date":"2016-07-04","like_count":"0","praiseWord":"\u9f13\u52b1","copyright_state":"","excitationAd":"0","rewardedVideoAdId":"","detailAdId":"","detailAd":"0","enterpriseMinapp":"0","audios":[],"postImageUrl":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2020\/02\/img_5e44112722964.png","avatarurls":[],"related_posts":[],"pageviews":650,"next_post_id":673,"next_post_title":"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5f00\u53d1\u6559\u7a0b\uff01","previous_post_id":559,"previous_post_title":"\u600e\u4e48\u5224\u65ad\u767e\u5ea6\u7f51\u76d8\u5206\u4eab\u8fde\u63a5\u5df2\u7ecf\u5931\u6548\uff1f\u6709\u90a3\u4e48\u7b80\u5355\u5417\uff1fjava+python","_links":{"self":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/posts\/607","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/comments?post=607"}],"version-history":[{"count":0,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/posts\/607\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/media?parent=607"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/categories?post=607"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/tags?post=607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}