{"id":1136303,"date":"2025-01-08T21:34:25","date_gmt":"2025-01-08T13:34:25","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1136303.html"},"modified":"2025-01-08T21:34:28","modified_gmt":"2025-01-08T13:34:28","slug":"python%e4%b8%ad%e5%a6%82%e4%bd%95%e7%94%9f%e6%88%90%e4%b8%80%e4%b8%aa8%e4%bd%8d%e6%95%b0","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1136303.html","title":{"rendered":"python\u4e2d\u5982\u4f55\u751f\u6210\u4e00\u4e2a8\u4f4d\u6570"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25100456\/4a5c50fe-b653-4bfe-86ce-790b809359c7.webp\" alt=\"python\u4e2d\u5982\u4f55\u751f\u6210\u4e00\u4e2a8\u4f4d\u6570\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u751f\u6210\u4e00\u4e2a8\u4f4d\u6570\u7684\u5e38\u89c1\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528\u968f\u673a\u6570\u751f\u6210\u5668\u3001\u5b57\u7b26\u4e32\u64cd\u4f5c\u548c\u52a0\u5bc6\u54c8\u5e0c\u51fd\u6570\u7b49\u3002<\/strong> \u6700\u5e38\u7528\u7684\u65b9\u6cd5\u662f\u901a\u8fc7\u968f\u673a\u6570\u751f\u6210\u5668\u751f\u6210\u4e00\u4e2a8\u4f4d\u7684\u6574\u6570\uff0c\u6216\u8005\u901a\u8fc7\u5b57\u7b26\u4e32\u64cd\u4f5c\u751f\u6210\u4e00\u4e2a\u5305\u542b\u6570\u5b57\u548c\/\u6216\u5b57\u6bcd\u76848\u4f4d\u5b57\u7b26\u4e32\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u51e0\u79cd\u5b9e\u73b0\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528\u968f\u673a\u6570\u751f\u6210\u5668\u751f\u62108\u4f4d\u6574\u6570<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528Python\u5185\u7f6e\u7684<code>random<\/code>\u6a21\u5757\uff0c\u53ef\u4ee5\u8f7b\u677e\u751f\u6210\u4e00\u4e2a8\u4f4d\u7684\u968f\u673a\u6574\u6570\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import random<\/p>\n<p>def generate_8_digit_number():<\/p>\n<p>    return random.randint(10000000, 99999999)<\/p>\n<p>print(generate_8_digit_number())<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u8be6\u7ec6\u63cf\u8ff0\uff1a<\/strong> <code>random.randint(10000000, 99999999)<\/code>\u751f\u6210\u4e00\u4e2a\u572810000000\u523099999999\u4e4b\u95f4\u7684\u968f\u673a\u6574\u6570\uff0c\u8fd9\u4e2a\u8303\u56f4\u786e\u4fdd\u751f\u6210\u7684\u6574\u6570\u59cb\u7ec8\u4e3a8\u4f4d\u6570\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528\u5b57\u7b26\u4e32\u64cd\u4f5c\u751f\u62108\u4f4d\u5b57\u7b26\u4e32<\/h3>\n<\/p>\n<p><p>\u5982\u679c\u9700\u8981\u751f\u6210\u4e00\u4e2a8\u4f4d\u7684\u5b57\u7b26\u4e32\uff0c\u53ef\u4ee5\u5305\u542b\u6570\u5b57\u3001\u5b57\u6bcd\u6216\u8005\u4e24\u8005\u7684\u7ec4\u5408\u3002\u4ee5\u4e0b\u662f\u51e0\u79cd\u5e38\u89c1\u7684\u65b9\u6cd5\uff1a<\/p>\n<\/p>\n<p><h4>1\u3001\u751f\u6210\u4ec5\u5305\u542b\u6570\u5b57\u76848\u4f4d\u5b57\u7b26\u4e32<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">import random<\/p>\n<p>import string<\/p>\n<p>def generate_8_digit_string():<\/p>\n<p>    return &#39;&#39;.join(random.choices(string.digits, k=8))<\/p>\n<p>print(generate_8_digit_string())<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u751f\u6210\u5305\u542b\u5b57\u6bcd\u548c\u6570\u5b57\u76848\u4f4d\u5b57\u7b26\u4e32<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">import random<\/p>\n<p>import string<\/p>\n<p>def generate_8_char_string():<\/p>\n<p>    return &#39;&#39;.join(random.choices(string.ascii_letters + string.digits, k=8))<\/p>\n<p>print(generate_8_char_string())<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u8be6\u7ec6\u63cf\u8ff0\uff1a<\/strong> <code>random.choices<\/code>\u4ece\u6307\u5b9a\u7684\u5b57\u7b26\u96c6\uff08\u5982\u6570\u5b57\u3001\u5b57\u6bcd\uff09\u4e2d\u968f\u673a\u9009\u62e9\u5b57\u7b26\uff0c<code>k=8<\/code>\u8868\u793a\u9009\u62e98\u4e2a\u5b57\u7b26\uff0c<code>&#39;&#39;.join(...)<\/code>\u5c06\u8fd9\u4e9b\u5b57\u7b26\u5408\u5e76\u6210\u4e00\u4e2a\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528UUID\u751f\u62108\u4f4d\u5b57\u7b26\u4e32<\/h3>\n<\/p>\n<p><p>UUID\uff08Universally Unique Identifier\uff09\u662f\u7528\u4e8e\u6807\u8bc6\u4fe1\u606f\u7684128\u4f4d\u6807\u8bc6\u7b26\u3002\u53ef\u4ee5\u4f7f\u7528UUID\u751f\u6210\u4e00\u4e2a\u552f\u4e00\u7684\u5b57\u7b26\u4e32\uff0c\u5e76\u622a\u53d6\u5176\u4e2d\u76848\u4f4d\u5b57\u7b26\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import uuid<\/p>\n<p>def generate_8_char_uuid():<\/p>\n<p>    return str(uuid.uuid4())[:8]<\/p>\n<p>print(generate_8_char_uuid())<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u8be6\u7ec6\u63cf\u8ff0\uff1a<\/strong> <code>uuid.uuid4()<\/code>\u751f\u6210\u4e00\u4e2a\u968f\u673a\u7684UUID\uff0c<code>str(uuid.uuid4())[:8]<\/code>\u622a\u53d6\u5176\u4e2d\u7684\u524d8\u4f4d\u5b57\u7b26\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u4f7f\u7528\u52a0\u5bc6\u54c8\u5e0c\u51fd\u6570\u751f\u62108\u4f4d\u5b57\u7b26\u4e32<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u52a0\u5bc6\u54c8\u5e0c\u51fd\u6570\u751f\u6210\u4e00\u4e2a\u56fa\u5b9a\u957f\u5ea6\u7684\u54c8\u5e0c\u503c\uff0c\u5e76\u4ece\u4e2d\u622a\u53d68\u4f4d\u5b57\u7b26\u3002\u4ee5\u4e0b\u662f\u4f7f\u7528SHA256\u54c8\u5e0c\u7b97\u6cd5\u7684\u4f8b\u5b50\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import hashlib<\/p>\n<p>def generate_8_char_hash(input_string):<\/p>\n<p>    sha_signature = hashlib.sha256(input_string.encode()).hexdigest()<\/p>\n<p>    return sha_signature[:8]<\/p>\n<p>print(generate_8_char_hash(&quot;example_input&quot;))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u8be6\u7ec6\u63cf\u8ff0\uff1a<\/strong> <code>hashlib.sha256(input_string.encode()).hexdigest()<\/code>\u751f\u6210\u8f93\u5165\u5b57\u7b26\u4e32\u7684SHA256\u54c8\u5e0c\u503c\uff0c\u5e76\u4f7f\u7528<code>[:8]<\/code>\u622a\u53d6\u524d8\u4f4d\u5b57\u7b26\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u7efc\u5408\u5e94\u7528\u573a\u666f<\/h3>\n<\/p>\n<p><h4>1\u3001\u751f\u6210\u968f\u673a\u9a8c\u8bc1\u7801<\/h4>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u5e38\u5e38\u9700\u8981\u751f\u6210\u968f\u673a\u9a8c\u8bc1\u7801\u3002\u53ef\u4ee5\u4f7f\u7528\u4e0a\u8ff0\u65b9\u6cd5\u751f\u6210\u4e00\u4e2a8\u4f4d\u7684\u9a8c\u8bc1\u7801\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def generate_verification_code():<\/p>\n<p>    return &#39;&#39;.join(random.choices(string.ascii_uppercase + string.digits, k=8))<\/p>\n<p>print(generate_verification_code())<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u8be6\u7ec6\u63cf\u8ff0\uff1a<\/strong> \u751f\u6210\u7684\u9a8c\u8bc1\u7801\u5305\u542b\u5927\u5199\u5b57\u6bcd\u548c\u6570\u5b57\uff0c<code>string.ascii_uppercase<\/code>\u8868\u793a\u5927\u5199\u5b57\u6bcd\uff0c\u786e\u4fdd\u9a8c\u8bc1\u7801\u5177\u6709\u8db3\u591f\u7684\u590d\u6742\u6027\u3002<\/p>\n<\/p>\n<p><h4>2\u3001\u751f\u6210\u552f\u4e00\u8ba2\u5355\u53f7<\/h4>\n<\/p>\n<p><p>\u5728\u7535\u5b50\u5546\u52a1\u5e94\u7528\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528UUID\u6216\u54c8\u5e0c\u51fd\u6570\u751f\u6210\u552f\u4e00\u7684\u8ba2\u5355\u53f7\uff0c\u786e\u4fdd\u6bcf\u4e2a\u8ba2\u5355\u5177\u6709\u552f\u4e00\u7684\u6807\u8bc6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def generate_unique_order_id():<\/p>\n<p>    return str(uuid.uuid4())[:8]<\/p>\n<p>print(generate_unique_order_id())<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u8be6\u7ec6\u63cf\u8ff0\uff1a<\/strong> \u4f7f\u7528UUID\u751f\u6210\u7684\u8ba2\u5355\u53f7\u5177\u6709\u5168\u7403\u552f\u4e00\u6027\uff0c\u9002\u7528\u4e8e\u9700\u8981\u9ad8\u552f\u4e00\u6027\u8981\u6c42\u7684\u5e94\u7528\u573a\u666f\u3002<\/p>\n<\/p>\n<p><h3>\u516d\u3001\u6ce8\u610f\u4e8b\u9879<\/h3>\n<\/p>\n<p><h4>1\u3001\u968f\u673a\u6570\u548c\u5b57\u7b26\u4e32\u7684\u5b89\u5168\u6027<\/h4>\n<\/p>\n<p><p>\u5728\u5b89\u5168\u6027\u8981\u6c42\u8f83\u9ad8\u7684\u573a\u666f\u4e0b\uff0c\u5982\u751f\u6210\u5bc6\u7801\u6216\u5b89\u5168\u4ee4\u724c\uff0c\u5efa\u8bae\u4f7f\u7528<code>secrets<\/code>\u6a21\u5757\u4ee3\u66ff<code>random<\/code>\u6a21\u5757\u3002<code>secrets<\/code>\u6a21\u5757\u4e13\u4e3a\u751f\u6210\u52a0\u5bc6\u5f3a\u968f\u673a\u6570\u800c\u8bbe\u8ba1\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import secrets<\/p>\n<p>def generate_secure_8_digit_string():<\/p>\n<p>    return &#39;&#39;.join(secrets.choice(string.digits) for _ in range(8))<\/p>\n<p>print(generate_secure_8_digit_string())<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u8be6\u7ec6\u63cf\u8ff0\uff1a<\/strong> <code>secrets.choice<\/code>\u4ece\u6307\u5b9a\u7684\u5b57\u7b26\u96c6\u4e2d\u5b89\u5168\u5730\u9009\u62e9\u5b57\u7b26\uff0c\u786e\u4fdd\u751f\u6210\u7684\u5b57\u7b26\u4e32\u5177\u6709\u66f4\u9ad8\u7684\u968f\u673a\u6027\u548c\u5b89\u5168\u6027\u3002<\/p>\n<\/p>\n<p><h4>2\u3001\u957f\u5ea6\u9a8c\u8bc1<\/h4>\n<\/p>\n<p><p>\u786e\u4fdd\u751f\u6210\u7684\u5b57\u7b26\u4e32\u6216\u6570\u5b57\u59cb\u7ec8\u4e3a8\u4f4d\u3002\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u53ef\u80fd\u9700\u8981\u8fdb\u884c\u957f\u5ea6\u9a8c\u8bc1\u548c\u8c03\u6574\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def generate_8_digit_number_with_length_check():<\/p>\n<p>    number = random.randint(0, 99999999)<\/p>\n<p>    return str(number).zfill(8)<\/p>\n<p>print(generate_8_digit_number_with_length_check())<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u8be6\u7ec6\u63cf\u8ff0\uff1a<\/strong> <code>zfill(8)<\/code>\u786e\u4fdd\u751f\u6210\u7684\u6570\u5b57\u5b57\u7b26\u4e32\u59cb\u7ec8\u4e3a8\u4f4d\uff0c\u4e0d\u8db3\u7684\u90e8\u5206\u75280\u586b\u5145\u3002<\/p>\n<\/p>\n<p><h3>\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u51e0\u79cd\u65b9\u6cd5\uff0c\u53ef\u4ee5\u7075\u6d3b\u5730\u751f\u62108\u4f4d\u7684\u968f\u673a\u6574\u6570\u3001\u5b57\u7b26\u4e32\u548c\u552f\u4e00\u6807\u8bc6\u7b26\uff0c\u6ee1\u8db3\u4e0d\u540c\u5e94\u7528\u573a\u666f\u7684\u9700\u6c42\u3002<strong>\u4f7f\u7528<code>random<\/code>\u6a21\u5757\u751f\u6210\u968f\u673a\u6570\u3001\u4f7f\u7528\u5b57\u7b26\u4e32\u64cd\u4f5c\u751f\u6210\u968f\u673a\u5b57\u7b26\u4e32\u3001\u4f7f\u7528UUID\u548c\u54c8\u5e0c\u51fd\u6570\u751f\u6210\u552f\u4e00\u6807\u8bc6\u7b26<\/strong>\uff0c\u90fd\u662f\u5728Python\u4e2d\u751f\u62108\u4f4d\u6570\u7684\u6709\u6548\u65b9\u6cd5\u3002\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\uff0c\u786e\u4fdd\u751f\u6210\u7684\u7ed3\u679c\u6ee1\u8db3\u5e94\u7528\u573a\u666f\u7684\u8981\u6c42\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u751f\u6210\u4e00\u4e2a\u968f\u673a\u76848\u4f4d\u6570\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>random<\/code>\u6a21\u5757\u6765\u751f\u6210\u4e00\u4e2a\u968f\u673a\u76848\u4f4d\u6570\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528<code>randint()<\/code>\u51fd\u6570\u6765\u751f\u6210\u4e00\u4e2a\u6307\u5b9a\u8303\u56f4\u5185\u7684\u6574\u6570\u3002\u4f8b\u5982\uff0c\u4f7f\u7528<code>random.randint(10000000, 99999999)<\/code>\u53ef\u4ee5\u751f\u6210\u4e00\u4e2a\u4ecb\u4e8e10000000\u548c99999999\u4e4b\u95f4\u7684\u968f\u673a\u6574\u6570\uff0c\u4ece\u800c\u786e\u4fdd\u751f\u6210\u7684\u6570\u662f8\u4f4d\u6570\u3002<\/p>\n<p><strong>\u751f\u6210\u76848\u4f4d\u6570\u662f\u5426\u53ef\u4ee5\u662f\u91cd\u590d\u7684\u6570\u5b57\uff1f<\/strong><br \/>\u662f\u7684\uff0c\u4f7f\u7528<code>random.randint()<\/code>\u751f\u6210\u76848\u4f4d\u6570\u53ef\u4ee5\u5305\u542b\u91cd\u590d\u7684\u6570\u5b57\u3002\u5982\u679c\u9700\u8981\u751f\u6210\u4e00\u4e2a\u6ca1\u6709\u91cd\u590d\u6570\u5b57\u76848\u4f4d\u6570\uff0c\u53ef\u4ee5\u5c06\u6570\u5b57\u5b58\u50a8\u5728\u4e00\u4e2a\u5217\u8868\u4e2d\uff0c\u5e76\u4f7f\u7528<code>random.sample()<\/code>\u65b9\u6cd5\u4ece\u8be5\u5217\u8868\u4e2d\u968f\u673a\u9009\u62e98\u4e2a\u6570\u5b57\u5e76\u7ec4\u5408\u6210\u4e00\u4e2a\u6570\u3002<\/p>\n<p><strong>\u5982\u4f55\u786e\u4fdd\u751f\u6210\u76848\u4f4d\u6570\u7b26\u5408\u7279\u5b9a\u7684\u683c\u5f0f\u6216\u6761\u4ef6\uff1f<\/strong><br \/>\u5982\u679c\u5e0c\u671b\u751f\u6210\u76848\u4f4d\u6570\u7b26\u5408\u7279\u5b9a\u7684\u683c\u5f0f\uff0c\u4f8b\u5982\u4ee5\u67d0\u4e2a\u6570\u5b57\u5f00\u5934\u6216\u5305\u542b\u7279\u5b9a\u7684\u6570\u5b57\uff0c\u53ef\u4ee5\u5728\u751f\u6210\u6570\u4e4b\u524d\u8bbe\u5b9a\u6761\u4ef6\u3002\u53ef\u4ee5\u901a\u8fc7\u5b57\u7b26\u4e32\u64cd\u4f5c\u6216\u6761\u4ef6\u8bed\u53e5\u6765\u68c0\u67e5\u751f\u6210\u7684\u6570\u662f\u5426\u7b26\u5408\u8981\u6c42\uff0c\u5e76\u5728\u4e0d\u7b26\u5408\u6761\u4ef6\u65f6\u91cd\u65b0\u751f\u6210\uff0c\u76f4\u5230\u6ee1\u8db3\u4e3a\u6b62\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u662f\u5426\u6709\u5176\u4ed6\u65b9\u6cd5\u53ef\u4ee5\u751f\u62108\u4f4d\u6570\uff1f<\/strong><br \/>\u9664\u4e86\u4f7f\u7528<code>random<\/code>\u6a21\u5757\uff0cPython\u8fd8\u53ef\u4ee5\u5229\u7528<code>secrets<\/code>\u6a21\u5757\u751f\u6210\u5b89\u5168\u7684\u968f\u673a\u6570\u3002\u4f7f\u7528<code>secrets.randbelow(100000000)<\/code>\u53ef\u4ee5\u751f\u6210\u4e00\u4e2a0\u523099999999\u4e4b\u95f4\u7684\u968f\u673a\u6570\uff0c\u518d\u901a\u8fc7\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u786e\u4fdd\u5176\u4e3a8\u4f4d\u6570\u3002\u8fd9\u79cd\u65b9\u6cd5\u9002\u5408\u9700\u8981\u66f4\u9ad8\u5b89\u5168\u6027\u7684\u573a\u5408\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u751f\u6210\u4e00\u4e2a8\u4f4d\u6570\u7684\u5e38\u89c1\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528\u968f\u673a\u6570\u751f\u6210\u5668\u3001\u5b57\u7b26\u4e32\u64cd\u4f5c\u548c\u52a0\u5bc6\u54c8\u5e0c\u51fd\u6570\u7b49\u3002 \u6700\u5e38\u7528\u7684\u65b9\u6cd5\u662f\u901a\u8fc7 [&hellip;]","protected":false},"author":3,"featured_media":1136308,"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\/1136303"}],"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=1136303"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1136303\/revisions"}],"predecessor-version":[{"id":1136309,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1136303\/revisions\/1136309"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1136308"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1136303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1136303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1136303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}