{"id":31615,"date":"2025-04-21T20:40:58","date_gmt":"2025-04-21T12:40:58","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/31615.html"},"modified":"2025-04-21T20:40:58","modified_gmt":"2025-04-21T12:40:58","slug":"%e6%b5%8f%e8%a7%88%e5%99%a8%e5%90%8c%e6%ba%90%e7%ad%96%e7%95%a5%e3%80%81%e8%b7%a8%e5%9f%9f%e3%80%81%e8%b7%a8%e5%9f%9f%e8%af%b7%e6%b1%82%ef%bc%8c%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%a4%84%e7%90%86%e6%b2%a1","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/31615.html","title":{"rendered":"\u6d4f\u89c8\u5668\u540c\u6e90\u7b56\u7565\u3001\u8de8\u57df\u3001\u8de8\u57df\u8bf7\u6c42\uff0c\u670d\u52a1\u5668\u5904\u7406\u6ca1\u3001\u8de8\u57df\u89e3\u51b3\u65b9\u6848"},"content":{"rendered":"<\/p>\n<h4>\u76ee\u5f55<\/h4>\n<ul>\n<li>\n<ul>\n<li>\u4ec0\u4e48\u662f\u540c\u6e90\u7b56\u7565<\/li>\n<li>\u4ec0\u4e48\u662f\u8de8\u57df<\/li>\n<li>\n<ul>\n<li>\u53d1\u751f\u8de8\u57df\u65f6&#xff0c;\u670d\u52a1\u5668\u6709\u6ca1\u6709\u63a5\u5230\u8bf7\u6c42\u5e76\u5904\u7406\u54cd\u5e94&#xff1a;&#xff08;\u4e24\u79cd\u60c5\u51b5&#xff09;<\/li>\n<\/ul>\n<\/li>\n<li>\u5982\u4f55\u89e3\u51b3\u8de8\u57df<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>\u4ec0\u4e48\u662f\u540c\u6e90\u7b56\u7565<\/h3>\n<p>\u6982\u5ff5&#xff1a; \u540c\u6e90\u7b56\u7565\u662f\u6d4f\u89c8\u5668\u7684\u4e00\u79cd\u5b89\u5168\u673a\u5236&#xff0c;\u7528\u4e8e\u9632\u6b62\u6076\u610f\u7f51\u7ad9\u5bf9\u7528\u6237\u7684\u654f\u611f\u6570\u636e\u8fdb\u884c\u672a\u7ecf\u6388\u6743\u7684\u8bbf\u95ee\u3002\u5b83\u9650\u5236\u4e86\u4ece\u4e00\u4e2a\u6e90\u52a0\u8f7d\u7684\u811a\u672c\u5bf9\u53e6\u4e00\u4e2a\u6e90\u7684\u8d44\u6e90\u8fdb\u884c\u8bbf\u95ee\u3002 \u7b80\u5355\u6765\u8bf4&#xff0c;\u540c\u6e90\u7b56\u7565\u89c4\u5b9a\u53ea\u6709\u5f53\u4e24\u4e2a\u9875\u9762\u7684\u534f\u8bae\u3001\u57df\u540d\u548c\u7aef\u53e3\u90fd\u76f8\u540c\u65f6&#xff0c;\u5b83\u4eec\u624d\u5c5e\u4e8e\u540c\u4e00\u4e2a\u6e90&#xff0c;\u5141\u8bb8\u76f8\u4e92\u8bbf\u95ee\u8d44\u6e90\u3002<\/p>\n<p>\u597d\u5904&#xff1a;<\/p>\n<li>\u4fdd\u62a4\u7528\u6237\u6570\u636e\u5b89\u5168&#xff0c;\u4e0d\u540c\u6e90\u7684\u811a\u672c\u65e0\u6cd5\u8bbf\u95ee\u53e6\u4e00\u4e2a\u6e90\u7684Cookie\u3001LocalStorage\u3001SessionStorage<\/li>\n<li>\u4e0d\u540c\u6e90\u7684\u811a\u672c\u65e0\u6cd5\u8bfb\u53d6\u6216\u64cd\u4f5c\u53e6\u4e00\u4e2a\u6e90\u7684Dom<\/li>\n<li>\u8de8\u6e90\u7684XMLHttpRequest\u6216Fetch\u8bf7\u6c42\u4f1a\u88ab\u6d4f\u89c8\u5668\u963b\u6b62&#xff0c;\u9664\u975e\u76ee\u6807\u670d\u52a1\u5668\u5141\u8bb8&#xff08;\u4f7f\u7528CORS&#xff09;<\/li>\n<h3>\u4ec0\u4e48\u662f\u8de8\u57df<\/h3>\n<p>\u5f53\u4e00\u4e2a\u7f51\u9875\u8bd5\u56fe\u8bbf\u95ee\u4e0d\u540c\u6765\u6e90\u7684\u8d44\u6e90&#xff08;\u5982API\u3001\u56fe\u7247\u3001\u811a\u672c\u3001\u6570\u636e\u7b49&#xff09;&#xff0c;\u5c31\u4f1a\u53d1\u751f\u8de8\u57df&#xff0c;\u5e38\u8bf4\u7684\u8de8\u57df\u6307\u7684\u662fajax\u8c03\u7528\u63a5\u53e3\u65f6\u7684\u8de8\u57df&#xff0c;\u6d4f\u89c8\u5668\u4f1a\u6839\u636e\u540c\u6e90\u7b56\u7565\u6765\u5224\u65ad\u6765\u6e90\u662f\u5426\u4e00\u81f4&#xff0c;\u5982\u679c\u4e0d\u4e00\u81f4\u5c31\u8ba4\u4e3a\u662f\u8de8\u57df\u8bf7\u6c42\u3002\u5982\u679c\u670d\u52a1\u5668\u6ca1\u6709\u505a\u4e00\u4e9b\u914d\u7f6e&#xff0c;\u90a3\u4e48\u8de8\u57df\u8bf7\u6c42\u4f1a\u5931\u8d25\u3002<\/p>\n<h4>\u53d1\u751f\u8de8\u57df\u65f6&#xff0c;\u670d\u52a1\u5668\u6709\u6ca1\u6709\u63a5\u5230\u8bf7\u6c42\u5e76\u5904\u7406\u54cd\u5e94&#xff1a;&#xff08;\u4e24\u79cd\u60c5\u51b5&#xff09;<\/h4>\n<li>\u7b80\u5355\u8bf7\u6c42&#xff1a;\n<li>\u4f7f\u7528\u7684\u65b9\u6cd5\u662fget\u3001post\u65f6<\/li>\n<li>http\u5934\u90e8\u5305\u542b\u5b57\u6bb5&#xff08;Accept\u3001 Accept-Language \u3001 Content-Language \u3001Content-Type&#xff08;\u503c\u4ec5\u9650\u4e8e text\/plain\u3001multipart\/form-data \u6216 application\/x-www-form-urlencoded&#xff09;<\/li>\n<\/li>\n<p>\u670d\u52a1\u5668\u4f1a\u6536\u5230\u8bf7\u6c42\u5e76\u5904\u7406\u8be5\u8bf7\u6c42\u8fd4\u56de\u54cd\u5e94&#xff0c;\u5982\u679c\u670d\u52a1\u5668\u5e76\u6ca1\u6709\u8bbe\u7f6e\u8de8\u57df\u7684\u54cd\u5e94\u5934(\u5982Access-Control-Allow-Origin)&#xff0c;\u6d4f\u89c8\u5668\u4f1a\u963b\u6b62\u524d\u7aef\u4ee3\u7801\u8bbf\u95ee\u54cd\u5e94\u6570\u636e&#xff0c;\u4f46\u670d\u52a1\u5668\u5df2\u7ecf\u6267\u884c\u4e86\u8bf7\u6c42\u903b\u8f91<\/p>\n<li>\u590d\u6742\u8bf7\u6c42&#xff1a;\n<li>put\u3001delete\u7b49\u65b9\u6cd5<\/li>\n<li>\u5305\u542b\u81ea\u5b9a\u4e49\u7684\u8bf7\u6c42\u5934&#xff08;\u5982 Authorization\u3001X-Custom-Header&#xff09; \u3001Content-Type \u7684\u503c\u662f\u975e\u7b80\u5355\u503c&#xff08;\u5982 application\/json&#xff09;<\/li>\n<\/li>\n<p>\u9884\u68c0\u8bf7\u6c42\u673a\u5236&#xff0c;\u5728\u53d1\u9001\u590d\u6742\u8bf7\u6c42\u4e4b\u524d&#xff0c;\u6d4f\u89c8\u5668\u4f1a\u81ea\u52a8\u53d1\u8d77\u4e00\u4e2aOPTIONS\u9884\u68c0\u8bf7\u6c42\u3002\u5982\u679c\u9884\u68c0\u8bf7\u6c42\u901a\u8fc7&#xff0c;\u6d4f\u89c8\u5668\u4f1a\u53d1\u9001\u5b9e\u9645\u8bf7\u6c42&#xff0c;\u5982\u679c\u9884\u68c0\u5931\u8d25&#xff0c;\u6d4f\u89c8\u5668\u4f1a\u76f4\u63a5\u963b\u6b62\u8bf7\u6c42\u53d1\u9001\u3002<\/p>\n<h3>\u5982\u4f55\u89e3\u51b3\u8de8\u57df<\/h3>\n<li>\u6211\u4eec\u9879\u76ee\u4f7f\u7528\u7684\u662f\u4ee3\u7406\u670d\u52a1\u5668\u89e3\u51b3\u8de8\u57df\u95ee\u9898&#xff0c;\u8de8\u57df\u95ee\u9898\u662f\u5b58\u5728\u4e8e\u6d4f\u89c8\u5668\u548c\u670d\u52a1\u5668\u4e4b\u95f4&#xff0c;\u670d\u52a1\u5668\u548c\u670d\u52a1\u5668\u4e4b\u95f4\u662f\u4e0d\u5b58\u5728\u8de8\u57df\u95ee\u9898\u7684\u3002<\/li>\n<ul>\n<li>\u5f00\u53d1\u73af\u5883\u901a\u8fc7Vue\u914d\u7f6e\u4ee3\u7406\u670d\u52a1\u5668\u3002\u5728vue.config.js\u4e2d\u6dfb\u52a0devServer.proxy\u914d\u7f6e\u3002\u5c06\u9879\u76eedev-api\u5f00\u5934\u7684\u8bf7\u6c42\u8f6c\u53d1\u5230\u9879\u76ee\u540e\u53f0\u670d\u52a1\u5668\u4e0a<\/li>\n<\/ul>\n<p>module<span class=\"token punctuation\">.<\/span>exports <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token literal-property property\">devServer<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token literal-property property\">proxy<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token comment\">\/\/ \u4ee3\u7406 &#096;\/api&#096; \u5f00\u5934\u7684\u8bf7\u6c42<\/span><br \/>\n      <span class=\"token string-property property\">&#039;\/dev-api&#039;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token literal-property property\">target<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#039;http:\/\/example.com&#039;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token comment\">\/\/ \u76ee\u6807\u670d\u52a1\u5668\u5730\u5740<\/span><br \/>\n      <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<ul>\n<li>\u751f\u4ea7\u73af\u5883\u662f\u901a\u8fc7nginx\u914d\u7f6e\u53cd\u5411\u4ee3\u7406&#xff0c;\u5728nginx\u7684conf\u914d\u7f6e\u6587\u4ef6\u4e2d\u914d\u7f6e\u5c06prod-api\u5f00\u5934\u7684\u8bf7\u6c42\u8f6c\u53d1\u5230\u9879\u76ee\u540e\u53f0\u670d\u52a1\u5668\u4e0a\u3002<\/li>\n<\/ul>\n<p>location <span class=\"token operator\">\/<\/span>prod<span class=\"token operator\">&#8211;<\/span>api  <span class=\"token punctuation\">{<\/span><br \/>\n  proxy_pass https<span class=\"token operator\">:<\/span><span class=\"token operator\">\/<\/span><span class=\"token operator\">\/<\/span>heimahr<span class=\"token operator\">&#8211;<\/span>t<span class=\"token punctuation\">.<\/span>itheima<span class=\"token punctuation\">.<\/span>net<span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<li>\u4f7f\u7528CORS&#xff0c;\u670d\u52a1\u5668\u8bbe\u7f6e\u7279\u5b9a\u7684http\u54cd\u5e94\u5934&#xff0c;\u544a\u8bc9\u6d4f\u89c8\u5668\u54ea\u4e9b\u8de8\u57df\u8bf7\u6c42\u662f\u88ab\u5141\u8bb8\u7684\u3002<\/li>\n<p>\u5728\u670d\u52a1\u5668\u7aef\u6dfb\u52a0\u4ee5\u4e0b\u54cd\u5e94\u5934&#xff1a;<br \/>\nAccess<span class=\"token operator\">&#8211;<\/span>Control<span class=\"token operator\">&#8211;<\/span>Allow<span class=\"token operator\">&#8211;<\/span>Origin<span class=\"token operator\">:<\/span> \u6307\u5b9a\u5141\u8bb8\u8bbf\u95ee\u7684\u6765\u6e90&#xff08;\u5982 https<span class=\"token operator\">:<\/span><span class=\"token operator\">\/<\/span><span class=\"token operator\">\/<\/span>example<span class=\"token punctuation\">.<\/span>com \u6216 <span class=\"token operator\">*<\/span>&#xff09;\u3002<br \/>\nAccess<span class=\"token operator\">&#8211;<\/span>Control<span class=\"token operator\">&#8211;<\/span>Allow<span class=\"token operator\">&#8211;<\/span>Methods<span class=\"token operator\">:<\/span> \u6307\u5b9a\u5141\u8bb8\u7684\u8bf7\u6c42\u65b9\u6cd5&#xff08;\u5982 <span class=\"token constant\">GET<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token constant\">POST<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token constant\">PUT<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token constant\">DELETE<\/span>&#xff09;\u3002<br \/>\nAccess<span class=\"token operator\">&#8211;<\/span>Control<span class=\"token operator\">&#8211;<\/span>Allow<span class=\"token operator\">&#8211;<\/span>Headers<span class=\"token operator\">:<\/span> \u6307\u5b9a\u5141\u8bb8\u7684\u81ea\u5b9a\u4e49\u8bf7\u6c42\u5934&#xff08;\u5982 Content<span class=\"token operator\">&#8211;<\/span>Type<span class=\"token punctuation\">,<\/span> Authorization&#xff09;\u3002<br \/>\nAccess<span class=\"token operator\">&#8211;<\/span>Control<span class=\"token operator\">&#8211;<\/span>Allow<span class=\"token operator\">&#8211;<\/span>Credentials<span class=\"token operator\">:<\/span> \u662f\u5426\u5141\u8bb8\u643a\u5e26 Cookies\u3002<\/p>\n<li>\u4f7f\u7528JSONP(\u4ec5\u652f\u6301get\u8bf7\u6c42)<\/li>\n<p>\u901a\u8fc7 &lt;script&gt; \u6807\u7b7e\u52a0\u8f7d\u6570\u636e&#xff0c;\u56e0\u4e3a &lt;script&gt; \u4e0d\u53d7\u540c\u6e90\u7b56\u7565\u9650\u5236\u3002\u670d\u52a1\u5668\u8fd4\u56de\u7684\u662f JavaScript \u4ee3\u7801\u3002<\/p>\n<li>\u4f7f\u7528WebSocket<\/li>\n<p>WebSocket \u4e0d\u53d7\u540c\u6e90\u7b56\u7565\u9650\u5236&#xff0c;\u53ef\u4ee5\u7528\u4e8e\u53cc\u5411\u8de8\u57df\u901a\u4fe1\u3002\u9700\u8981\u670d\u52a1\u5668\u9a8c\u8bc1 Origin \u786e\u4fdd\u5b89\u5168\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb802\u6b21\uff0c\u70b9\u8d5e5\u6b21\uff0c\u6536\u85cf6\u6b21\u3002\u540c\u6e90\u7b56\u7565\u662f\u6d4f\u89c8\u5668\u7684\u4e00\u79cd\u5b89\u5168\u673a\u5236\uff0c\u7528\u4e8e\u9632\u6b62\u6076\u610f\u7f51\u7ad9\u5bf9\u7528\u6237\u7684\u654f\u611f\u6570\u636e\u8fdb\u884c\u672a\u7ecf\u6388\u6743\u7684\u8bbf\u95ee\u3002\u5b83\u9650\u5236\u4e86\u4ece\u4e00\u4e2a\u6e90\u52a0\u8f7d\u7684\u811a\u672c\u5bf9\u53e6\u4e00\u4e2a\u6e90\u7684\u8d44\u6e90\u8fdb\u884c\u8bbf\u95ee\u3002\u7b80\u5355\u6765\u8bf4\uff0c\u540c\u6e90\u7b56\u7565\u89c4\u5b9a**\u53ea\u6709\u5f53\u4e24\u4e2a\u9875\u9762\u7684\u534f\u8bae\u3001\u57df\u540d\u548c\u7aef\u53e3\u90fd\u76f8\u540c\u65f6\uff0c\u5b83\u4eec\u624d\u5c5e\u4e8e\u540c\u4e00\u4e2a\u6e90\uff0c\u5141\u8bb8\u76f8\u4e92\u8bbf\u95ee\u8d44\u6e90**\u3002\u4fdd\u62a4\u7528\u6237\u6570\u636e\u5b89\u5168\uff0c\u4e0d\u540c\u6e90\u7684\u811a\u672c\u65e0\u6cd5\u8bbf\u95ee\u53e6\u4e00\u4e2a\u6e90\u7684Cookie\u3001LocalStorage\u3001SessionStorage\u4e0d\u540c\u6e90\u7684\u811a\u672c\u65e0\u6cd5\u8bfb\u53d6\u6216\u64cd\u4f5c\u53e6\u4e00\u4e2a\u6e90\u7684Dom\u3002_\u54ea\u4e9b\u8bf7\u6c42\u5934\u4e0d\u9700\u8981\u8de8\u57df\u5904\u7406<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[187,1205,275,2552,43,44],"topic":[],"class_list":["post-31615","post","type-post","status-publish","format-standard","hentry","category-server","tag-javascript","tag-js","tag-web","tag-2552","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u6d4f\u89c8\u5668\u540c\u6e90\u7b56\u7565\u3001\u8de8\u57df\u3001\u8de8\u57df\u8bf7\u6c42\uff0c\u670d\u52a1\u5668\u5904\u7406\u6ca1\u3001\u8de8\u57df\u89e3\u51b3\u65b9\u6848 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/31615.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6d4f\u89c8\u5668\u540c\u6e90\u7b56\u7565\u3001\u8de8\u57df\u3001\u8de8\u57df\u8bf7\u6c42\uff0c\u670d\u52a1\u5668\u5904\u7406\u6ca1\u3001\u8de8\u57df\u89e3\u51b3\u65b9\u6848 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb802\u6b21\uff0c\u70b9\u8d5e5\u6b21\uff0c\u6536\u85cf6\u6b21\u3002\u540c\u6e90\u7b56\u7565\u662f\u6d4f\u89c8\u5668\u7684\u4e00\u79cd\u5b89\u5168\u673a\u5236\uff0c\u7528\u4e8e\u9632\u6b62\u6076\u610f\u7f51\u7ad9\u5bf9\u7528\u6237\u7684\u654f\u611f\u6570\u636e\u8fdb\u884c\u672a\u7ecf\u6388\u6743\u7684\u8bbf\u95ee\u3002\u5b83\u9650\u5236\u4e86\u4ece\u4e00\u4e2a\u6e90\u52a0\u8f7d\u7684\u811a\u672c\u5bf9\u53e6\u4e00\u4e2a\u6e90\u7684\u8d44\u6e90\u8fdb\u884c\u8bbf\u95ee\u3002\u7b80\u5355\u6765\u8bf4\uff0c\u540c\u6e90\u7b56\u7565\u89c4\u5b9a**\u53ea\u6709\u5f53\u4e24\u4e2a\u9875\u9762\u7684\u534f\u8bae\u3001\u57df\u540d\u548c\u7aef\u53e3\u90fd\u76f8\u540c\u65f6\uff0c\u5b83\u4eec\u624d\u5c5e\u4e8e\u540c\u4e00\u4e2a\u6e90\uff0c\u5141\u8bb8\u76f8\u4e92\u8bbf\u95ee\u8d44\u6e90**\u3002\u4fdd\u62a4\u7528\u6237\u6570\u636e\u5b89\u5168\uff0c\u4e0d\u540c\u6e90\u7684\u811a\u672c\u65e0\u6cd5\u8bbf\u95ee\u53e6\u4e00\u4e2a\u6e90\u7684Cookie\u3001LocalStorage\u3001SessionStorage\u4e0d\u540c\u6e90\u7684\u811a\u672c\u65e0\u6cd5\u8bfb\u53d6\u6216\u64cd\u4f5c\u53e6\u4e00\u4e2a\u6e90\u7684Dom\u3002_\u54ea\u4e9b\u8bf7\u6c42\u5934\u4e0d\u9700\u8981\u8de8\u57df\u5904\u7406\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/31615.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-21T12:40:58+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/31615.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/31615.html\",\"name\":\"\u6d4f\u89c8\u5668\u540c\u6e90\u7b56\u7565\u3001\u8de8\u57df\u3001\u8de8\u57df\u8bf7\u6c42\uff0c\u670d\u52a1\u5668\u5904\u7406\u6ca1\u3001\u8de8\u57df\u89e3\u51b3\u65b9\u6848 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-21T12:40:58+00:00\",\"dateModified\":\"2025-04-21T12:40:58+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/31615.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/31615.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/31615.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6d4f\u89c8\u5668\u540c\u6e90\u7b56\u7565\u3001\u8de8\u57df\u3001\u8de8\u57df\u8bf7\u6c42\uff0c\u670d\u52a1\u5668\u5904\u7406\u6ca1\u3001\u8de8\u57df\u89e3\u51b3\u65b9\u6848\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u6d4f\u89c8\u5668\u540c\u6e90\u7b56\u7565\u3001\u8de8\u57df\u3001\u8de8\u57df\u8bf7\u6c42\uff0c\u670d\u52a1\u5668\u5904\u7406\u6ca1\u3001\u8de8\u57df\u89e3\u51b3\u65b9\u6848 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/31615.html","og_locale":"zh_CN","og_type":"article","og_title":"\u6d4f\u89c8\u5668\u540c\u6e90\u7b56\u7565\u3001\u8de8\u57df\u3001\u8de8\u57df\u8bf7\u6c42\uff0c\u670d\u52a1\u5668\u5904\u7406\u6ca1\u3001\u8de8\u57df\u89e3\u51b3\u65b9\u6848 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb802\u6b21\uff0c\u70b9\u8d5e5\u6b21\uff0c\u6536\u85cf6\u6b21\u3002\u540c\u6e90\u7b56\u7565\u662f\u6d4f\u89c8\u5668\u7684\u4e00\u79cd\u5b89\u5168\u673a\u5236\uff0c\u7528\u4e8e\u9632\u6b62\u6076\u610f\u7f51\u7ad9\u5bf9\u7528\u6237\u7684\u654f\u611f\u6570\u636e\u8fdb\u884c\u672a\u7ecf\u6388\u6743\u7684\u8bbf\u95ee\u3002\u5b83\u9650\u5236\u4e86\u4ece\u4e00\u4e2a\u6e90\u52a0\u8f7d\u7684\u811a\u672c\u5bf9\u53e6\u4e00\u4e2a\u6e90\u7684\u8d44\u6e90\u8fdb\u884c\u8bbf\u95ee\u3002\u7b80\u5355\u6765\u8bf4\uff0c\u540c\u6e90\u7b56\u7565\u89c4\u5b9a**\u53ea\u6709\u5f53\u4e24\u4e2a\u9875\u9762\u7684\u534f\u8bae\u3001\u57df\u540d\u548c\u7aef\u53e3\u90fd\u76f8\u540c\u65f6\uff0c\u5b83\u4eec\u624d\u5c5e\u4e8e\u540c\u4e00\u4e2a\u6e90\uff0c\u5141\u8bb8\u76f8\u4e92\u8bbf\u95ee\u8d44\u6e90**\u3002\u4fdd\u62a4\u7528\u6237\u6570\u636e\u5b89\u5168\uff0c\u4e0d\u540c\u6e90\u7684\u811a\u672c\u65e0\u6cd5\u8bbf\u95ee\u53e6\u4e00\u4e2a\u6e90\u7684Cookie\u3001LocalStorage\u3001SessionStorage\u4e0d\u540c\u6e90\u7684\u811a\u672c\u65e0\u6cd5\u8bfb\u53d6\u6216\u64cd\u4f5c\u53e6\u4e00\u4e2a\u6e90\u7684Dom\u3002_\u54ea\u4e9b\u8bf7\u6c42\u5934\u4e0d\u9700\u8981\u8de8\u57df\u5904\u7406","og_url":"https:\/\/www.wsisp.com\/helps\/31615.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-21T12:40:58+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/31615.html","url":"https:\/\/www.wsisp.com\/helps\/31615.html","name":"\u6d4f\u89c8\u5668\u540c\u6e90\u7b56\u7565\u3001\u8de8\u57df\u3001\u8de8\u57df\u8bf7\u6c42\uff0c\u670d\u52a1\u5668\u5904\u7406\u6ca1\u3001\u8de8\u57df\u89e3\u51b3\u65b9\u6848 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-21T12:40:58+00:00","dateModified":"2025-04-21T12:40:58+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/31615.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/31615.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/31615.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u6d4f\u89c8\u5668\u540c\u6e90\u7b56\u7565\u3001\u8de8\u57df\u3001\u8de8\u57df\u8bf7\u6c42\uff0c\u670d\u52a1\u5668\u5904\u7406\u6ca1\u3001\u8de8\u57df\u89e3\u51b3\u65b9\u6848"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/31615","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=31615"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/31615\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=31615"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=31615"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=31615"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=31615"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}