{"id":38208,"date":"2025-05-20T01:04:19","date_gmt":"2025-05-19T17:04:19","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/38208.html"},"modified":"2025-05-20T01:04:19","modified_gmt":"2025-05-19T17:04:19","slug":"%e8%a7%a3%e5%86%b3%e8%b7%a8%e5%9f%9f%e7%9a%844%e7%a7%8d%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/38208.html","title":{"rendered":"\u89e3\u51b3\u8de8\u57df\u76844\u79cd\u65b9\u6cd5"},"content":{"rendered":"<h2>00_\u8de8\u57df\u7684\u6982\u5ff5<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1158\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250519170414-682b648ee4e2d.png\" width=\"1979\" \/><\/p>\n<p>\u6d4f\u89c8\u5668\u53ea\u5141\u8bb8\u8bf7\u95ee\u5177\u6709\u76f8\u540c\u7684\u534f\u8bae&#xff0c;\u57df\u540d&#xff0c;\u7aef\u53e3&#xff0c;\u8fdb\u884c\u8bf7\u6c42&#xff0c;\u6709\u4e00\u4e2a\u4e0d\u540c&#xff0c;\u5c31\u4f1a\u62d2\u7edd\u3002\u00a0<\/p>\n<h2>\u00a001.\u524d\u540e\u7aef\u534f\u5546jsonp<\/h2>\n<p>    \/\/jsonp<br \/>\n    \/\/jsonp \u662f json with padding \u7684\u7f29\u5199&#xff0c;\u662f\u4e00\u79cd\u901a\u8fc7 &lt;script&gt; \u6807\u7b7e\u7684 src \u5c5e\u6027\u6765\u5b9e\u73b0\u8de8\u57df\u8bf7\u6c42\u7684\u6280\u672f\u3002<br \/>\n    \/\/jsonp \u7684\u539f\u7406\u662f\u5229\u7528 &lt;script&gt; \u6807\u7b7e\u7684 src \u5c5e\u6027\u53ef\u4ee5\u52a0\u8f7d\u5916\u90e8\u8d44\u6e90&#xff0c;\u5e76\u4e14\u4e0d\u53d7\u540c\u6e90\u7b56\u7565\u7684\u9650\u5236&#xff0c;<br \/>\n    \/\/\u6240\u4ee5\u53ef\u4ee5\u901a\u8fc7 &lt;script&gt; \u6807\u7b7e\u7684 src \u5c5e\u6027\u6765\u52a0\u8f7d\u5916\u90e8\u8d44\u6e90&#xff0c;\u5b9e\u4ece\u800c\u73b0\u8de8\u57df\u8bf7\u6c42\u3002<br \/>\n    \/\/jsonp \u7684\u7f3a\u70b9\u662f\u53ea\u80fd\u53d1\u9001 get \u8bf7\u6c42&#xff0c;\u4e0d\u80fd\u53d1\u9001 post \u8bf7\u6c42\u3002<br \/>\n    \/\/jsonp \u7684\u4f18\u70b9\u662f\u7b80\u5355\u6613\u7528&#xff0c;\u4e0d\u9700\u8981\u670d\u52a1\u5668\u7aef\u7684\u652f\u6301&#xff0c;\u53ea\u9700\u8981\u5728\u5ba2\u6237\u7aef\u5b9e\u73b0\u5373\u53ef\u3002<br \/>\n    \u53ea\u80fd\u53d1\u9001get\u8bf7\u6c42 <\/p>\n<p>\u540e\u7aef<\/p>\n<p>\u00a0<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1193\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250519170415-682b648fe36e4.png\" width=\"1965\" \/><\/p>\n<p>\u524d\u7aef<\/p>\n<p>&#xff08;\u901a\u8fc7\u6302\u8f7d\u5168\u5c40\u51fd\u6570\u89e3\u51b3&#xff09;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"867\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250519170416-682b6490aac08.png\" width=\"1743\" \/><\/p>\n<h2>\u00a002_\u524d\u7aef\u89e3\u51b3&#xff0c;\u4f7f\u7528\u4ee3\u7406dev<\/h2>\n<p>\u76f4\u63a5\u8bf7\u6c42&#xff0c;\u6709\u8de8\u57df\u95ee\u9898<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1016\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250519170417-682b649140bdc.png\" width=\"1424\" \/><\/p>\n<p>\u00a0<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"348\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250519170417-682b6491a946f.png\" width=\"1355\" \/><\/p>\n<p>\u89e3\u51b3\u65b9\u6848&#xff1a;\u4f7f\u7528\u6253\u5305\u6784\u5efa\u5de5\u5177&#xff1a;vite\u6216\u8005webpack\u89e3\u51b3<\/p>\n<p>\u00a0<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"446\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250519170417-682b6491d4078.png\" width=\"1726\" \/><\/p>\n<p>import { defineConfig } from &#039;vite&#039;;<\/p>\n<p>export default defineConfig({<br \/>\n  server: {<br \/>\n    proxy: {<br \/>\n      \/\/ \u5c06 \/api \u5f00\u5934\u7684\u8bf7\u6c42\u4ee3\u7406\u5230 Node.js \u670d\u52a1\u5668<br \/>\n      &#039;\/api&#039;: {<br \/>\n        target: &#039;http:\/\/localhost:3000&#039;,<br \/>\n        changeOrigin: true<br \/>\n      }<br \/>\n    }<br \/>\n  }<br \/>\n}); <\/p>\n<p>\u00a0<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"242\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250519170418-682b64922b2e3.png\" width=\"471\" \/><\/p>\n<h2>03.\u540e\u7aef\u89e3\u51b3&#xff0c;\u8bbe\u7f6e\u8bf7\u6c42\u5934\u00a0<\/h2>\n<p>\u76f4\u63a5\u5728\u63a5\u53e3\u5904\u4f7f\u7528cors\u63d2\u4ef6\u4e5f\u884c&#xff0c;\u8bbe\u7f6e\u8bf7\u6c42\u5934\u5141\u8bb8\u6240\u6709\u6e90\u8bbf\u95ee\u3002<\/p>\n<p>\u524d\u7aef<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"404\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250519170418-682b64923aa42.png\" width=\"1017\" \/><\/p>\n<p>\u540e\u7aef<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"426\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250519170418-682b64925a061.png\" width=\"1388\" \/><\/p>\n<p>\u00a0<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"785\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250519170418-682b649289fdb.png\" width=\"748\" \/><\/p>\n<h2>nginx\u53cd\u5411\u4ee3\u7406\u914d\u7f6e<\/h2>\n<p>\u5c06\u524d\u7aef\u8bf7\u6c42\u4ee3\u7406\u5230\u540e\u7aefAPI&#xff0c;\u4f8b\u5982&#xff1a;<\/p>\n<p>nginx<\/p>\n<p>server {<br \/>\n    listen 80;<br \/>\n    server_name localhost;<\/p>\n<p>    location \/api {<br \/>\n        proxy_pass http:\/\/api.example.com;<br \/>\n    }<br \/>\n} <\/p>\n<h4>2. \u6dfb\u52a0\u8de8\u57df\u54cd\u5e94\u5934<\/h4>\n<p>\u5728\u4ee3\u7406\u914d\u7f6e\u4e2d\u8bbe\u7f6eCORS\u76f8\u5173\u5934\u4fe1\u606f&#xff1a;<\/p>\n<p>nginx<\/p>\n<p>location \/api {<br \/>\n    proxy_pass http:\/\/api.example.com;<\/p>\n<p>    # \u5141\u8bb8\u7684\u8bf7\u6c42\u6765\u6e90&#xff08;\u66ff\u6362\u4e3a\u4f60\u7684\u524d\u7aef\u57df\u540d&#xff09;<br \/>\n    add_header &#039;Access-Control-Allow-Origin&#039; &#039;http:\/\/localhost:8080&#039; always;<\/p>\n<p>    # \u5141\u8bb8\u7684HTTP\u65b9\u6cd5<br \/>\n    add_header &#039;Access-Control-Allow-Methods&#039; &#039;GET, POST, PUT, DELETE, OPTIONS&#039; always;<\/p>\n<p>    # \u5141\u8bb8\u7684\u8bf7\u6c42\u5934<br \/>\n    add_header &#039;Access-Control-Allow-Headers&#039; &#039;Content-Type, Authorization&#039; always;<\/p>\n<p>    # \u5141\u8bb8\u643a\u5e26\u51ed\u8bc1&#xff08;\u5982cookies&#xff09;<br \/>\n    add_header &#039;Access-Control-Allow-Credentials&#039; &#039;true&#039; always;<br \/>\n} <\/p>\n<ul>\n<li>\n<p>always\u00a0\u53c2\u6570\u786e\u4fdd\u5373\u4f7f\u540e\u7aef\u8fd4\u56de4xx\/5xx\u9519\u8bef&#xff0c;\u5934\u4fe1\u606f\u4ecd\u88ab\u6dfb\u52a0\u3002<\/p>\n<\/li>\n<\/ul>\n<h4>3. \u5904\u7406OPTIONS\u9884\u68c0\u8bf7\u6c42<\/h4>\n<p>\u9488\u5bf9OPTIONS\u65b9\u6cd5\u5355\u72ec\u5904\u7406&#xff0c;\u76f4\u63a5\u54cd\u5e94\u65e0\u9700\u8f6c\u53d1\u5230\u540e\u7aef&#xff1a;<\/p>\n<p>nginx<\/p>\n<p>location \/api {<br \/>\n    if ($request_method &#061; &#039;OPTIONS&#039;) {<br \/>\n        add_header &#039;Access-Control-Allow-Origin&#039; &#039;http:\/\/localhost:8080&#039;;<br \/>\n        add_header &#039;Access-Control-Allow-Methods&#039; &#039;GET, POST, PUT, DELETE, OPTIONS&#039;;<br \/>\n        add_header &#039;Access-Control-Allow-Headers&#039; &#039;Content-Type, Authorization&#039;;<br \/>\n        add_header &#039;Access-Control-Max-Age&#039; 1728000;  # \u7f13\u5b58\u9884\u68c0\u7ed3\u679c20\u5929&#xff08;\u79d2&#xff09;<br \/>\n        add_header &#039;Content-Type&#039; &#039;text\/plain; charset&#061;utf-8&#039;;<br \/>\n        add_header &#039;Content-Length&#039; 0;<br \/>\n        return 204;<br \/>\n    }<\/p>\n<p>    proxy_pass http:\/\/api.example.com;<br \/>\n    # &#8230; \u5176\u4ed6\u5934\u914d\u7f6e\u540c\u4e0a<br \/>\n} <\/p>\n<h4>4. \u52a8\u6001\u5141\u8bb8\u591a\u57df\u540d&#xff08;\u53ef\u9009&#xff09;<\/h4>\n<p>\u4f7f\u7528map\u6a21\u5757\u52a8\u6001\u5339\u914d\u5141\u8bb8\u7684\u57df\u540d&#xff1a;<\/p>\n<p>nginx<\/p>\n<p>map $http_origin $cors_origin {<br \/>\n    default &#034;&#034;;<br \/>\n    ~^https?:\/\/(localhost:8080|example\\\\.com|app\\\\.example\\\\.net)$ $http_origin;<br \/>\n}<\/p>\n<p>server {<br \/>\n    &#8230;<br \/>\n    location \/api {<br \/>\n        if ($request_method &#061; &#039;OPTIONS&#039;) {<br \/>\n            add_header &#039;Access-Control-Allow-Origin&#039; $cors_origin;<br \/>\n            &#8230;<br \/>\n            return 204;<br \/>\n        }<\/p>\n<p>        proxy_pass http:\/\/api.example.com;<br \/>\n        add_header &#039;Access-Control-Allow-Origin&#039; $cors_origin always;<br \/>\n        &#8230;<br \/>\n    }<br \/>\n} <\/p>\n<h4>5. \u5b8c\u6574\u914d\u7f6e\u793a\u4f8b<\/h4>\n<p>nginx<\/p>\n<p>http {<br \/>\n    map $http_origin $cors_origin {<br \/>\n        default &#034;&#034;;<br \/>\n        ~^https?:\/\/(localhost:8080|example\\\\.com)$ $http_origin;<br \/>\n    }<\/p>\n<p>    server {<br \/>\n        listen 80;<br \/>\n        server_name localhost;<\/p>\n<p>        location \/api {<br \/>\n            if ($request_method &#061; &#039;OPTIONS&#039;) {<br \/>\n                add_header &#039;Access-Control-Allow-Origin&#039; $cors_origin;<br \/>\n                add_header &#039;Access-Control-Allow-Methods&#039; &#039;GET, POST, PUT, DELETE, OPTIONS&#039;;<br \/>\n                add_header &#039;Access-Control-Allow-Headers&#039; &#039;Content-Type, Authorization&#039;;<br \/>\n                add_header &#039;Access-Control-Max-Age&#039; 1728000;<br \/>\n                add_header &#039;Content-Type&#039; &#039;text\/plain; charset&#061;utf-8&#039;;<br \/>\n                add_header &#039;Content-Length&#039; 0;<br \/>\n                return 204;<br \/>\n            }<\/p>\n<p>            proxy_pass http:\/\/api.example.com;<br \/>\n            add_header &#039;Access-Control-Allow-Origin&#039; $cors_origin always;<br \/>\n            add_header &#039;Access-Control-Allow-Methods&#039; &#039;GET, POST, PUT, DELETE, OPTIONS&#039; always;<br \/>\n            add_header &#039;Access-Control-Allow-Headers&#039; &#039;Content-Type, Authorization&#039; always;<br \/>\n            add_header &#039;Access-Control-Allow-Credentials&#039; &#039;true&#039; always;<br \/>\n        }<br \/>\n    }<br \/>\n} <\/p>\n<h4>6. \u5173\u952e\u6ce8\u610f\u4e8b\u9879<\/h4>\n<ul>\n<li>\n<p>\u5b89\u5168\u6027&#xff1a;\u907f\u514d\u4f7f\u7528*\u4f5c\u4e3aAccess-Control-Allow-Origin\u7684\u503c&#xff0c;\u660e\u786e\u6307\u5b9a\u53ef\u4fe1\u57df\u540d\u3002<\/p>\n<\/li>\n<li>\n<p>\u51ed\u8bc1\u643a\u5e26&#xff1a;\u82e5\u524d\u7aef\u9700\u8981\u53d1\u9001Cookies&#xff0c;\u8bbe\u7f6eAccess-Control-Allow-Credentials: true&#xff0c;\u4e14Access-Control-Allow-Origin\u4e0d\u80fd\u4e3a*\u3002<\/p>\n<\/li>\n<li>\n<p>\u7f13\u5b58\u9884\u68c0&#xff1a;\u5408\u7406\u8bbe\u7f6eAccess-Control-Max-Age\u51cf\u5c11OPTIONS\u8bf7\u6c42\u6b21\u6570\u3002<\/p>\n<\/li>\n<li>\n<p>\u6d4b\u8bd5\u9a8c\u8bc1&#xff1a;\u4f7f\u7528\u6d4f\u89c8\u5668\u5f00\u53d1\u8005\u5de5\u5177\u6216curl\u68c0\u67e5\u54cd\u5e94\u5934\u662f\u5426\u5305\u542bCORS\u5934\u4fe1\u606f\u3002<\/p>\n<\/li>\n<\/ul>\n<h4>\u9a8c\u8bc1\u547d\u4ee4\u793a\u4f8b<\/h4>\n<p>curl -I -X OPTIONS http:\/\/nginx-server\/api<br \/>\n# \u68c0\u67e5\u8fd4\u56de\u5934\u4e2d\u662f\u5426\u5305\u542bCORS\u76f8\u5173\u5b57\u6bb5 <\/p>\n<p>\u00a0\u66f4\u8be6\u7ec6\u7684\u53ef\u4ee5\u8bbf\u95ee&#xff1a;nginx\u8de8\u57df\u89e3\u51b3<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb939\u6b21\uff0c\u70b9\u8d5e4\u6b21\uff0c\u6536\u85cf7\u6b21\u3002\u6d4f\u89c8\u5668\u53ea\u5141\u8bb8\u8bf7\u95ee\u5177\u6709\u76f8\u540c\u7684\u534f\u8bae\uff0c\u57df\u540d\uff0c\u7aef\u53e3\uff0c\u8fdb\u884c\u8bf7\u6c42\uff0c\u6709\u4e00\u4e2a\u4e0d\u540c\uff0c\u5c31\u4f1a\u62d2\u7edd\u3002_\u5982\u4f55\u89e3\u9664\u8de8\u57df\u9650\u5236<\/p>\n","protected":false},"author":2,"featured_media":38198,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[99,93,87,43],"topic":[],"class_list":["post-38208","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-java","tag-json","tag-87","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u89e3\u51b3\u8de8\u57df\u76844\u79cd\u65b9\u6cd5 - \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\/38208.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u89e3\u51b3\u8de8\u57df\u76844\u79cd\u65b9\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb939\u6b21\uff0c\u70b9\u8d5e4\u6b21\uff0c\u6536\u85cf7\u6b21\u3002\u6d4f\u89c8\u5668\u53ea\u5141\u8bb8\u8bf7\u95ee\u5177\u6709\u76f8\u540c\u7684\u534f\u8bae\uff0c\u57df\u540d\uff0c\u7aef\u53e3\uff0c\u8fdb\u884c\u8bf7\u6c42\uff0c\u6709\u4e00\u4e2a\u4e0d\u540c\uff0c\u5c31\u4f1a\u62d2\u7edd\u3002_\u5982\u4f55\u89e3\u9664\u8de8\u57df\u9650\u5236\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/38208.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-19T17:04:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250519170414-682b648ee4e2d.png\" \/>\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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/38208.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/38208.html\",\"name\":\"\u89e3\u51b3\u8de8\u57df\u76844\u79cd\u65b9\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-19T17:04:19+00:00\",\"dateModified\":\"2025-05-19T17:04:19+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/38208.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/38208.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/38208.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u89e3\u51b3\u8de8\u57df\u76844\u79cd\u65b9\u6cd5\"}]},{\"@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":"\u89e3\u51b3\u8de8\u57df\u76844\u79cd\u65b9\u6cd5 - \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\/38208.html","og_locale":"zh_CN","og_type":"article","og_title":"\u89e3\u51b3\u8de8\u57df\u76844\u79cd\u65b9\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb939\u6b21\uff0c\u70b9\u8d5e4\u6b21\uff0c\u6536\u85cf7\u6b21\u3002\u6d4f\u89c8\u5668\u53ea\u5141\u8bb8\u8bf7\u95ee\u5177\u6709\u76f8\u540c\u7684\u534f\u8bae\uff0c\u57df\u540d\uff0c\u7aef\u53e3\uff0c\u8fdb\u884c\u8bf7\u6c42\uff0c\u6709\u4e00\u4e2a\u4e0d\u540c\uff0c\u5c31\u4f1a\u62d2\u7edd\u3002_\u5982\u4f55\u89e3\u9664\u8de8\u57df\u9650\u5236","og_url":"https:\/\/www.wsisp.com\/helps\/38208.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-19T17:04:19+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250519170414-682b648ee4e2d.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/38208.html","url":"https:\/\/www.wsisp.com\/helps\/38208.html","name":"\u89e3\u51b3\u8de8\u57df\u76844\u79cd\u65b9\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-19T17:04:19+00:00","dateModified":"2025-05-19T17:04:19+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/38208.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/38208.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/38208.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u89e3\u51b3\u8de8\u57df\u76844\u79cd\u65b9\u6cd5"}]},{"@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\/38208","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=38208"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/38208\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/38198"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=38208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=38208"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=38208"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=38208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}