{"id":315178,"date":"2024-05-20T23:53:42","date_gmt":"2024-05-20T15:53:42","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/315178.html"},"modified":"2024-05-20T23:53:49","modified_gmt":"2024-05-20T15:53:49","slug":"python-%e6%93%8d%e4%bd%9c-redis-%e6%9c%89%e5%93%aa%e4%ba%9b%e6%9c%80%e4%bd%b3%e5%ae%9e%e8%b7%b5-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/315178.html","title":{"rendered":"Python \u64cd\u4f5c Redis \u6709\u54ea\u4e9b\u6700\u4f73\u5b9e\u8df5"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/27034929\/d0b410cd-497b-45db-9c8b-7f85653954c9.webp\" alt=\"Python \u64cd\u4f5c Redis \u6709\u54ea\u4e9b\u6700\u4f73\u5b9e\u8df5\" \/><\/p>\n<p><p><strong>\u4f7f\u7528\u8fde\u63a5\u6c60\u7ba1\u7406\u8fde\u63a5\u3001\u5408\u7406\u914d\u7f6e\u5e8f\u5217\u5316\u65b9\u5f0f\u3001\u76d1\u63a7\u548c\u4f18\u5316Redis\u6027\u80fd\u3001\u786e\u4fddRedis\u5b89\u5168\u6027<\/strong>\uff0c\u5176\u4e2d<strong>\u4f7f\u7528\u8fde\u63a5\u6c60\u7ba1\u7406\u8fde\u63a5<\/strong>\u662f\u6700\u4f73\u5b9e\u8df5\u4e4b\u4e00\u3002\u8fde\u63a5\u6c60\u53ef\u4ee5\u590d\u7528\u957f\u65f6\u95f4\u5b58\u5728\u7684\u8fde\u63a5\uff0c\u51cf\u5c11\u9891\u7e41\u5f00\u95ed\u8fde\u63a5\u7684\u6027\u80fd\u5f00\u9500\uff0c\u7ef4\u6301\u8fde\u63a5\u6570\u7684\u7a33\u5b9a\uff0c\u901a\u8fc7\u9884\u521b\u5efa\u8fde\u63a5\u8d44\u6e90\u4f18\u5316\u54cd\u5e94\u901f\u5ea6\u3002\u5728Python\u4e2d\uff0c\u4f7f\u7528redis-py\u5e93\u65f6\uff0c\u5b83\u4f1a\u9ed8\u8ba4\u4f7f\u7528\u8fde\u63a5\u6c60\u3002\u5f00\u53d1\u4eba\u5458\u53ef\u4ee5\u901a\u8fc7\u914d\u7f6e\u6700\u5927\u8fde\u63a5\u6570\u3001\u8fde\u63a5\u8d85\u65f6\u7b49\u53c2\u6570\uff0c\u6765\u4fdd\u8bc1\u8fde\u63a5\u6c60\u7684\u9ad8\u6548\u8fd0\u884c\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5408\u7406\u4f7f\u7528\u8fde\u63a5\u6c60<\/h3>\n<\/p>\n<p><p>\u4e3a\u4e86\u9632\u6b62\u6bcf\u6b21\u4e0eRedis\u4ea4\u4e92\u65f6\u90fd\u5efa\u7acb\u65b0\u7684\u7f51\u7edc\u8fde\u63a5\uff0c\u5e94\u8be5\u4f7f\u7528\u8fde\u63a5\u6c60\u6765\u7ef4\u62a4\u548c\u7ba1\u7406\u5df2\u5efa\u7acb\u7684\u8fde\u63a5\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u8fde\u63a5\u6c60\u57fa\u672c\u4f7f\u7528<\/strong>\uff1a<\/p>\n<p>\u5728\u4f7f\u7528redis-py\u5e93\u65f6\uff0c\u901a\u8fc7\u6784\u5efa\u4e00\u4e2a\u8fde\u63a5\u6c60\u5bf9\u8c61\uff0c\u53ef\u4ee5\u91cd\u590d\u4f7f\u7528\u5176\u4e2d\u7684\u8fde\u63a5\uff0c\u800c\u4e0d\u5fc5\u6bcf\u6b21\u64cd\u4f5c\u90fd\u521b\u5efa\u65b0\u7684\u8fde\u63a5\u3002\u8fd9\u6837\u53ef\u4ee5\u663e\u8457\u63d0\u9ad8\u6027\u80fd\uff0c\u5c24\u5176\u662f\u5728\u9ad8\u5e76\u53d1\u60c5\u51b5\u4e0b\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u914d\u7f6e\u8fde\u63a5\u6c60\u53c2\u6570<\/strong>\uff1a<\/p>\n<p>\u8003\u8651\u5230\u4e0d\u540c\u5e94\u7528\u5bf9\u8fde\u63a5\u7684\u9700\u6c42\u4e0d\u540c\uff0c\u5e94\u8be5\u6839\u636e\u5e94\u7528\u60c5\u51b5\u8c03\u6574\u8fde\u63a5\u6c60\u7684\u5927\u5c0f\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u8bbe\u7f6e\u6700\u5927\u8fde\u63a5\u6570\u548c\u7b49\u5f85\u8fde\u63a5\u7684\u8d85\u65f6\u65f6\u95f4\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><h3>\u4e8c\u3001\u9009\u62e9\u5408\u9002\u7684\u5e8f\u5217\u5316\u65b9\u5f0f<\/h3>\n<\/p>\n<p><p>\u5b58\u53d6Redis\u65f6\uff0c\u9009\u62e9\u9002\u5f53\u7684\u5e8f\u5217\u5316\u65b9\u5f0f\u5bf9\u6027\u80fd\u53ca\u5b58\u50a8\u6548\u7387\u6709\u8f83\u5927\u5f71\u54cd\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u5e8f\u5217\u5316\u6570\u636e<\/strong>\uff1a<\/p>\n<p>Python\u4e2d\u7684\u5bf9\u8c61\u5728\u5b58\u5165Redis\u524d\u9700\u8981\u88ab\u5e8f\u5217\u5316\u6210\u5b57\u7b26\u4e32\uff0c\u800c\u53d6\u51fa\u65f6\u9700\u8981\u53cd\u5e8f\u5217\u5316\u3002\u9002\u5f53\u9009\u62e9\u5e8f\u5217\u5316\u6a21\u5757\uff0c\u5982json\u3001pickle\u3001msgpack\u7b49\uff0c\u53ef\u6839\u636e\u5b9e\u9645\u9700\u6c42\u548c\u6027\u80fd\u8003\u8651\u6765\u9009\u62e9\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8003\u8651\u5b58\u50a8\u683c\u5f0f<\/strong>\uff1a<\/p>\n<p>JSON\u867d\u7136\u53ef\u8bfb\u6027\u597d\uff0c\u4f46\u67d0\u4e9b\u60c5\u51b5\u4e0b\u4f7f\u7528msgpack\u7b49\u4e8c\u8fdb\u5236\u683c\u5f0f\u80fd\u66f4\u6709\u6548\u538b\u7f29\u6570\u636e\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><h3>\u4e09\u3001\u76d1\u63a7\u548c\u4f18\u5316Redis\u6027\u80fd<\/h3>\n<\/p>\n<p><p>\u76d1\u63a7\u5bf9\u4e8e\u7ef4\u6301Redis\u7684\u6027\u80fd\u81f3\u5173\u91cd\u8981\u3002\u901a\u8fc7\u76d1\u63a7\u53ef\u4ee5\u5f97\u77e5\u54ea\u4e9b\u64cd\u4f5c\u8f83\u6162\uff0c\u54ea\u4e9b\u6570\u636e\u7ed3\u6784\u4e0d\u5408\u7406\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u4f7f\u7528\u76d1\u63a7\u5de5\u5177<\/strong>\uff1a<\/p>\n<p>\u5229\u7528Redis\u81ea\u5e26\u7684\u76d1\u63a7\u547d\u4ee4\u5982<code>INFO<\/code>\u3001<code>MONITOR<\/code>\u3001<code>SLOWLOG<\/code>\u7b49\uff0c\u6216\u8005\u4f7f\u7528\u4e13\u4e1a\u7684\u76d1\u63a7\u5de5\u5177\u6765\u8fdb\u884c\u76d1\u63a7\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6027\u80fd\u8c03\u4f18<\/strong>\uff1a<\/p>\n<p>\u5206\u6790\u76d1\u63a7\u6570\u636e\uff0c\u627e\u51fa\u74f6\u9888\uff0c\u5e76\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u8c03\u6574\u7d22\u5f15\u3001\u6570\u636e\u7ed3\u6784\u3001\u5185\u5b58\u914d\u7f6e\u7b49\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><h3>\u56db\u3001\u786e\u4fddRedis\u5b89\u5168\u6027<\/h3>\n<\/p>\n<p><p>\u4fdd\u62a4Redis\u670d\u52a1\u7684\u5b89\u5168\u6027\u540c\u6837\u91cd\u8981\uff0c\u5e94\u5f53\u91c7\u53d6\u63aa\u65bd\u786e\u4fdd\u6570\u636e\u5b89\u5168\u548c\u8bbf\u95ee\u63a7\u5236\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u914d\u7f6e\u6743\u9650\u548c\u8bbf\u95ee\u63a7\u5236<\/strong>\uff1a<\/p>\n<p>\u901a\u8fc7\u5bc6\u7801\u4fdd\u62a4\uff0c\u4ee5\u53ca\u66f4\u7ec6\u7c92\u5ea6\u7684\u8bbf\u95ee\u63a7\u5236\u5217\u8868\uff08ACL\uff09\uff0c\u9632\u6b62\u672a\u6388\u6743\u8bbf\u95ee\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7f51\u7edc\u5b89\u5168<\/strong>\uff1a<\/p>\n<p>\u4f7f\u7528SSL\/TLS\u52a0\u5bc6Redis\u8fde\u63a5\uff0c\u4fdd\u8bc1\u6570\u636e\u4f20\u8f93\u8fc7\u7a0b\u7684\u5b89\u5168\uff0c\u7279\u522b\u662f\u5728\u4e91\u73af\u5883\u548c\u5fae\u670d\u52a1\u67b6\u6784\u4e2d\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><h3>\u4e94\u3001\u5408\u7406\u8bbe\u8ba1\u6570\u636e\u7ed3\u6784\u4e0e\u952e<\/h3>\n<\/p>\n<p><p>\u5bf9\u4e8eRedis\u4e2d\u7684\u6570\u636e\u7ed3\u6784\u4ee5\u53ca\u952e\u7684\u8bbe\u8ba1\uff0c\u5e94\u5f53\u6839\u636e\u4e1a\u52a1\u7279\u70b9\u548c\u8bbf\u95ee\u6a21\u5f0f\u8fdb\u884c\u4f18\u5316\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u6570\u636e\u7ed3\u6784\u9009\u62e9<\/strong>\uff1a<\/p>\n<p>Redis\u63d0\u4f9b\u591a\u79cd\u6570\u636e\u7ed3\u6784\uff0c\u5982\u5b57\u7b26\u4e32\u3001\u54c8\u5e0c\u3001\u5217\u8868\u7b49\u3002\u6839\u636e\u6570\u636e\u7279\u6027\u548c\u64cd\u4f5c\u7c7b\u578b\u7075\u6d3b\u9009\u7528\uff0c\u53ef\u4ee5\u663e\u8457\u63d0\u9ad8\u6027\u80fd\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u952e\u540d\u8bbe\u8ba1<\/strong>\uff1a<\/p>\n<p>\u952e\u540d\u5e94\u5177\u6709\u4e00\u5b9a\u7684\u8868\u8ff0\u6027\uff0c\u5e76\u8003\u8651\u5230\u96c6\u7fa4\u73af\u5883\u4e0b\u7684\u6570\u636e\u5206\u5e03\uff0c\u907f\u514d\u4f7f\u7528\u8fc7\u957f\u6216\u8fc7\u77ed\u7684\u952e\u540d\uff0c\u4ee5\u53ca\u8fc7\u5ea6\u96c6\u4e2d\u7684\u70ed\u70b9\u952e\u503c\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><h3>\u516d\u3001\u6392\u9519\u4e0e\u5f02\u5e38\u5904\u7406<\/h3>\n<\/p>\n<p><p>\u5728\u5f00\u53d1\u5e94\u7528\u65f6\uff0c\u5bf9\u4e8e\u53ef\u80fd\u53d1\u751f\u7684\u9519\u8bef\u548c\u5f02\u5e38\u8fdb\u884c\u5904\u7406\u662f\u5fc5\u8981\u7684\uff0c\u7279\u522b\u662f\u5728\u4e0eRedis\u4ea4\u4e91\u65f6\uff0c\u5e94\u8be5\u80fd\u591f\u59a5\u5584\u5904\u7406\u5404\u79cd\u95ee\u9898\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u9519\u8bef\u5904\u7406<\/strong>\uff1a<\/p>\n<p>\u9488\u5bf9Redis\u64cd\u4f5c\u53ef\u80fd\u629b\u51fa\u7684\u5f02\u5e38\u8fdb\u884c\u6355\u83b7\u5904\u7406\uff0c\u5982\u8fde\u63a5\u5f02\u5e38\u3001\u547d\u4ee4\u6267\u884c\u5f02\u5e38\u7b49\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u65e5\u5fd7\u8bb0\u5f55<\/strong>\uff1a<\/p>\n<p>\u8bb0\u5f55\u5173\u952e\u7684\u64cd\u4f5c\u6b65\u9aa4\u548c\u5f02\u5e38\u4fe1\u606f\u6709\u52a9\u4e8e\u95ee\u9898\u7684\u6392\u67e5\u4ee5\u53ca\u6027\u80fd\u8c03\u4f18\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><h3>\u4e03\u3001\u5229\u7528Redis\u7684\u9ad8\u7ea7\u7279\u6027<\/h3>\n<\/p>\n<p><p>Redis\u4e0d\u53ea\u662f\u4e00\u4e2a\u952e\u503c\u5b58\u50a8\u7cfb\u7edf\uff0c\u5b83\u8fd8\u63d0\u4f9b\u4e86\u4e8b\u52a1\u3001\u8ba2\u9605\u53d1\u5e03\u7b49\u9ad8\u7ea7\u7279\u6027\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u4f7f\u7528\u4e8b\u52a1<\/strong>\uff1a<\/p>\n<p>Redis\u4e8b\u52a1\u53ef\u4ee5\u4fdd\u8bc1\u4e00\u7cfb\u5217\u64cd\u4f5c\u7684\u539f\u5b50\u6027\uff0c\u901a\u8fc7<code>MULTI<\/code>\u3001<code>EXEC<\/code>\u548c<code>WATCH<\/code>\u7b49\u547d\u4ee4\u5b9e\u73b0\u4e8b\u52a1\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8ba2\u9605\u53d1\u5e03\u6a21\u5f0f<\/strong>\uff1a<\/p>\n<p>\u5229\u7528Redis\u7684PUB\/SUB\u529f\u80fd\uff0c\u53ef\u4ee5\u5b9e\u73b0\u6d88\u606f\u7684\u53d1\u5e03\u4e0e\u8ba2\u9605\uff0c\u6784\u5efa\u7075\u6d3b\u7684\u6d88\u606f\u901a\u4fe1\u673a\u5236\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><h3>\u516b\u3001\u5b9a\u671f\u5907\u4efd\u4e0e\u6062\u590d<\/h3>\n<\/p>\n<p><p>\u5b9a\u671f\u5907\u4efdRedis\u6570\u636e\u662f\u907f\u514d\u6570\u636e\u4e22\u5931\u7684\u91cd\u8981\u624b\u6bb5\uff0c\u540c\u65f6\u4e5f\u9700\u8981\u786e\u4fdd\u80fd\u591f\u4ece\u5907\u4efd\u4e2d\u6062\u590d\u6570\u636e\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u5b9a\u671f\u5907\u4efd<\/strong>\uff1a<\/p>\n<p>\u53ef\u4f7f\u7528<code>BGSAVE<\/code>\u547d\u4ee4\u5b9a\u671f\u751f\u6210\u6570\u636e\u5feb\u7167\uff0c\u6216\u8005\u4f7f\u7528AOF\uff08Append Only File\uff09\u6301\u4e45\u5316\u65b9\u5f0f\u5bf9\u6570\u636e\u53d8\u66f4\u8fdb\u884c\u8bb0\u5f55\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6570\u636e\u6062\u590d<\/strong>\uff1a<\/p>\n<p>\u5728\u6570\u636e\u4e22\u5931\u6216\u635f\u574f\u65f6\uff0c\u5e94\u6709\u80fd\u529b\u4ece\u5907\u4efd\u6216AOF\u6587\u4ef6\u4e2d\u6062\u590d\u6570\u636e\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6700\u4f73\u5b9e\u8df5\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u64cd\u4f5c\u5e76\u4f18\u5316Python\u4e0eRedis\u7684\u4ea4\u4e92\uff0c\u4fdd\u8bc1\u5e94\u7528\u7684\u7a33\u5b9a\u6027\u548c\u9ad8\u6548\u6027\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u8fde\u63a5\u5230Redis\u6570\u636e\u5e93\uff1f<\/strong><\/p>\n<p>\u8981\u5728Python\u4e2d\u8fde\u63a5\u5230Redis\u6570\u636e\u5e93\uff0c\u53ef\u4ee5\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93<code>redis-py<\/code>\u3002\u9996\u5148\uff0c\u9700\u8981\u901a\u8fc7pip\u5b89\u88c5\u8be5\u5e93\u3002\u7136\u540e\uff0c\u5728Python\u4ee3\u7801\u4e2d\u5bfc\u5165redis\u6a21\u5757\uff0c\u5e76\u4f7f\u7528redis.Redis()\u51fd\u6570\u521b\u5efa\u4e00\u4e2a\u8fde\u63a5\u5bf9\u8c61\u3002\u4f20\u5165\u53c2\u6570\u53ef\u4ee5\u662fRedis\u670d\u52a1\u5668\u7684\u4e3b\u673a\u540d\u3001\u7aef\u53e3\u53f7\u7b49\u3002\u6700\u540e\uff0c\u4f7f\u7528\u8fde\u63a5\u5bf9\u8c61\u53ef\u4ee5\u6267\u884c\u5404\u79cdRedis\u64cd\u4f5c\uff0c\u5982\u8bfb\u5199\u6570\u636e\u3001\u53d1\u5e03\u8ba2\u9605\u7b49\u3002<\/p>\n<p><strong>\u5982\u4f55\u4f7f\u7528Python\u5411Redis\u6570\u636e\u5e93\u5199\u5165\u6570\u636e\uff1f<\/strong><\/p>\n<p>\u8981\u5411Redis\u6570\u636e\u5e93\u5199\u5165\u6570\u636e\uff0c\u53ef\u4ee5\u4f7f\u7528\u8fde\u63a5\u5bf9\u8c61\u7684<code>set()<\/code>\u51fd\u6570\u3002\u8be5\u51fd\u6570\u63a5\u53d7\u4e00\u4e2a\u952e\u548c\u4e00\u4e2a\u503c\u4f5c\u4e3a\u53c2\u6570\uff0c\u5e76\u5c06\u952e\u503c\u5bf9\u5b58\u50a8\u5230Redis\u4e2d\u3002\u5982\u679c\u952e\u5df2\u5b58\u5728\uff0c\u5219\u4f1a\u66f4\u65b0\u5bf9\u5e94\u7684\u503c\u3002\u6b64\u5916\uff0c\u8fd8\u53ef\u4ee5\u4f7f\u7528\u5176\u4ed6\u5199\u5165\u6570\u636e\u7684\u51fd\u6570\uff0c\u5982<code>hset()<\/code>\u7528\u4e8e\u5199\u5165\u54c8\u5e0c\u6570\u636e\u3001<code>lpush()<\/code>\u7528\u4e8e\u5199\u5165\u5217\u8868\u6570\u636e\u7b49\u3002<\/p>\n<p><strong>\u5982\u4f55\u4f7f\u7528Python\u4eceRedis\u6570\u636e\u5e93\u8bfb\u53d6\u6570\u636e\uff1f<\/strong><\/p>\n<p>\u8981\u4eceRedis\u6570\u636e\u5e93\u8bfb\u53d6\u6570\u636e\uff0c\u53ef\u4ee5\u4f7f\u7528\u8fde\u63a5\u5bf9\u8c61\u7684<code>get()<\/code>\u51fd\u6570\u3002\u8be5\u51fd\u6570\u63a5\u53d7\u4e00\u4e2a\u952e\u4f5c\u4e3a\u53c2\u6570\uff0c\u8fd4\u56de\u5bf9\u5e94\u7684\u503c\u3002\u5982\u679c\u952e\u4e0d\u5b58\u5728\uff0c\u5219\u8fd4\u56de\u7a7a\u503c\u3002\u9664\u4e86<code>get()<\/code>\u51fd\u6570\uff0c\u8fd8\u53ef\u4ee5\u4f7f\u7528\u5176\u4ed6\u8bfb\u53d6\u6570\u636e\u7684\u51fd\u6570\uff0c\u5982<code>hget()<\/code>\u7528\u4e8e\u8bfb\u53d6\u54c8\u5e0c\u6570\u636e\u3001<code>lrange()<\/code>\u7528\u4e8e\u8bfb\u53d6\u5217\u8868\u6570\u636e\u7b49\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u4f7f\u7528\u8fde\u63a5\u6c60\u7ba1\u7406\u8fde\u63a5\u3001\u5408\u7406\u914d\u7f6e\u5e8f\u5217\u5316\u65b9\u5f0f\u3001\u76d1\u63a7\u548c\u4f18\u5316Redis\u6027\u80fd\u3001\u786e\u4fddRedis\u5b89\u5168\u6027\uff0c\u5176\u4e2d\u4f7f\u7528\u8fde\u63a5\u6c60\u7ba1\u7406\u8fde\u63a5 [&hellip;]","protected":false},"author":3,"featured_media":315185,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/315178"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=315178"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/315178\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/315185"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=315178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=315178"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=315178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}