{"id":1161005,"date":"2025-01-13T19:11:38","date_gmt":"2025-01-13T11:11:38","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1161005.html"},"modified":"2025-01-13T19:11:41","modified_gmt":"2025-01-13T11:11:41","slug":"python%e5%a6%82%e4%bd%95%e5%88%a4%e6%96%ad%e5%88%97%e8%a1%a8%e4%b8%8d%e8%bf%9e%e7%bb%ad","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1161005.html","title":{"rendered":"python\u5982\u4f55\u5224\u65ad\u5217\u8868\u4e0d\u8fde\u7eed"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25202405\/c48ceed2-45fb-4137-84f2-853076b2f8ec.webp\" alt=\"python\u5982\u4f55\u5224\u65ad\u5217\u8868\u4e0d\u8fde\u7eed\" \/><\/p>\n<p><p> <strong>\u5224\u65adPython\u5217\u8868\u662f\u5426\u8fde\u7eed\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u904d\u5386\u5217\u8868\u3001\u4f7f\u7528\u5dee\u503c\u68c0\u67e5\u3001\u4f7f\u7528\u96c6\u5408\u3002<\/strong> \u5176\u4e2d\uff0c\u4f7f\u7528\u5dee\u503c\u68c0\u67e5\u662f\u4e00\u79cd\u5e38\u89c1\u4e14\u6709\u6548\u7684\u65b9\u6cd5\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u53ef\u4ee5\u904d\u5386\u5217\u8868\uff0c\u68c0\u67e5\u76f8\u90bb\u5143\u7d20\u4e4b\u95f4\u7684\u5dee\u503c\u662f\u5426\u4e3a1\u3002\u5982\u679c\u6709\u4efb\u4f55\u4e00\u5bf9\u76f8\u90bb\u5143\u7d20\u7684\u5dee\u503c\u4e0d\u662f1\uff0c\u5219\u53ef\u4ee5\u786e\u5b9a\u5217\u8868\u662f\u4e0d\u8fde\u7eed\u7684\u3002<\/p>\n<\/p>\n<p><h3>\u4f7f\u7528\u5dee\u503c\u68c0\u67e5\u6cd5<\/h3>\n<\/p>\n<p><p>\u5dee\u503c\u68c0\u67e5\u6cd5\u662f\u4e00\u79cd\u9ad8\u6548\u4e14\u76f4\u89c2\u7684\u65b9\u6cd5\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u5b9e\u73b0\uff1a<\/p>\n<\/p>\n<ol>\n<li>\u9996\u5148\uff0c\u5bf9\u5217\u8868\u8fdb\u884c\u6392\u5e8f\u3002<\/li>\n<li>\u7136\u540e\uff0c\u904d\u5386\u6392\u5e8f\u540e\u7684\u5217\u8868\uff0c\u68c0\u67e5\u6bcf\u5bf9\u76f8\u90bb\u5143\u7d20\u7684\u5dee\u503c\u3002<\/li>\n<li>\u5982\u679c\u53d1\u73b0\u4efb\u4f55\u4e00\u5bf9\u76f8\u90bb\u5143\u7d20\u7684\u5dee\u503c\u4e0d\u662f1\uff0c\u5219\u5217\u8868\u662f\u4e0d\u8fde\u7eed\u7684\u3002<\/li>\n<\/ol>\n<p><p>\u4ee5\u4e0b\u662f\u5177\u4f53\u5b9e\u73b0\u7684Python\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def is_continuous(lst):<\/p>\n<p>    # \u5148\u5bf9\u5217\u8868\u8fdb\u884c\u6392\u5e8f<\/p>\n<p>    sorted_lst = sorted(lst)<\/p>\n<p>    # \u904d\u5386\u6392\u5e8f\u540e\u7684\u5217\u8868\uff0c\u68c0\u67e5\u76f8\u90bb\u5143\u7d20\u7684\u5dee\u503c<\/p>\n<p>    for i in range(len(sorted_lst) - 1):<\/p>\n<p>        if sorted_lst[i + 1] - sorted_lst[i] != 1:<\/p>\n<p>            return False<\/p>\n<p>    return True<\/p>\n<h2><strong>\u793a\u4f8b<\/strong><\/h2>\n<p>lst = [1, 2, 4, 5, 6]<\/p>\n<p>print(is_continuous(lst))  # \u8f93\u51fa: False<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e00\u3001\u904d\u5386\u5217\u8868\u7684\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528\u904d\u5386\u5217\u8868\u7684\u65b9\u6cd5\uff0c\u53ef\u4ee5\u901a\u8fc7\u9010\u4e2a\u68c0\u67e5\u76f8\u90bb\u5143\u7d20\u6765\u5224\u65ad\u5217\u8868\u662f\u5426\u8fde\u7eed\u3002\u8fd9\u4e2a\u65b9\u6cd5\u76f8\u5bf9\u7b80\u5355\uff0c\u4f46\u5bf9\u4e8e\u8f83\u5927\u7684\u5217\u8868\uff0c\u6027\u80fd\u53ef\u80fd\u4e0d\u591f\u7406\u60f3\u3002<\/p>\n<\/p>\n<p><h4>\u5177\u4f53\u5b9e\u73b0\u6b65\u9aa4<\/h4>\n<\/p>\n<ol>\n<li>\u904d\u5386\u5217\u8868\u4e2d\u7684\u6bcf\u4e2a\u5143\u7d20\u3002<\/li>\n<li>\u68c0\u67e5\u6bcf\u4e2a\u5143\u7d20\u4e0e\u524d\u4e00\u4e2a\u5143\u7d20\u7684\u5dee\u503c\u662f\u5426\u4e3a1\u3002<\/li>\n<li>\u5982\u679c\u53d1\u73b0\u4efb\u4f55\u4e00\u4e2a\u5143\u7d20\u4e0e\u524d\u4e00\u4e2a\u5143\u7d20\u7684\u5dee\u503c\u4e0d\u662f1\uff0c\u5219\u5217\u8868\u662f\u4e0d\u8fde\u7eed\u7684\u3002<\/li>\n<\/ol>\n<p><h4>\u5b9e\u73b0\u4ee3\u7801<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">def is_continuous_by_traversing(lst):<\/p>\n<p>    # \u5982\u679c\u5217\u8868\u4e3a\u7a7a\u6216\u53ea\u6709\u4e00\u4e2a\u5143\u7d20\uff0c\u5219\u8ba4\u4e3a\u662f\u8fde\u7eed\u7684<\/p>\n<p>    if len(lst) &lt;= 1:<\/p>\n<p>        return True<\/p>\n<p>    # \u904d\u5386\u5217\u8868\uff0c\u68c0\u67e5\u76f8\u90bb\u5143\u7d20\u7684\u5dee\u503c<\/p>\n<p>    for i in range(1, len(lst)):<\/p>\n<p>        if lst[i] - lst[i - 1] != 1:<\/p>\n<p>            return False<\/p>\n<p>    return True<\/p>\n<h2><strong>\u793a\u4f8b<\/strong><\/h2>\n<p>lst = [1, 2, 3, 4, 5]<\/p>\n<p>print(is_continuous_by_traversing(lst))  # \u8f93\u51fa: True<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528\u96c6\u5408\u7684\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528\u96c6\u5408\u7684\u65b9\u6cd5\uff0c\u53ef\u4ee5\u901a\u8fc7\u68c0\u67e5\u5217\u8868\u4e2d\u7684\u5143\u7d20\u662f\u5426\u5f62\u6210\u4e00\u4e2a\u8fde\u7eed\u7684\u6574\u6570\u5e8f\u5217\u6765\u5224\u65ad\u5217\u8868\u662f\u5426\u8fde\u7eed\u3002\u8fd9\u4e2a\u65b9\u6cd5\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u53ef\u80fd\u66f4\u9ad8\u6548\uff0c\u56e0\u4e3a\u96c6\u5408\u7684\u67e5\u627e\u64cd\u4f5c\u901a\u5e38\u6bd4\u5217\u8868\u66f4\u5feb\u3002<\/p>\n<\/p>\n<p><h4>\u5177\u4f53\u5b9e\u73b0\u6b65\u9aa4<\/h4>\n<\/p>\n<ol>\n<li>\u5c06\u5217\u8868\u8f6c\u6362\u4e3a\u96c6\u5408\u3002<\/li>\n<li>\u8ba1\u7b97\u96c6\u5408\u4e2d\u7684\u6700\u5c0f\u503c\u548c\u6700\u5927\u503c\u3002<\/li>\n<li>\u68c0\u67e5\u4ece\u6700\u5c0f\u503c\u5230\u6700\u5927\u503c\u7684\u6240\u6709\u6574\u6570\u662f\u5426\u90fd\u5728\u96c6\u5408\u4e2d\u3002<\/li>\n<\/ol>\n<p><h4>\u5b9e\u73b0\u4ee3\u7801<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">def is_continuous_by_set(lst):<\/p>\n<p>    # \u5982\u679c\u5217\u8868\u4e3a\u7a7a\u6216\u53ea\u6709\u4e00\u4e2a\u5143\u7d20\uff0c\u5219\u8ba4\u4e3a\u662f\u8fde\u7eed\u7684<\/p>\n<p>    if len(lst) &lt;= 1:<\/p>\n<p>        return True<\/p>\n<p>    # \u5c06\u5217\u8868\u8f6c\u6362\u4e3a\u96c6\u5408<\/p>\n<p>    s = set(lst)<\/p>\n<p>    # \u8ba1\u7b97\u96c6\u5408\u4e2d\u7684\u6700\u5c0f\u503c\u548c\u6700\u5927\u503c<\/p>\n<p>    min_val = min(s)<\/p>\n<p>    max_val = max(s)<\/p>\n<p>    # \u68c0\u67e5\u4ece\u6700\u5c0f\u503c\u5230\u6700\u5927\u503c\u7684\u6240\u6709\u6574\u6570\u662f\u5426\u90fd\u5728\u96c6\u5408\u4e2d<\/p>\n<p>    for i in range(min_val, max_val + 1):<\/p>\n<p>        if i not in s:<\/p>\n<p>            return False<\/p>\n<p>    return True<\/p>\n<h2><strong>\u793a\u4f8b<\/strong><\/h2>\n<p>lst = [1, 2, 4, 5, 6]<\/p>\n<p>print(is_continuous_by_set(lst))  # \u8f93\u51fa: False<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u6027\u80fd\u6bd4\u8f83<\/h3>\n<\/p>\n<p><p>\u5bf9\u4e8e\u4e0d\u540c\u7684\u65b9\u6cd5\uff0c\u5728\u6027\u80fd\u4e0a\u4f1a\u6709\u6240\u5dee\u5f02\u3002\u4e00\u822c\u6765\u8bf4\uff0c\u4f7f\u7528\u5dee\u503c\u68c0\u67e5\u6cd5\u548c\u96c6\u5408\u7684\u65b9\u6cd5\u4f1a\u6bd4\u7b80\u5355\u7684\u904d\u5386\u65b9\u6cd5\u66f4\u9ad8\u6548\uff0c\u7279\u522b\u662f\u5728\u5904\u7406\u8f83\u5927\u7684\u5217\u8868\u65f6\u3002<\/p>\n<\/p>\n<p><h4>\u5dee\u503c\u68c0\u67e5\u6cd5\u7684\u4f18\u70b9<\/h4>\n<\/p>\n<ol>\n<li>\u65f6\u95f4\u590d\u6742\u5ea6\u8f83\u4f4e\uff1a\u6392\u5e8f\u7684\u65f6\u95f4\u590d\u6742\u5ea6\u4e3aO(n log n)\uff0c\u904d\u5386\u7684\u65f6\u95f4\u590d\u6742\u5ea6\u4e3aO(n)\uff0c\u603b\u4f53\u65f6\u95f4\u590d\u6742\u5ea6\u4e3aO(n log n)\u3002<\/li>\n<li>\u5b9e\u73b0\u7b80\u5355\uff1a\u4ee3\u7801\u903b\u8f91\u6e05\u6670\uff0c\u5bb9\u6613\u7406\u89e3\u548c\u5b9e\u73b0\u3002<\/li>\n<\/ol>\n<p><h4>\u96c6\u5408\u65b9\u6cd5\u7684\u4f18\u70b9<\/h4>\n<\/p>\n<ol>\n<li>\u67e5\u627e\u901f\u5ea6\u5feb\uff1a\u96c6\u5408\u7684\u67e5\u627e\u64cd\u4f5c\u901a\u5e38\u6bd4\u5217\u8868\u66f4\u5feb\uff0c\u5bf9\u4e8e\u5927\u89c4\u6a21\u6570\u636e\uff0c\u6027\u80fd\u4f18\u52bf\u660e\u663e\u3002<\/li>\n<li>\u7b80\u6d01\u9ad8\u6548\uff1a\u4ee3\u7801\u76f8\u5bf9\u7b80\u6d01\uff0c\u5bb9\u6613\u7ef4\u62a4\u3002<\/li>\n<\/ol>\n<p><h4>\u904d\u5386\u65b9\u6cd5\u7684\u4f18\u70b9<\/h4>\n<\/p>\n<ol>\n<li>\u9002\u7528\u4e8e\u5c0f\u89c4\u6a21\u6570\u636e\uff1a\u5bf9\u4e8e\u8f83\u5c0f\u7684\u5217\u8868\uff0c\u904d\u5386\u65b9\u6cd5\u7684\u6027\u80fd\u8db3\u591f\u597d\uff0c\u4e14\u5b9e\u73b0\u7b80\u5355\u3002<\/li>\n<li>\u4e0d\u9700\u8981\u989d\u5916\u7684\u5b58\u50a8\uff1a\u4e0d\u9700\u8981\u5bf9\u5217\u8868\u8fdb\u884c\u6392\u5e8f\uff0c\u4e5f\u4e0d\u9700\u8981\u989d\u5916\u7684\u96c6\u5408\u5b58\u50a8\u3002<\/li>\n<\/ol>\n<p><h3>\u56db\u3001\u7efc\u5408\u5efa\u8bae<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u5e94\u6839\u636e\u5177\u4f53\u60c5\u51b5\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u3002\u5982\u679c\u5217\u8868\u89c4\u6a21\u8f83\u5c0f\uff0c\u53ef\u4ee5\u4f7f\u7528\u904d\u5386\u65b9\u6cd5\uff1b\u5982\u679c\u5217\u8868\u89c4\u6a21\u8f83\u5927\uff0c\u5efa\u8bae\u4f7f\u7528\u5dee\u503c\u68c0\u67e5\u6cd5\u6216\u96c6\u5408\u7684\u65b9\u6cd5\u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u5728\u4f7f\u7528\u5dee\u503c\u68c0\u67e5\u6cd5\u65f6\uff0c\u786e\u4fdd\u5217\u8868\u4e2d\u7684\u5143\u7d20\u662f\u6574\u6570\uff0c\u5426\u5219\u53ef\u80fd\u4f1a\u5bfc\u81f4\u9519\u8bef\u3002<\/p>\n<\/p>\n<p><h4>\u793a\u4f8b\u4ee3\u7801\u603b\u7ed3<\/h4>\n<\/p>\n<p><p>\u4ee5\u4e0b\u662f\u4e09\u79cd\u65b9\u6cd5\u7684\u7efc\u5408\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def is_continuous(lst):<\/p>\n<p>    # \u4f7f\u7528\u5dee\u503c\u68c0\u67e5\u6cd5<\/p>\n<p>    sorted_lst = sorted(lst)<\/p>\n<p>    for i in range(len(sorted_lst) - 1):<\/p>\n<p>        if sorted_lst[i + 1] - sorted_lst[i] != 1:<\/p>\n<p>            return False<\/p>\n<p>    return True<\/p>\n<p>def is_continuous_by_traversing(lst):<\/p>\n<p>    if len(lst) &lt;= 1:<\/p>\n<p>        return True<\/p>\n<p>    for i in range(1, len(lst)):<\/p>\n<p>        if lst[i] - lst[i - 1] != 1:<\/p>\n<p>            return False<\/p>\n<p>    return True<\/p>\n<p>def is_continuous_by_set(lst):<\/p>\n<p>    if len(lst) &lt;= 1:<\/p>\n<p>        return True<\/p>\n<p>    s = set(lst)<\/p>\n<p>    min_val = min(s)<\/p>\n<p>    max_val = max(s)<\/p>\n<p>    for i in range(min_val, max_val + 1):<\/p>\n<p>        if i not in s:<\/p>\n<p>            return False<\/p>\n<p>    return True<\/p>\n<h2><strong>\u793a\u4f8b<\/strong><\/h2>\n<p>lst = [1, 2, 3, 4, 5]<\/p>\n<p>print(is_continuous(lst))  # \u8f93\u51fa: True<\/p>\n<p>print(is_continuous_by_traversing(lst))  # \u8f93\u51fa: True<\/p>\n<p>print(is_continuous_by_set(lst))  # \u8f93\u51fa: True<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u65b9\u6cd5\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u5224\u65adPython\u5217\u8868\u662f\u5426\u8fde\u7eed\u3002\u6839\u636e\u4e0d\u540c\u7684\u9700\u6c42\u548c\u6570\u636e\u89c4\u6a21\uff0c\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5728\u4fdd\u8bc1\u51c6\u786e\u6027\u7684\u540c\u65f6\uff0c\u63d0\u5347\u4ee3\u7801\u7684\u6027\u80fd\u548c\u53ef\u8bfb\u6027\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5224\u65ad\u4e00\u4e2a\u5217\u8868\u4e2d\u7684\u6570\u5b57\u662f\u5426\u8fde\u7eed\uff1f<\/strong><br \/>\u8981\u5224\u65ad\u4e00\u4e2a\u5217\u8868\u4e2d\u7684\u6570\u5b57\u662f\u5426\u8fde\u7eed\uff0c\u53ef\u4ee5\u5148\u5c06\u5217\u8868\u8fdb\u884c\u6392\u5e8f\uff0c\u7136\u540e\u68c0\u67e5\u76f8\u90bb\u5143\u7d20\u4e4b\u95f4\u7684\u5dee\u503c\u662f\u5426\u90fd\u4e3a1\u3002\u5982\u679c\u6240\u6709\u76f8\u90bb\u5143\u7d20\u7684\u5dee\u503c\u5747\u4e3a1\uff0c\u5219\u53ef\u4ee5\u8ba4\u4e3a\u8be5\u5217\u8868\u4e2d\u7684\u6570\u5b57\u662f\u8fde\u7eed\u7684\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\uff0c\u6709\u54ea\u4e9b\u65b9\u6cd5\u53ef\u4ee5\u5b9e\u73b0\u5217\u8868\u7684\u4e0d\u8fde\u7eed\u6027\u68c0\u67e5\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528\u96c6\u5408(Set)\u6765\u5224\u65ad\u5217\u8868\u4e2d\u7684\u5143\u7d20\u662f\u5426\u8fde\u7eed\u3002\u901a\u8fc7\u5c06\u5217\u8868\u8f6c\u6362\u4e3a\u96c6\u5408\u540e\uff0c\u518d\u6bd4\u8f83\u96c6\u5408\u7684\u957f\u5ea6\u4e0e\u6700\u5927\u503c\u548c\u6700\u5c0f\u503c\u4e4b\u95f4\u7684\u5dee\u503c\u3002\u5982\u679c\u5dee\u503c\u7b49\u4e8e\u96c6\u5408\u7684\u957f\u5ea6\u51cf\u53bb1\uff0c\u8bf4\u660e\u5217\u8868\u662f\u8fde\u7eed\u7684\uff1b\u5426\u5219\uff0c\u5217\u8868\u662f\u4e0d\u8fde\u7eed\u7684\u3002<\/p>\n<p><strong>\u5982\u4f55\u5904\u7406\u5305\u542b\u91cd\u590d\u5143\u7d20\u7684\u5217\u8868\uff1f<\/strong><br \/>\u5982\u679c\u5217\u8868\u4e2d\u5305\u542b\u91cd\u590d\u5143\u7d20\uff0c\u53ef\u4ee5\u5728\u68c0\u67e5\u8fde\u7eed\u6027\u4e4b\u524d\u53bb\u9664\u91cd\u590d\u9879\u3002\u4f7f\u7528\u96c6\u5408\u53ef\u4ee5\u8f7b\u677e\u5b9e\u73b0\u8fd9\u4e00\u70b9\u3002\u53bb\u91cd\u540e\uff0c\u518d\u8fdb\u884c\u8fde\u7eed\u6027\u5224\u65ad\uff0c\u5982\u524d\u9762\u6240\u8ff0\u7684\u65b9\u6cd5\u3002<\/p>\n<p><strong>\u5217\u8868\u4e2d\u975e\u6570\u5b57\u5143\u7d20\u4f1a\u5f71\u54cd\u8fde\u7eed\u6027\u5224\u65ad\u5417\uff1f<\/strong><br \/>\u662f\u7684\uff0c\u5217\u8868\u4e2d\u5982\u679c\u5305\u542b\u975e\u6570\u5b57\u5143\u7d20\uff0c\u4f1a\u5bfc\u81f4\u5728\u6392\u5e8f\u6216\u5dee\u503c\u8ba1\u7b97\u65f6\u51fa\u73b0\u9519\u8bef\u3002\u56e0\u6b64\uff0c\u5728\u5224\u65ad\u8fde\u7eed\u6027\u4e4b\u524d\uff0c\u786e\u4fdd\u5217\u8868\u4e2d\u53ea\u5305\u542b\u6570\u5b57\u5143\u7d20\u3002\u5982\u679c\u5b58\u5728\u975e\u6570\u5b57\u5143\u7d20\uff0c\u5efa\u8bae\u5148\u8fc7\u6ee4\u6389\u8fd9\u4e9b\u5143\u7d20\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5224\u65adPython\u5217\u8868\u662f\u5426\u8fde\u7eed\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u904d\u5386\u5217\u8868\u3001\u4f7f\u7528\u5dee\u503c\u68c0\u67e5\u3001\u4f7f\u7528\u96c6\u5408\u3002 \u5176\u4e2d\uff0c\u4f7f\u7528\u5dee\u503c\u68c0\u67e5\u662f\u4e00\u79cd\u5e38\u89c1\u4e14\u6709\u6548 [&hellip;]","protected":false},"author":3,"featured_media":1161017,"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\/1161005"}],"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=1161005"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1161005\/revisions"}],"predecessor-version":[{"id":1161020,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1161005\/revisions\/1161020"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1161017"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1161005"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1161005"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1161005"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}