{"id":83543,"date":"2026-07-26T01:40:46","date_gmt":"2026-07-25T17:40:46","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/83543.html"},"modified":"2026-07-26T01:40:46","modified_gmt":"2026-07-25T17:40:46","slug":"%e5%b0%86-ai-%e5%9f%9f%e5%90%8d%e9%83%a8%e7%bd%b2%e5%88%b0%e6%b5%b7%e5%a4%96%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%b9%b6%e5%ae%9e%e7%8e%b0%e5%9b%bd%e5%86%85%e9%ab%98%e9%80%9f%e8%ae%bf%e9%97%ae%e7%9a%84","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/83543.html","title":{"rendered":"\u5c06.ai \u57df\u540d\u90e8\u7f72\u5230\u6d77\u5916\u670d\u52a1\u5668\u5e76\u5b9e\u73b0\u56fd\u5185\u9ad8\u901f\u8bbf\u95ee\u7684\u7ec8\u6781\u6307\u5357"},"content":{"rendered":"<p>\u5f00\u53d1\u9886\u57df&#xff1a;\u524d\u7aef\u5f00\u53d1 | AI \u5e94\u7528 | Web3D | \u5143\u5b87\u5b99 \u6280\u672f\u6808&#xff1a;JavaScript\u3001React\u3001Three.js\u3001WebGL\u3001Go \u7ecf\u9a8c\u7ecf\u9a8c&#xff1a;6 \u5e74&#043; \u524d\u7aef\u5f00\u53d1\u7ecf\u9a8c&#xff0c;\u4e13\u6ce8\u4e8e\u56fe\u5f62\u6e32\u67d3\u548c AI \u6280\u672f AI\u57df\u540d&#xff1a;\u6570\u64ceAI \u4f01\u4e1a\u5b98\u7f51&#xff1a;\u6570\u64ceAI \u5927\u5bb6\u597d&#xff01;\u6211\u662f [\u6570\u64ceAI]&#xff0c;\u4e00\u4f4d\u70ed\u7231\u63a2\u7d22\u65b0\u6280\u672f\u7684\u524d\u7aef\u5f00\u53d1\u8005&#xff0c;\u5728\u8fd9\u91cc\u5206\u4eab\u524d\u7aef\u548c Web3D\u3001AI \u6280\u672f\u7684\u5e72\u8d27\u4e0e\u5b9e\u6218\u7ecf\u9a8c\u3002\u5982\u679c\u4f60\u5bf9\u6280\u672f\u6709\u70ed\u60c5&#xff0c;\u6b22\u8fce\u5173\u6ce8\u6211\u7684\u6587\u7ae0&#xff0c;\u6211\u4eec\u4e00\u8d77\u6210\u957f\u3001\u8fdb\u6b65&#xff01;<\/p>\n<h3>\u5f15\u8a00&#xff1a;\u4e3a\u4ec0\u4e48\u9700\u8981\u6d77\u5916\u90e8\u7f72&#043;\u56fd\u5185\u52a0\u901f&#xff1f;<\/h3>\n<p>\u5728\u5168\u7403\u5316\u7684 AI \u65f6\u4ee3&#xff0c;\u8bb8\u591a\u521b\u4e1a\u8005\u3001\u5f00\u53d1\u8005\u548c\u4f01\u4e1a\u9009\u62e9 .ai \u8fd9\u7c7b\u56fd\u9645\u5316\u57df\u540d\u6765\u5f70\u663e\u6280\u672f\u5c5e\u6027\u3002\u7136\u800c&#xff0c;\u4e00\u4e2a\u73b0\u5b9e\u7684\u6280\u672f\u6311\u6218\u968f\u4e4b\u800c\u6765&#xff1a;.ai \u57df\u540d\u65e0\u6cd5\u5728\u4e2d\u56fd\u5927\u9646\u8fdb\u884c ICP \u5907\u6848\u3002<\/p>\n<p>\u8fd9\u5bfc\u81f4\u4e86\u4e00\u4e2a\u4e24\u96be\u9009\u62e9&#xff1a;<\/p>\n<ul>\n<li>\u5c06\u670d\u52a1\u5668\u653e\u5728\u56fd\u5185 \u21d2 \u57df\u540d\u65e0\u6cd5\u5907\u6848 \u21d2 \u7f51\u7ad9\u65e0\u6cd5\u8bbf\u95ee \u274c<\/li>\n<li>\u5c06\u670d\u52a1\u5668\u653e\u5728\u6d77\u5916 \u21d2 \u56fd\u5185\u7528\u6237\u8bbf\u95ee\u7f13\u6162\u751a\u81f3\u4e0d\u7a33\u5b9a \u274c<\/li>\n<li>\u672c\u6587\u5c06\u4e3a\u60a8\u63d0\u4f9b\u4e00\u5957\u5b8c\u6574\u7684\u6280\u672f\u89e3\u51b3\u65b9\u6848&#xff0c;\u5b9e\u73b0\u201c\u9c7c\u4e0e\u718a\u638c\u517c\u5f97\u201d&#xff1a;\u5c06.ai \u57df\u540d\u90e8\u7f72\u5728\u6d77\u5916\u9ad8\u6027\u80fd\u670d\u52a1\u5668&#xff0c;\u540c\u65f6\u8ba9\u56fd\u5185\u7528\u6237\u4eab\u53d7\u5feb\u901f\u3001\u7a33\u5b9a\u7684\u8bbf\u95ee\u4f53\u9a8c\u3002<\/li>\n<\/ul>\n<h3>\u4e00\u3001\u6280\u672f\u67b6\u6784\u5168\u666f\u56fe<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725174043-6a64f51b17b53.png\" alt=\"\u6280\u672f\u67b6\u6784\u5168\u666f\u56fe\" \/><\/p>\n<h3>\u4e8c\u3001\u90e8\u7f72\u65b9\u6848<\/h3>\n<h4>1 \u8d2d\u4e70.ai \u7ed3\u5c3e\u7684\u57df\u540d<\/h4>\n<ul>\n<li>\u4f5c\u8005\u8d2d\u4e70\u57df\u540d\u7528\u7684\u662f spaceship <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725174043-6a64f51b72a24.png\" alt=\"\u8d2d\u4e70.ai\u7ed3\u5c3e\u7684\u57df\u540d\" \/><\/li>\n<\/ul>\n<h4>2. \u8d2d\u4e70\u6d77\u5916\u670d\u52a1\u5668<\/h4>\n<ul>\n<li>\u6d77\u5916\u670d\u52a1\u5668\u9009\u62e9\u4f5c\u8005\u7528\u7684\u662flightnode <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725174044-6a64f51c38bda.png\" alt=\"\u57df\u540d\u8d44\u4ea7\u5c55\u793a\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725174044-6a64f51c7f6d9.png\" alt=\"\u57df\u540d\u8d44\u4ea7\u5c55\u793a\" \/><\/li>\n<\/ul>\n<h4>3. \u5b89\u88c5 nginx \u670d\u52a1<\/h4>\n<p><span class=\"token comment\"># 1. \u66f4\u65b0\u7cfb\u7edf\u5e76\u5b89\u88c5\u5fc5\u8981\u7ec4\u4ef6<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update <span class=\"token operator\">&amp;&amp;<\/span> <span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> upgrade -y<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> nginx -y<\/p>\n<h4>4. nginx \u6dfb\u52a0\u8f7d\u540d\u76d1\u542c<\/h4>\n<p><span class=\"token comment\"># \u4e34\u542c80\u7aef\u53e3<\/span><br \/>\nserver <span class=\"token punctuation\">{<\/span><br \/>\n    listen <span class=\"token number\">80<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    server_name fangcun.ai www.fangcun.ai<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token comment\"># \u53ea\u8981\u662f 80 \u8bbf\u95ee&#xff0c;\u901a\u901a\u5f3a\u5236\u8df3\u5230 https \u7684\u4e3b\u5c55\u793a\u9875<\/span><br \/>\n    <span class=\"token builtin class-name\">return<\/span> <span class=\"token number\">301<\/span> https:\/\/fangcun.ai<span class=\"token variable\">$request_uri<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token comment\"># \u4e34\u542c433\u7aef\u53e3<\/span><br \/>\nserver <span class=\"token punctuation\">{<\/span><br \/>\n    listen <span class=\"token number\">443<\/span> ssl http2<span class=\"token punctuation\">;<\/span><br \/>\n    server_name fangcun.ai www.fangcun.ai<span class=\"token punctuation\">;<\/span><\/p>\n<p>    index index.html index.htm default.htm default.html<span class=\"token punctuation\">;<\/span><br \/>\n    root \/mnt\/fangcun<span class=\"token punctuation\">;<\/span><\/p>\n<p>    ssl_certificate     \/etc\/nginx\/cert\/fangcun.ai.pem<span class=\"token punctuation\">;<\/span><br \/>\n    ssl_certificate_key  \/etc\/nginx\/cert\/fangcun.ai.key<span class=\"token punctuation\">;<\/span><\/p>\n<p>    ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3<span class=\"token punctuation\">;<\/span><br \/>\n    ssl_ciphers EECDH&#043;CHACHA20:EECDH&#043;CHACHA20-draft:EECDH&#043;AES128:RSA&#043;AES128:EECDH&#043;AES256:RSA&#043;AES256:EECDH&#043;3DES:RSA&#043;3DES:<span class=\"token operator\">!<\/span>MD5<span class=\"token punctuation\">;<\/span><br \/>\n    ssl_prefer_server_ciphers on<span class=\"token punctuation\">;<\/span><br \/>\n    ssl_session_cache shared:SSL:10m<span class=\"token punctuation\">;<\/span><br \/>\n    ssl_session_timeout 10m<span class=\"token punctuation\">;<\/span><br \/>\n    add_header Strict-Transport-Security <span class=\"token string\">&#034;max-age&#061;31536000&#034;<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>    location \/ <span class=\"token punctuation\">{<\/span><br \/>\n        try_files <span class=\"token variable\">$uri<\/span> <span class=\"token variable\">$uri<\/span>\/ \/index.html<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><\/p>\n<p>    location \/api <span class=\"token punctuation\">{<\/span><br \/>\n        proxy_set_header X-Real-IP <span class=\"token variable\">$remote_addr<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        proxy_set_header X-Forwarded-For <span class=\"token variable\">$proxy_add_x_forwarded_for<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        proxy_set_header Host <span class=\"token number\">8.134<\/span>.182.122:8888<span class=\"token punctuation\">;<\/span><br \/>\n        proxy_http_version <span class=\"token number\">1.1<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        proxy_pass http:\/\/8.134.182.122:8888<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<h4>4. \u6dfb\u52a0\u57df\u540d\u89e3\u6790<\/h4>\n<ul>\n<li>\u627e\u5230\u57df\u540d\u7ba1\u7406\u9875\u9762&#xff0c;\u6dfb\u52a0\u57df\u540d\u89e3\u6790 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725174044-6a64f51cd5207.png\" alt=\"\u6dfb\u52a0\u57df\u540d\u89e3\u6790\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725174045-6a64f51d2acd5.png\" alt=\"\u6dfb\u52a0\u57df\u540d\u89e3\u6790\" \/><\/li>\n<\/ul>\n<h4>5. \u914d\u7f6e SSL \u8bc1\u4e66\u914d\u7f6e<\/h4>\n<ul>\n<li>\u4f5c\u8005\u7528\u7684\u662ffreessl\u6309\u5b98\u7f51\u7684\u64cd\u4f5c\u8fdb\u50bb\u74dc\u64cd\u4f5c\u6210\u529f\u540e,\u4e0a\u4f20\u8bc1\u4e66\u6587\u4ef6\u5230\u670d\u52a1\u5668,\u5e76\u91cd\u65b0\u52a0\u8f7d\u914d\u7f6e<\/li>\n<\/ul>\n<p>nginx -t<br \/>\nnginx -s reload<\/p>\n<h3>\u9879\u76ee\u7684\u521b\u5efa\u4e0e\u540c\u6b65\u5230\u963f\u91cc\u53bb oss<\/h3>\n<h4>1. \u521b\u5efa\u9879\u76ee<\/h4>\n<ul>\n<li>\u6309nextjs\u5b98\u7f51\u64cd\u4f5c\u521b\u5efa\u9879\u76ee<\/li>\n<\/ul>\n<h4>2. \u6253\u5305\u65f6\u65f6\u540c\u6b65\u4e0a\u4f20\u5230\u963f\u91cc\u4e91 oss<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725174045-6a64f51d50827.png\" alt=\"\" \/><\/p>\n<p><span class=\"token string\">&#039;use strict&#039;<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token keyword\">import<\/span> fs <span class=\"token keyword\">from<\/span> <span class=\"token string\">&#039;fs&#039;<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token keyword\">import<\/span> <span class=\"token constant\">OSS<\/span> <span class=\"token keyword\">from<\/span> <span class=\"token string\">&#039;ali-oss&#039;<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token keyword\">import<\/span> path <span class=\"token keyword\">from<\/span> <span class=\"token string\">&#039;path&#039;<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token keyword\">const<\/span> ossConfig <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token literal-property property\">region<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#039;&#039;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token comment\">\/\/ \u533a\u57df<\/span><br \/>\n  <span class=\"token literal-property property\">accessKeyId<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#039;&#039;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token literal-property property\">accessKeySecret<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#039;&#039;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token literal-property property\">bucket<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#039;&#039;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token comment\">\/\/ \u5bf9\u5e94\u7684bucket<\/span><br \/>\n  <span class=\"token literal-property property\">secure<\/span><span class=\"token operator\">:<\/span> <span class=\"token boolean\">true<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token literal-property property\">timeout<\/span><span class=\"token operator\">:<\/span> <span class=\"token number\">60000<\/span><span class=\"token punctuation\">,<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token comment\">\/\/ \u914d\u7f6e\u963f\u91cc\u4e91 OSS \u5ba2\u6237\u7aef<\/span><br \/>\n<span class=\"token keyword\">const<\/span> client <span class=\"token operator\">&#061;<\/span> <span class=\"token keyword\">new<\/span> <span class=\"token class-name\">OSS<\/span><span class=\"token punctuation\">(<\/span>ossConfig<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token comment\">\/\/ \u9012\u5f52\u4e0a\u4f20\u76ee\u5f55\u4e2d\u7684\u6240\u6709\u6587\u4ef6<\/span><br \/>\n<span class=\"token keyword\">async<\/span> <span class=\"token keyword\">function<\/span> <span class=\"token function\">uploadDir<\/span><span class=\"token punctuation\">(<\/span><span class=\"token parameter\">localDir<span class=\"token punctuation\">,<\/span> remoteDir<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token keyword\">const<\/span> files <span class=\"token operator\">&#061;<\/span> fs<span class=\"token punctuation\">.<\/span><span class=\"token function\">readdirSync<\/span><span class=\"token punctuation\">(<\/span>localDir<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n  <span class=\"token keyword\">for<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token keyword\">const<\/span> file <span class=\"token keyword\">of<\/span> files<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">const<\/span> fullPath <span class=\"token operator\">&#061;<\/span> path<span class=\"token punctuation\">.<\/span><span class=\"token function\">join<\/span><span class=\"token punctuation\">(<\/span>localDir<span class=\"token punctuation\">,<\/span> file<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>    <span class=\"token comment\">\/\/ &#x1f525; \u786e\u4fdd remotePath \u4e0d\u4f1a\u4e22\u5931\u524d\u7f00<\/span><br \/>\n    <span class=\"token keyword\">const<\/span> remotePath <span class=\"token operator\">&#061;<\/span> path<br \/>\n      <span class=\"token punctuation\">.<\/span><span class=\"token function\">join<\/span><span class=\"token punctuation\">(<\/span>remoteDir<span class=\"token punctuation\">,<\/span> file<span class=\"token punctuation\">)<\/span><br \/>\n      <span class=\"token punctuation\">.<\/span><span class=\"token function\">replace<\/span><span class=\"token punctuation\">(<\/span><span class=\"token regex\"><span class=\"token regex-delimiter\">\/<\/span><span class=\"token regex-source language-regex\">\\\\\\\\<\/span><span class=\"token regex-delimiter\">\/<\/span><span class=\"token regex-flags\">g<\/span><\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#039;\/&#039;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n      <span class=\"token punctuation\">.<\/span><span class=\"token function\">replace<\/span><span class=\"token punctuation\">(<\/span><span class=\"token regex\"><span class=\"token regex-delimiter\">\/<\/span><span class=\"token regex-source language-regex\">^\\\\\/&#043;<\/span><span class=\"token regex-delimiter\">\/<\/span><\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#039;&#039;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ \u2190 \u9632\u6b62\u4ee5 \/ \u5f00\u5934\u65f6\u541e\u6389\u524d\u7f00<\/span><\/p>\n<p>    console<span class=\"token punctuation\">.<\/span><span class=\"token function\">log<\/span><span class=\"token punctuation\">(<\/span><span class=\"token template-string\"><span class=\"token template-punctuation string\">&#096;<\/span><span class=\"token string\">upload url: <\/span><span class=\"token interpolation\"><span class=\"token interpolation-punctuation punctuation\">${<\/span>remotePath<span class=\"token interpolation-punctuation punctuation\">}<\/span><\/span><span class=\"token template-punctuation string\">&#096;<\/span><\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>    <span class=\"token keyword\">const<\/span> stat <span class=\"token operator\">&#061;<\/span> fs<span class=\"token punctuation\">.<\/span><span class=\"token function\">lstatSync<\/span><span class=\"token punctuation\">(<\/span>fullPath<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span>stat<span class=\"token punctuation\">.<\/span><span class=\"token function\">isDirectory<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token keyword\">await<\/span> <span class=\"token function\">uploadDir<\/span><span class=\"token punctuation\">(<\/span>fullPath<span class=\"token punctuation\">,<\/span> remotePath<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span> <span class=\"token keyword\">else<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token keyword\">await<\/span> client<span class=\"token punctuation\">.<\/span><span class=\"token function\">put<\/span><span class=\"token punctuation\">(<\/span>remotePath<span class=\"token punctuation\">,<\/span> fullPath<span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token literal-property property\">headers<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n          <span class=\"token string-property property\">&#039;Cache-Control&#039;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#039;public, max-age&#061;31536000, immutable&#039;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n          <span class=\"token string-property property\">&#039;x-oss-object-acl&#039;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#039;public-read&#039;<\/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><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n  <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">async<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#061;&gt;<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token keyword\">const<\/span> outDir <span class=\"token operator\">&#061;<\/span> path<span class=\"token punctuation\">.<\/span><span class=\"token function\">join<\/span><span class=\"token punctuation\">(<\/span>process<span class=\"token punctuation\">.<\/span><span class=\"token function\">cwd<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#039;fangcun&#039;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n  console<span class=\"token punctuation\">.<\/span><span class=\"token function\">log<\/span><span class=\"token punctuation\">(<\/span><span class=\"token template-string\"><span class=\"token template-punctuation string\">&#096;<\/span><span class=\"token string\">Uploading <\/span><span class=\"token interpolation\"><span class=\"token interpolation-punctuation punctuation\">${<\/span>outDir<span class=\"token interpolation-punctuation punctuation\">}<\/span><\/span><span class=\"token string\"> to OSS&#8230;<\/span><span class=\"token template-punctuation string\">&#096;<\/span><\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n  <span class=\"token keyword\">try<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">await<\/span> <span class=\"token function\">uploadDir<\/span><span class=\"token punctuation\">(<\/span>outDir<span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#039;fangcun\/&#039;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    console<span class=\"token punctuation\">.<\/span><span class=\"token function\">log<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#039;Upload CDN complete!\\\\n&#039;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n  <span class=\"token punctuation\">}<\/span> <span class=\"token keyword\">catch<\/span> <span class=\"token punctuation\">(<\/span>err<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    console<span class=\"token punctuation\">.<\/span><span class=\"token function\">error<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#039; Upload CDN failed:&#039;<\/span><span class=\"token punctuation\">,<\/span> err<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n  <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<h4>\u963f\u91cc\u4e91\u914d\u7f6e cdn<\/h4>\n<li>\u767b\u5f55\u963f\u91cc\u4e91cdn\u914d\u7f6e\u81ea\u884c\u67e5\u8be2\u7f51\u4e0a\u8d44\u6599&#xff0c;\u5982\u679c\u9047\u5230\u95ee\u9898\u4e0d\u660e\u767d\u7684\u52a0\u7fa4\u95ee\u4f5c\u8005\u89e3\u51b3<\/li>\n<h3>\u7ed3\u8bed<\/h3>\n<ul>\n<li>\u5c06.ai \u57df\u540d\u90e8\u7f72\u5728\u6d77\u5916\u670d\u52a1\u5668\u5e76\u786e\u4fdd\u56fd\u5185\u9ad8\u901f\u8bbf\u95ee&#xff0c;\u4e0d\u518d\u662f\u4e0d\u53ef\u5b9e\u73b0\u7684\u6280\u672f\u6311\u6218\u3002\u901a\u8fc7\u672c\u6587\u4ecb\u7ecd\u7684\u5206\u5c42\u52a0\u901f\u67b6\u6784\u548c\u667a\u80fd\u6d41\u91cf\u8c03\u5ea6\u7b56\u7565&#xff0c;\u60a8\u53ef\u4ee5\u6784\u5efa\u51fa\u65e2\u7b26\u5408\u56fd\u9645\u6807\u51c6\u53c8\u517c\u987e\u56fd\u5185\u7528\u6237\u4f53\u9a8c\u7684\u4f18\u8d28\u670d\u52a1\u3002<\/li>\n<\/ul>\n<p>\u5173\u952e\u6210\u529f\u56e0\u7d20\u603b\u7ed3&#xff1a;<\/p>\n<ul>\n<li>\u9009\u5740\u8981\u51c6&#xff1a;\u670d\u52a1\u5668\u4f18\u5148\u9009\u62e9\u4e9a\u592a\u533a\u57df<\/li>\n<li>\u52a0\u901f\u8981\u7a33&#xff1a;CDN \u7f51\u7edc\u662f\u5173\u952e\u52a0\u901f\u5c42<\/li>\n<li>\u76d1\u63a7\u8981\u52e4&#xff1a;\u5b9e\u65f6\u638c\u63e1\u5404\u533a\u57df\u8bbf\u95ee\u72b6\u6001<\/li>\n<li>\u5907\u4efd\u8981\u5168&#xff1a;\u6c38\u8fdc\u6709 Plan B \u5e94\u5bf9\u7a81\u53d1\u72b6\u51b5<\/li>\n<li>\u968f\u7740\u5168\u7403\u7f51\u7edc\u73af\u5883\u7684\u53d8\u5316&#xff0c;\u8fd9\u4e9b\u6280\u672f\u7b56\u7565\u4e5f\u9700\u8981\u6301\u7eed\u6f14\u8fdb\u3002\u5efa\u8bae\u6bcf\u5b63\u5ea6\u56de\u987e\u4e00\u6b21\u67b6\u6784\u6548\u679c&#xff0c;\u6839\u636e\u5b9e\u9645\u76d1\u6d4b\u6570\u636e\u8c03\u6574\u4f18\u5316\u65b9\u5411\u3002<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725174045-6a64f51d86b11.png\" alt=\"\u6570\u64ceAI\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5f00\u53d1\u9886\u57df&#xff1a;\u524d\u7aef\u5f00\u53d1 | AI \u5e94\u7528 | Web3D | \u5143\u5b87\u5b99 \u6280\u672f\u6808&#xff1a;JavaScript\u3001React\u3001Three.js\u3001WebGL\u3001Go \u7ecf\u9a8c\u7ecf\u9a8c&#xff1a;6 \u5e74 \u524d\u7aef\u5f00\u53d1\u7ecf\u9a8c&#xff0c;\u4e13\u6ce8\u4e8e\u56fe\u5f62\u6e32\u67d3\u548c AI \u6280\u672f AI\u57df\u540d&#xff1a;\u6570\u64ceAI \u4f01\u4e1a\u5b98\u7f51&#xff1a;\u6570\u64ceAI \u5927\u5bb6\u597d&#xff01;\u6211\u662f [\u6570\u64ceAI]&#xff0c;\u4e00\u4f4d\u70ed\u7231\u63a2\u7d22\u65b0\u6280\u672f\u7684\u524d\u7aef\u5f00\u53d1\u8005&#xff0c;\u5728\u8fd9\u91cc\u5206\u4eab\u524d\u7aef\u548c Web3D\u3001AI \u6280\u672f\u7684\u5e72\u8d27\u4e0e\u5b9e<\/p>\n","protected":false},"author":2,"featured_media":83535,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[50,43,44],"topic":[],"class_list":["post-83543","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-50","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>\u5c06.ai \u57df\u540d\u90e8\u7f72\u5230\u6d77\u5916\u670d\u52a1\u5668\u5e76\u5b9e\u73b0\u56fd\u5185\u9ad8\u901f\u8bbf\u95ee\u7684\u7ec8\u6781\u6307\u5357 - \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\/83543.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5c06.ai \u57df\u540d\u90e8\u7f72\u5230\u6d77\u5916\u670d\u52a1\u5668\u5e76\u5b9e\u73b0\u56fd\u5185\u9ad8\u901f\u8bbf\u95ee\u7684\u7ec8\u6781\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u5f00\u53d1\u9886\u57df&#xff1a;\u524d\u7aef\u5f00\u53d1 | AI \u5e94\u7528 | Web3D | \u5143\u5b87\u5b99 \u6280\u672f\u6808&#xff1a;JavaScript\u3001React\u3001Three.js\u3001WebGL\u3001Go \u7ecf\u9a8c\u7ecf\u9a8c&#xff1a;6 \u5e74 \u524d\u7aef\u5f00\u53d1\u7ecf\u9a8c&#xff0c;\u4e13\u6ce8\u4e8e\u56fe\u5f62\u6e32\u67d3\u548c AI \u6280\u672f AI\u57df\u540d&#xff1a;\u6570\u64ceAI \u4f01\u4e1a\u5b98\u7f51&#xff1a;\u6570\u64ceAI \u5927\u5bb6\u597d&#xff01;\u6211\u662f [\u6570\u64ceAI]&#xff0c;\u4e00\u4f4d\u70ed\u7231\u63a2\u7d22\u65b0\u6280\u672f\u7684\u524d\u7aef\u5f00\u53d1\u8005&#xff0c;\u5728\u8fd9\u91cc\u5206\u4eab\u524d\u7aef\u548c Web3D\u3001AI \u6280\u672f\u7684\u5e72\u8d27\u4e0e\u5b9e\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/83543.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-25T17:40:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725174043-6a64f51b17b53.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\/83543.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/83543.html\",\"name\":\"\u5c06.ai \u57df\u540d\u90e8\u7f72\u5230\u6d77\u5916\u670d\u52a1\u5668\u5e76\u5b9e\u73b0\u56fd\u5185\u9ad8\u901f\u8bbf\u95ee\u7684\u7ec8\u6781\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-25T17:40:46+00:00\",\"dateModified\":\"2026-07-25T17:40:46+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/83543.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/83543.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/83543.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5c06.ai \u57df\u540d\u90e8\u7f72\u5230\u6d77\u5916\u670d\u52a1\u5668\u5e76\u5b9e\u73b0\u56fd\u5185\u9ad8\u901f\u8bbf\u95ee\u7684\u7ec8\u6781\u6307\u5357\"}]},{\"@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":"\u5c06.ai \u57df\u540d\u90e8\u7f72\u5230\u6d77\u5916\u670d\u52a1\u5668\u5e76\u5b9e\u73b0\u56fd\u5185\u9ad8\u901f\u8bbf\u95ee\u7684\u7ec8\u6781\u6307\u5357 - \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\/83543.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5c06.ai \u57df\u540d\u90e8\u7f72\u5230\u6d77\u5916\u670d\u52a1\u5668\u5e76\u5b9e\u73b0\u56fd\u5185\u9ad8\u901f\u8bbf\u95ee\u7684\u7ec8\u6781\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u5f00\u53d1\u9886\u57df&#xff1a;\u524d\u7aef\u5f00\u53d1 | AI \u5e94\u7528 | Web3D | \u5143\u5b87\u5b99 \u6280\u672f\u6808&#xff1a;JavaScript\u3001React\u3001Three.js\u3001WebGL\u3001Go \u7ecf\u9a8c\u7ecf\u9a8c&#xff1a;6 \u5e74 \u524d\u7aef\u5f00\u53d1\u7ecf\u9a8c&#xff0c;\u4e13\u6ce8\u4e8e\u56fe\u5f62\u6e32\u67d3\u548c AI \u6280\u672f AI\u57df\u540d&#xff1a;\u6570\u64ceAI \u4f01\u4e1a\u5b98\u7f51&#xff1a;\u6570\u64ceAI \u5927\u5bb6\u597d&#xff01;\u6211\u662f [\u6570\u64ceAI]&#xff0c;\u4e00\u4f4d\u70ed\u7231\u63a2\u7d22\u65b0\u6280\u672f\u7684\u524d\u7aef\u5f00\u53d1\u8005&#xff0c;\u5728\u8fd9\u91cc\u5206\u4eab\u524d\u7aef\u548c Web3D\u3001AI \u6280\u672f\u7684\u5e72\u8d27\u4e0e\u5b9e","og_url":"https:\/\/www.wsisp.com\/helps\/83543.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-25T17:40:46+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725174043-6a64f51b17b53.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\/83543.html","url":"https:\/\/www.wsisp.com\/helps\/83543.html","name":"\u5c06.ai \u57df\u540d\u90e8\u7f72\u5230\u6d77\u5916\u670d\u52a1\u5668\u5e76\u5b9e\u73b0\u56fd\u5185\u9ad8\u901f\u8bbf\u95ee\u7684\u7ec8\u6781\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-25T17:40:46+00:00","dateModified":"2026-07-25T17:40:46+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/83543.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/83543.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/83543.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5c06.ai \u57df\u540d\u90e8\u7f72\u5230\u6d77\u5916\u670d\u52a1\u5668\u5e76\u5b9e\u73b0\u56fd\u5185\u9ad8\u901f\u8bbf\u95ee\u7684\u7ec8\u6781\u6307\u5357"}]},{"@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\/83543","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=83543"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/83543\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/83535"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=83543"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=83543"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=83543"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=83543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}