{"id":27501,"date":"2023-10-26T17:10:15","date_gmt":"2023-04-06T01:36:06","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu%e7%9a%84python%e4%b8%8a%e5%ae%89%e8%a3%85celery%e3%80%82-4\/"},"modified":"2025-08-12T03:03:33","modified_gmt":"2025-08-11T19:03:33","slug":"%e5%9c%a8ubuntu%e7%9a%84python%e4%b8%8a%e5%ae%89%e8%a3%85celery%e3%80%82-4","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu%e7%9a%84python%e4%b8%8a%e5%ae%89%e8%a3%85celery%e3%80%82-4\/","title":{"rendered":"\u5728Ubuntu\u7684Python\u4e0a\u5b89\u88c5Celery"},"content":{"rendered":"<h1>\u5728Ubuntu\u4e0a\u5b89\u88c5Python\u5e76\u5b89\u88c5Celery\u7684\u6b65\u9aa4\u3002<\/h1>\n<h2>\u8fde\u63a5\u5230\u5916\u90e8\u670d\u52a1\u5668\u5e76\u542f\u52a8\u5de5\u4f5c\u7a0b\u5e8f\u4ee5\u83b7\u53d6\u6d88\u606f\u3002<\/h2>\n<h4>\u5f00\u53d1\u73af\u5883<\/h4>\n<p>Ubuntu 20.04.2 LTS: Ubuntu 20.04.2 LTS \u8f6f\u4ef6\u7248\u672c<br \/>\nPython 3.8.10: Python 3.8.10 \u7248\u672c<br \/>\nDjango 3.2.7: Django 3.2.7 \u7248\u672c<br \/>\nredis 3.5.3: redis 3.5.3 \u7248\u672c<\/p>\n<h4>\u786e\u8ba4\u662f\u5426\u5b89\u88c5<\/h4>\n<pre class=\"post-pre\"><code>ubuntu@tk2-248-33993:\/var $ sudo pip freeze\r\n...\u4f55\u304b\u3057\u3089\u8272\u3005\u30ea\u30b9\u30c8\u304c\u3067\u308b\u3002\u305d\u306e\u4e2d\u3067\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u66f8\u304b\u308c\u3066\u3044\u308c\u3070OK\r\ncelery==5.1.2\r\nDjango==3.2.7\r\nredis==3.5.3\r\n<\/code><\/pre>\n<h4>\u5982\u679c\u4e0d\u5b58\u5728\u7684\u8bdd\uff0c\u8fdb\u884c\u5b89\u88c5\u3002<\/h4>\n<p>\u4f7f\u7528pip3\u5b89\u88c5django<br \/>\n\u4f7f\u7528pip3\u5b89\u88c5celery<br \/>\n\u4f7f\u7528pip3\u5b89\u88c5redis<\/p>\n<h4>\u5728\u53d8\u91cfvar\u4e0b\u521b\u5efa\u4e00\u4e2a\u540d\u4e3awww\u7684\u76ee\u5f55\u3002<\/h4>\n<pre class=\"post-pre\"><code>ubuntu@tk2-248-33993:\/var $ sudo mkdir www\r\n<\/code><\/pre>\n<h4>\u5728 www \u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a django_app \u7684\u6587\u4ef6\u5939\u3002<\/h4>\n<pre class=\"post-pre\"><code>ubuntu@tk2:\/var\/www $ sudo mkdir django_app\r\n<\/code><\/pre>\n<h4>\u524d\u5f80 Django \u5e94\u7528\u7a0b\u5e8f\uff08\u901a\u7528\uff09<\/h4>\n<pre class=\"post-pre\"><code>ubuntu@tk2:\/var\/www $ cd django_app\r\n<\/code><\/pre>\n<h4>\u521b\u5efa\u9879\u76ee\uff08\u901a\u7528\uff09<\/h4>\n<pre class=\"post-pre\"><code>ubuntu@tk2:\/var\/www\/django_app $ sudo django-admin startproject celery_tutorial\r\n<\/code><\/pre>\n<h4>\u8fdb\u5165\u521b\u5efa\u7684celery_tutorial\u6587\u4ef6\u5939 (\u901a\u7528)<\/h4>\n<pre class=\"post-pre\"><code>ubuntu@tk2:\/var\/www\/django_app $ cd celery_tutorial\/\r\n<\/code><\/pre>\n<h4>\u8fc1\u79fb (\u901a\u7528)<\/h4>\n<pre class=\"post-pre\"><code>ubuntu@tk2:\/var\/www\/django_app\/celery_tutorial $ sudo python3 manage.py migrate\r\n<\/code><\/pre>\n<h4>\u524d\u5f80\u201ccelery_tutorial\u201d\uff08\u5171\u4eab\uff09\u3002<\/h4>\n<pre class=\"post-pre\"><code>ubuntu@tk2:\/var\/www\/django_app\/celery_tutorial $ cd celery_tutorial\/\r\n<\/code><\/pre>\n<h4>\u521b\u5efa celery.py \u6587\u4ef6 (\u5171\u540c)<\/h4>\n<pre class=\"post-pre\"><code>ubuntu@tk2:\/var\/www\/django_app\/celery_tutorial\/celery_tutorial $ sudo vi celery.py\r\n<\/code><\/pre>\n<h4>\u5c06\u4ee5\u4e0b\u5185\u5bb9\u5199\u5165 celery.py \u6587\u4ef6\uff08\u901a\u7528\uff09<\/h4>\n<pre class=\"post-pre\"><code>from __future__ import absolute_import, unicode_literals\r\n\r\nimport os\r\n\r\nfrom celery import Celery\r\n\r\n# set the default Django settings module for the 'celery' program.\r\nos.environ.setdefault('DJANGO_SETTINGS_MODULE', 'celery_tutorial.settings')\r\n\r\napp = Celery('celery_tutorial')\r\n\r\n# Using a string here means the worker doesn't have to serialize\r\n# the configuration object to child processes.\r\n# - namespace='CELERY' means all celery-related configuration keys\r\n#   should have a `CELERY_` prefix.\r\napp.config_from_object('django.conf:settings', namespace='CELERY')\r\n\r\n# Load task modules from all registered Django app configs.\r\napp.autodiscover_tasks()\r\n<\/code><\/pre>\n<h4>\u6253\u5f00setting.py\u6587\u4ef6\uff08\u5de5\u4f5c\u65b9\uff09<\/h4>\n<pre class=\"post-pre\"><code>ubuntu@tk2-248-33993:\/var\/www\/django_app\/celery_tutorial\/celery_tutorial $ sudo vi settings.py\r\n<\/code><\/pre>\n<h4>\u5728\uff08Worker\uff09\u4e00\u4fa7\u6dfb\u52a0\u60f3\u8981\u8fde\u63a5\u7684\u76ee\u6807IP\u5730\u5740\u3002<\/h4>\n<pre class=\"post-pre\"><code>sudo vi \/var\/www\/django_app\/celery_tutorial\/celery_tutorial\/settings.py\r\nCELERY_BROKER_URL = 'redis:\/\/1xx.1xx.2xx.2xx:6379'\r\n<\/code><\/pre>\n<h4>\u5728\u8fde\u63a5\u5230\u7684IP\u5730\u5740\u4e0a\u8ffd\u52a0\u4fe1\u606f\uff08\u4ee3\u7406\u7aef\uff09<\/h4>\n<pre class=\"post-pre\"><code>sudo vi \/var\/www\/django_app\/celery_tutorial\/celery_tutorial\/settings.py\r\nCELERY_BROKER_URL = ['*']\r\n<\/code><\/pre>\n<h4>\u6253\u5f00 init.py\uff08\u901a\u7528\uff09<\/h4>\n<pre class=\"post-pre\"><code>ubuntu@tk2-248-33993:\/var\/www\/django_app\/celery_tutorial\/celery_tutorial $ sudo vi __init__.py\r\n<\/code><\/pre>\n<h4>\u5728init.py\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9\uff08\u901a\u7528\uff09\u3002<\/h4>\n<pre class=\"post-pre\"><code>from __future__ import absolute_import, unicode_literals\r\n\r\n# This will make sure the app is always imported when\r\n# Django starts so that shared_task will use this app.\r\nfrom .celery import app as celery_app\r\n\r\n__all__ = ('celery_app',)\r\n<\/code><\/pre>\n<h3>\u5728celery.py\u6587\u4ef6\u4e2d\u8fdb\u884c\u6dfb\u52a0\uff08Worker\u4fa7\uff09<\/h3>\n<pre class=\"post-pre\"><code>from __future__ import absolute_import, unicode_literals\r\n\r\nimport os\r\n\r\nfrom celery import Celery\r\n\r\n# set the default Django settings module for the 'celery' program.\r\nos.environ.setdefault('DJANGO_SETTINGS_MODULE', 'celery_tutorial.settings')\r\n\r\napp = Celery('celery_tutorial')\r\n\r\n# Using a string here means the worker doesn't have to serialize\r\n# the configuration object to child processes.\r\n# - namespace='CELERY' means all celery-related configuration keys\r\n#   should have a `CELERY_` prefix.\r\napp.config_from_object('django.conf:settings', namespace='CELERY')\r\n\r\n# Load task modules from all registered Django app configs.\r\napp.autodiscover_tasks()\r\n\r\n##\u3053\u3053\u304b\u3089\u8ffd\u52a0###\r\n@app.task\r\ndef debug_task(x, y):\r\n    print('wwwww')\r\n    return x + y\r\n##\u8ffd\u52a0\u3053\u3053\u307e\u3067###\r\n<\/code><\/pre>\n<h4>\u5c06&#8221;\/etc\/redis\/redis.conf&#8221;\u6587\u4ef6\u8fdb\u884c\u4fee\u6539\uff0c\u4f7f\u5176\u53ef\u4ee5\u8fdb\u884c\u5916\u90e8\u8fde\u63a5\uff08\u5728broker\u7aef\uff09\u3002<\/h4>\n<pre class=\"post-pre\"><code>#bind 127.0.0.1 -::1\r\nbind 0.0.0.0\r\n<\/code><\/pre>\n<h4>\u5982\u679c\u4fee\u6539\u4e86redis.conf\u6587\u4ef6\uff0c\u9700\u8981\u91cd\u65b0\u542f\u52a8redis\uff08Broker\u7aef\uff09\u3002<\/h4>\n<p>mention: This is a paraphrased translation in Chinese.<\/p>\n<pre class=\"post-pre\"><code>ubuntu@tk2-248-33993:\/var\/www\/django_app\/celery_tutorial\/celery_tutorial $ sudo systemctl status redis\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u5728Ubuntu\u4e0a\u5b89\u88c5Python\u5e76\u5b89\u88c5Celery\u7684\u6b65\u9aa4\u3002 \u8fde\u63a5\u5230\u5916\u90e8\u670d\u52a1\u5668\u5e76\u542f\u52a8\u5de5\u4f5c\u7a0b\u5e8f\u4ee5\u83b7\u53d6\u6d88\u606f\u3002 \u5f00\u53d1\u73af [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[227],"class_list":["post-27501","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-227"],"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>\u5728Ubuntu\u7684Python\u4e0a\u5b89\u88c5Celery - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"\u5173\u4e8e\u5728Ubuntu\u7684Python\u4e0a\u5b89\u88c5Celery\u7684\u6280\u672f\u6587\u7ae0\" \/>\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\/\u5728ubuntu\u7684python\u4e0a\u5b89\u88c5celery\u3002-4\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728Ubuntu\u7684Python\u4e0a\u5b89\u88c5Celery\" \/>\n<meta property=\"og:description\" content=\"\u5173\u4e8e\u5728Ubuntu\u7684Python\u4e0a\u5b89\u88c5Celery\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5728ubuntu\u7684python\u4e0a\u5b89\u88c5celery\u3002-4\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-06T01:36:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-11T19:03:33+00:00\" \/>\n<meta name=\"author\" content=\"\u9038, \u79d1\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u9038, \u79d1\" \/>\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.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu%e7%9a%84python%e4%b8%8a%e5%ae%89%e8%a3%85celery%e3%80%82-4\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu%e7%9a%84python%e4%b8%8a%e5%ae%89%e8%a3%85celery%e3%80%82-4\/\",\"name\":\"\u5728Ubuntu\u7684Python\u4e0a\u5b89\u88c5Celery - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-04-06T01:36:06+00:00\",\"dateModified\":\"2025-08-11T19:03:33+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487\"},\"description\":\"\u5173\u4e8e\u5728Ubuntu\u7684Python\u4e0a\u5b89\u88c5Celery\u7684\u6280\u672f\u6587\u7ae0\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu%e7%9a%84python%e4%b8%8a%e5%ae%89%e8%a3%85celery%e3%80%82-4\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu%e7%9a%84python%e4%b8%8a%e5%ae%89%e8%a3%85celery%e3%80%82-4\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu%e7%9a%84python%e4%b8%8a%e5%ae%89%e8%a3%85celery%e3%80%82-4\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728Ubuntu\u7684Python\u4e0a\u5b89\u88c5Celery\"}]},{\"@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\/85c1dae56e6ea1e695c73d33c684d487\",\"name\":\"\u9038, \u79d1\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g\",\"caption\":\"\u9038, \u79d1\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keyi\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu%e7%9a%84python%e4%b8%8a%e5%ae%89%e8%a3%85celery%e3%80%82-4\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5728Ubuntu\u7684Python\u4e0a\u5b89\u88c5Celery - Blog - Silicon Cloud","description":"\u5173\u4e8e\u5728Ubuntu\u7684Python\u4e0a\u5b89\u88c5Celery\u7684\u6280\u672f\u6587\u7ae0","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\/\u5728ubuntu\u7684python\u4e0a\u5b89\u88c5celery\u3002-4\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5728Ubuntu\u7684Python\u4e0a\u5b89\u88c5Celery","og_description":"\u5173\u4e8e\u5728Ubuntu\u7684Python\u4e0a\u5b89\u88c5Celery\u7684\u6280\u672f\u6587\u7ae0","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5728ubuntu\u7684python\u4e0a\u5b89\u88c5celery\u3002-4\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-04-06T01:36:06+00:00","article_modified_time":"2025-08-11T19:03:33+00:00","author":"\u9038, \u79d1","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u9038, \u79d1","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu%e7%9a%84python%e4%b8%8a%e5%ae%89%e8%a3%85celery%e3%80%82-4\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu%e7%9a%84python%e4%b8%8a%e5%ae%89%e8%a3%85celery%e3%80%82-4\/","name":"\u5728Ubuntu\u7684Python\u4e0a\u5b89\u88c5Celery - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-04-06T01:36:06+00:00","dateModified":"2025-08-11T19:03:33+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487"},"description":"\u5173\u4e8e\u5728Ubuntu\u7684Python\u4e0a\u5b89\u88c5Celery\u7684\u6280\u672f\u6587\u7ae0","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu%e7%9a%84python%e4%b8%8a%e5%ae%89%e8%a3%85celery%e3%80%82-4\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu%e7%9a%84python%e4%b8%8a%e5%ae%89%e8%a3%85celery%e3%80%82-4\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu%e7%9a%84python%e4%b8%8a%e5%ae%89%e8%a3%85celery%e3%80%82-4\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5728Ubuntu\u7684Python\u4e0a\u5b89\u88c5Celery"}]},{"@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\/85c1dae56e6ea1e695c73d33c684d487","name":"\u9038, \u79d1","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g","caption":"\u9038, \u79d1"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keyi\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu%e7%9a%84python%e4%b8%8a%e5%ae%89%e8%a3%85celery%e3%80%82-4\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/27501","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\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=27501"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/27501\/revisions"}],"predecessor-version":[{"id":96571,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/27501\/revisions\/96571"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=27501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=27501"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=27501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}