{"id":49648,"date":"2023-12-03T23:07:43","date_gmt":"2022-11-06T04:33:37","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ad%a6%e4%b9%a0%e7%bd%91%e7%bb%9c%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e5%bc%80%e5%8f%91-3\/"},"modified":"2024-05-04T12:03:02","modified_gmt":"2024-05-04T04:03:02","slug":"%e5%ad%a6%e4%b9%a0%e7%bd%91%e7%bb%9c%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e5%bc%80%e5%8f%91-3","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ad%a6%e4%b9%a0%e7%bd%91%e7%bb%9c%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e5%bc%80%e5%8f%91-3\/","title":{"rendered":"\u5b66\u4e60\u7f51\u7edc\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1 #3"},"content":{"rendered":"<h1>1. \u9019\u7bc7\u6587\u7ae0\u7684\u5167\u5bb9 (zh\u00e8 de<\/h1>\n<p>\u5728Web\u5e94\u7528\u5f00\u53d1\u5b66\u4e60\u7684\u7b2c\u4e8c\u90e8\u5206\u4e2d\uff0c\u6211\u4eec\u8bb0\u5f55\u4e86\u670d\u52a1\u7aef\u7684\u542f\u52a8\u8fc7\u7a0b\u3002\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u8bb0\u5f55\u5f15\u5165Bootstrap\u4f5c\u4e3a\u524d\u7aef\u5b9e\u73b0\u7684\u8fc7\u7a0b\u3002<\/p>\n<p>Bootstrap\u7684\u5b89\u88c5\u65b9\u6cd5\u6709\u51e0\u79cd\uff0c\u5982\u4e0b\u6240\u793a\u7684\u793a\u4f8b\uff1a<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30b3\u30f3\u30d1\u30a4\u30eb\u6e08\u307f\u306eCSS\/JS\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u904b\u7528\u74b0\u5883\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>jsDelivr\u304b\u3089\u914d\u4fe1\u3055\u308c\u308b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u306e\u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3059\u308b<br \/>\n\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u3092\u7528\u3044\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/p>\n<p>\u672c\u6b21\uff0c\u5c06\u4e0b\u8f7d\u7f16\u8bd1\u597d\u7684CSS\/JS\uff0c\u4ee5\u4fbf\u5728\u672c\u5730\u73af\u5883\u4e5f\u80fd\u8fd0\u884c\u5e94\u7528\u7a0b\u5e8f\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u8bf4\u660e\u5982\u4f55\u4e0b\u8f7dBootstrap\u5b98\u65b9\u63d0\u4f9b\u7684\u4eea\u8868\u76d8\u793a\u4f8b\uff0c\u5e76\u5b8c\u6210\u8fd0\u884c\u7684\u6b65\u9aa4\u3002<\/p>\n<h1>2. \u5f15\u5165Bootstrap\u7684\u6b65\u9aa4<\/h1>\n<h2>\u4f7f\u7528Django-Bootstrap5\u6784\u5efa\u5e94\u7528\u7a0b\u5e8f\u3002<\/h2>\n<p>\u5728\u865a\u62df\u73af\u5883\u4e2d\u5b89\u88c5\u5e76\u5bfc\u5165PyPi\u4e0a\u53d1\u5e03\u7684django-bootstrap5\uff0c\u751f\u6210\u5e94\u7528\u7a0b\u5e8f\u7684\u57fa\u7840\u4ee3\u7801\u3002\u7136\u540e\uff0c\u5c06\u5176\u4e0e\u8981\u5b9e\u73b0\u7684HTML\u8fdb\u884c\u8fde\u63a5\u3002<\/p>\n<pre class=\"post-pre\"><code>$ cd &lt;path\/to\/project&gt;\r\n$ source venv\/bin\/activate\r\n(venv)$ pip3 install django_bootstrap5 psycopg2-binary\r\n(venv)$ cd django_project\/\r\n(venv)$ export ALLOWED_HOSTS=\"localhost 127.0.0.1 [::1]\"\r\n(venv)$ python3 manage.py startapp app\r\n(venv)$ cd ..\r\n(venv)$ deactivate\r\n$ vim django_project\/requirements.txt\r\n$ vim django_project\/project\/settings.py\r\n$ vim django_project\/project\/urls.py\r\n$ vim django_project\/app\/views.py\r\n$ touch django_project\/app\/urls.py\r\n$ mkdir django_project\/html\r\n$ touch django_project\/html\/index.html\r\n<\/code><\/pre>\n<details>django_project\/requirements.txt\u7684\u7f16\u8f91\u5185\u5bb9@@ -1,3 +1,4 @@<br \/>\nDjango<br \/>\npsycopg2-binary<br \/>\ngunicorn<br \/>\n+django-bootstrap5<\/p>\n<\/details>\n<details>django_project\/project\/settings.py\u7684\u7f16\u8f91\u5185\u5bb9&#8220;`python<br \/>\n@@ -40,6 +40,8 @@ INSTALLED_APPS = [<br \/>\n&#8216;django.contrib.sessions&#8217;,<br \/>\n&#8216;django.contrib.messages&#8217;,<br \/>\n&#8216;django.contrib.staticfiles&#8217;,<br \/>\n+ &#8216;django_bootstrap5&#8217;,<br \/>\n+ &#8216;app&#8217;,<br \/>\n]<\/p>\n<p>MIDDLEWARE = [<br \/>\n@@ -57,7 +59,7 @@ ROOT_URLCONF = &#8216;project.urls&#8217;<br \/>\nTEMPLATES = [<br \/>\n{<br \/>\n&#8216;BACKEND&#8217;: &#8216;django.template.backends.django.DjangoTemplates&#8217;,<br \/>\n&#8211; &#8216;DIRS&#8217;: [],<br \/>\n+ &#8216;DIRS&#8217;: [BASE_DIR, &#8216;html&#8217;],<br \/>\n&#8216;APP_DIRS&#8217;: True,<br \/>\n&#8216;OPTIONS&#8217;: {<br \/>\n&#8216;context_processors&#8217;: [<br \/>\n&#8220;`<\/p>\n<\/details>\n<details>django_project\/project\/urls.py\u7684\u7f16\u8f91\u5185\u5bb9@@ -14,8 +14,9 @@ \u6253\u5f00\u53e6\u4e00\u4e2aURL\u914d\u7f6e\u6587\u4ef6<br \/>\n2. \u6dfb\u52a0\u4e00\u4e2aURL\u5230urlpatterns: path(&#8216;blog\/&#8217;, include(&#8216;blog.urls&#8217;))<br \/>\n&#8220;&#8221;&#8221;<br \/>\nfrom django.contrib import admin<br \/>\n-from django.urls import path<br \/>\n+from django.urls import path, include<\/p>\n<p>urlpatterns = [<br \/>\npath(&#8216;admin\/&#8217;, admin.site.urls),<br \/>\n+ path(&#8221;, include(&#8216;app.urls&#8217;)),<br \/>\n]<\/p>\n<\/details>\n<details>\u3010\u89e3\u7b54\u3011<br \/>\ndjango_project\/app\/views.py\u6587\u4ef6\u7684\u4fee\u6539\u5185\u5bb9@@-1,3 +1,9 @@<br \/>\n\u4ecedjango.shortcuts\u4e2d\u5bfc\u5165render\u51fd\u6570<\/p>\n<p># \u5728\u8fd9\u91cc\u521b\u5efa\u4f60\u7684\u89c6\u56fe<br \/>\n+<br \/>\n+&#8221;&#8221;&#8221; \u51fd\u6570\uff1aindex<br \/>\n+ * \u663e\u793a\u9996\u9875<br \/>\n+&#8221;&#8221;&#8221;<br \/>\n+def index(request):<br \/>\n+ return render(request, &#8216;index.html&#8217;)<br \/>\n+<\/p>\n<\/details>\n<details>django_project\/app\/urls.py \u7684\u5185\u5bb9&#8221;&#8221;&#8221;\u5e94\u7528\u7684URL\u914d\u7f6e<br \/>\n&#8220;&#8221;&#8221;<br \/>\nfrom django.urls import path<br \/>\nfrom . import views<\/p>\n<p>urlpatterns = [<br \/>\npath(&#8221;, views.index),<br \/>\n]<\/p>\n<\/details>\n<details>django_project\/html\/index.html\u7684\u5185\u5bb9\u662f\uff1a&nbsp;<\/p>\n<h1>\u4f60\u597d\uff0c\u4e16\u754c<\/h1>\n<p>&nbsp;<\/p>\n<\/details>\n<p>\u901a\u8fc7\u8fd9\u4e2a\u6b65\u9aa4\uff0c\u542f\u52a8\u670d\u52a1\u5668\u5e76\u8bbf\u95eehttp:\/\/localhost:1317\uff0c\u5728index.html\u4e2d\u7f16\u5199\u7684\u4e0b\u56fe\u5c06\u4f1a\u663e\u793a\u51fa\u6765\u3002<br \/>\n\u5728\u4e0b\u4e00\u8282\u4e2d\uff0c\u6211\u4eec\u5c06\u4f1a\u5c06index.html\u7684\u5185\u5bb9\u66f4\u65b0\u4e3aBootstrap\u5b98\u65b9\u63d0\u4f9b\u7684\u4eea\u8868\u76d8\u793a\u4f8b\u9875\u9762\u3002<\/p>\n<pre class=\"post-pre\"><code>$ docker-compose build\r\n$ docker-compose up -d\r\n<\/code><\/pre>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8c63913a08637a6d07ef\/29-0.png\" alt=\"index_helloworld.png\" \/><\/div>\n<h2>\u5d4c\u5165\u6837\u672c\u4eea\u8868\u76d8\u3002<\/h2>\n<p>\u60a8\u53ef\u4ee5\u4eceBootstrap\u7684\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u9875\u9762\u6216GitHub\u7684\u53d1\u5e03\u9875\u9762\u83b7\u53d6\u3002\u4e3a\u4e86\u4e0b\u8f7d\u793a\u4f8b\u4ee3\u7801\uff0c\u672c\u6b21\u5c06\u8bf4\u660e\u4eceGitHub\u4e0b\u8f7d\u7684\u6b65\u9aa4\u3002<\/p>\n<p>\u53e6\u5916\uff0c\u672c\u7bc7\u6587\u7ae0\u6240\u8fdb\u884c\u7684\u64cd\u4f5c\u786e\u8ba4\u9488\u5bf9\u7684\u662f v5.1.1 \u7248\u672c\u3002<\/p>\n<pre class=\"post-pre\"><code>$ cd &lt;path\/to\/project&gt;\r\n$ mkdir django_project\/static\r\n$ cd django_project\/static\r\n$ wget https:\/\/github.com\/twbs\/bootstrap\/releases\/download\/v5.1.1\/bootstrap-5.1.1-dist.zip\r\n$ unzip bootstrap-5.1.1-dist.zip\r\n$ mv bootstrap-5.1.1-dist\/* .\r\n$ wget https:\/\/github.com\/twbs\/bootstrap\/releases\/download\/v5.1.1\/bootstrap-5.1.1-examples.zip\r\n$ unzip bootstrap-5.1.1-examples.zip\r\n$ cp bootstrap-5.1.1-examples\/dashboard\/dashboard.css .\/css\r\n$ cp bootstrap-5.1.1-examples\/dashboard\/dashboard.rtl.css .\/css\r\n$ cp bootstrap-5.1.1-examples\/dashboard\/dashboard.js .\/js\r\n$ cp bootstrap-5.1.1-examples\/dashboard\/index.html ..\/html\/index.html\r\n$ rm -rf bootstrap-5.1.1-dist.zip bootstrap-5.1.1-dist bootstrap-5.1.1-examples.zip bootstrap-5.1.1-examples\r\n$ cd ..\/..\r\n$ vim django_project\/html\/index.html\r\n<\/code><\/pre>\n<details>django_project\/html\/index.html\u6587\u4ef6\u7684\u7f16\u8f91\u5185\u5bb9@@ -1,3 +1,4 @@<br \/>\n+{% load static %}<br \/>\n&lt;!doctype html&gt;<\/p>\n<p>@@ -13,7 +14,7 @@<\/p>\n<p><!-- Bootstrap core CSS --><br \/>\n&#8211; +<\/p>\n<\/details>\n","protected":false},"excerpt":{"rendered":"<p>1. \u9019\u7bc7\u6587\u7ae0\u7684\u5167\u5bb9 (zh\u00e8 de \u5728Web\u5e94\u7528\u5f00\u53d1\u5b66\u4e60\u7684\u7b2c\u4e8c\u90e8\u5206\u4e2d\uff0c\u6211\u4eec\u8bb0\u5f55\u4e86\u670d\u52a1\u7aef\u7684\u542f\u52a8\u8fc7\u7a0b\u3002\u5728\u672c\u6587\u4e2d\uff0c [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-49648","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5b66\u4e60\u7f51\u7edc\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1 #3 - Blog - Silicon Cloud<\/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.silicloud.com\/zh\/blog\/\u5b66\u4e60\u7f51\u7edc\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1-3\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5b66\u4e60\u7f51\u7edc\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1 #3\" \/>\n<meta property=\"og:description\" content=\"1. \u9019\u7bc7\u6587\u7ae0\u7684\u5167\u5bb9 (zh\u00e8 de \u5728Web\u5e94\u7528\u5f00\u53d1\u5b66\u4e60\u7684\u7b2c\u4e8c\u90e8\u5206\u4e2d\uff0c\u6211\u4eec\u8bb0\u5f55\u4e86\u670d\u52a1\u7aef\u7684\u542f\u52a8\u8fc7\u7a0b\u3002\u5728\u672c\u6587\u4e2d\uff0c [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5b66\u4e60\u7f51\u7edc\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1-3\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-06T04:33:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-04T04:03:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8c63913a08637a6d07ef\/29-0.png\" \/>\n<meta name=\"author\" content=\"\u79d1, \u96c5\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u79d1, \u96c5\" \/>\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.silicloud.com\/zh\/blog\/%e5%ad%a6%e4%b9%a0%e7%bd%91%e7%bb%9c%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e5%bc%80%e5%8f%91-3\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ad%a6%e4%b9%a0%e7%bd%91%e7%bb%9c%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e5%bc%80%e5%8f%91-3\/\",\"name\":\"\u5b66\u4e60\u7f51\u7edc\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1 #3 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2022-11-06T04:33:37+00:00\",\"dateModified\":\"2024-05-04T04:03:02+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ad%a6%e4%b9%a0%e7%bd%91%e7%bb%9c%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e5%bc%80%e5%8f%91-3\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ad%a6%e4%b9%a0%e7%bd%91%e7%bb%9c%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e5%bc%80%e5%8f%91-3\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ad%a6%e4%b9%a0%e7%bd%91%e7%bb%9c%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e5%bc%80%e5%8f%91-3\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5b66\u4e60\u7f51\u7edc\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1 #3\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a\",\"name\":\"\u79d1, \u96c5\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g\",\"caption\":\"\u79d1, \u96c5\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keya\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ad%a6%e4%b9%a0%e7%bd%91%e7%bb%9c%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e5%bc%80%e5%8f%91-3\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5b66\u4e60\u7f51\u7edc\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1 #3 - Blog - Silicon Cloud","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.silicloud.com\/zh\/blog\/\u5b66\u4e60\u7f51\u7edc\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1-3\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5b66\u4e60\u7f51\u7edc\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1 #3","og_description":"1. \u9019\u7bc7\u6587\u7ae0\u7684\u5167\u5bb9 (zh\u00e8 de \u5728Web\u5e94\u7528\u5f00\u53d1\u5b66\u4e60\u7684\u7b2c\u4e8c\u90e8\u5206\u4e2d\uff0c\u6211\u4eec\u8bb0\u5f55\u4e86\u670d\u52a1\u7aef\u7684\u542f\u52a8\u8fc7\u7a0b\u3002\u5728\u672c\u6587\u4e2d\uff0c [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5b66\u4e60\u7f51\u7edc\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1-3\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2022-11-06T04:33:37+00:00","article_modified_time":"2024-05-04T04:03:02+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8c63913a08637a6d07ef\/29-0.png"}],"author":"\u79d1, \u96c5","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u79d1, \u96c5","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ad%a6%e4%b9%a0%e7%bd%91%e7%bb%9c%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e5%bc%80%e5%8f%91-3\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ad%a6%e4%b9%a0%e7%bd%91%e7%bb%9c%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e5%bc%80%e5%8f%91-3\/","name":"\u5b66\u4e60\u7f51\u7edc\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1 #3 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2022-11-06T04:33:37+00:00","dateModified":"2024-05-04T04:03:02+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ad%a6%e4%b9%a0%e7%bd%91%e7%bb%9c%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e5%bc%80%e5%8f%91-3\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%ad%a6%e4%b9%a0%e7%bd%91%e7%bb%9c%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e5%bc%80%e5%8f%91-3\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ad%a6%e4%b9%a0%e7%bd%91%e7%bb%9c%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e5%bc%80%e5%8f%91-3\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5b66\u4e60\u7f51\u7edc\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1 #3"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a","name":"\u79d1, \u96c5","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g","caption":"\u79d1, \u96c5"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keya\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ad%a6%e4%b9%a0%e7%bd%91%e7%bb%9c%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e5%bc%80%e5%8f%91-3\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/49648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=49648"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/49648\/revisions"}],"predecessor-version":[{"id":98204,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/49648\/revisions\/98204"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=49648"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=49648"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=49648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}