{"id":1161460,"date":"2025-01-13T19:16:41","date_gmt":"2025-01-13T11:16:41","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1161460.html"},"modified":"2025-01-13T19:16:43","modified_gmt":"2025-01-13T11:16:43","slug":"python-%e5%87%bd%e6%95%b0%e5%8f%82%e6%95%b0%e5%a6%82%e4%bd%95%e4%bc%a0%e5%80%bc","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1161460.html","title":{"rendered":"python \u51fd\u6570\u53c2\u6570\u5982\u4f55\u4f20\u503c"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25202726\/4fa0aa9f-00b8-4b42-b8fe-42deacc69892.webp\" alt=\"python \u51fd\u6570\u53c2\u6570\u5982\u4f55\u4f20\u503c\" \/><\/p>\n<p><p> \u5728Python\u4e2d\uff0c\u51fd\u6570\u53c2\u6570\u4f20\u503c\u7684\u65b9\u5f0f\u4e3b\u8981\u6709<strong>\u6309\u503c\u4f20\u9012\u3001\u6309\u5f15\u7528\u4f20\u9012\u3001\u9ed8\u8ba4\u53c2\u6570\u3001\u53ef\u53d8\u53c2\u6570\u3001\u5173\u952e\u5b57\u53c2\u6570<\/strong>\u7b49\u3002\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0cPython\u51fd\u6570\u53c2\u6570\u4f20\u9012\u7684\u662f\u5bf9\u8c61\u7684\u5f15\u7528\uff0c\u8fd9\u610f\u5473\u7740\u5728\u51fd\u6570\u5185\u90e8\u4fee\u6539\u5bf9\u8c61\u4f1a\u5f71\u54cd\u5230\u5916\u90e8\u7684\u5bf9\u8c61\u3002\u4e3a\u4e86\u8be6\u7ec6\u4e86\u89e3\u8fd9\u4e9b\u4f20\u503c\u65b9\u5f0f\uff0c\u6211\u4eec\u9700\u8981\u6df1\u5165\u63a2\u8ba8\u6bcf\u79cd\u65b9\u5f0f\u7684\u5177\u4f53\u5b9e\u73b0\u548c\u5e94\u7528\u573a\u666f\u3002<\/p>\n<\/p>\n<p><p>\u6309\u5f15\u7528\u4f20\u9012\u662fPython\u51fd\u6570\u53c2\u6570\u7684\u9ed8\u8ba4\u4f20\u9012\u65b9\u5f0f\uff0c\u8fd9\u610f\u5473\u7740\u51fd\u6570\u5185\u90e8\u7684\u4fee\u6539\u4f1a\u5f71\u54cd\u5230\u5916\u90e8\u5bf9\u8c61\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def modify_list(lst):<\/p>\n<p>    lst.append(4)<\/p>\n<p>my_list = [1, 2, 3]<\/p>\n<p>modify_list(my_list)<\/p>\n<p>print(my_list)  # \u8f93\u51fa: [1, 2, 3, 4]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>my_list<\/code>\u5728\u51fd\u6570\u8c03\u7528\u540e\u88ab\u4fee\u6539\uff0c\u56e0\u4e3a<code>lst<\/code>\u548c<code>my_list<\/code>\u5f15\u7528\u7684\u662f\u540c\u4e00\u4e2a\u5217\u8868\u5bf9\u8c61\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u6309\u503c\u4f20\u9012<\/h3>\n<\/p>\n<p><p><strong>\u6309\u503c\u4f20\u9012<\/strong>\u6307\u7684\u662f\u5728\u51fd\u6570\u8c03\u7528\u65f6\uff0c\u5c06\u5b9e\u9645\u53c2\u6570\u590d\u5236\u4e00\u4efd\u4f20\u9012\u7ed9\u51fd\u6570\uff0c\u8fd9\u6837\u51fd\u6570\u5185\u90e8\u7684\u4fee\u6539\u4e0d\u4f1a\u5f71\u54cd\u5230\u5916\u90e8\u7684\u5bf9\u8c61\u3002\u5728Python\u4e2d\uff0c\u6570\u503c\u7c7b\u578b\uff08\u5982\u6574\u6570\u3001\u6d6e\u70b9\u6570\uff09\u3001\u5b57\u7b26\u4e32\u548c\u5143\u7ec4\u662f\u4e0d\u53ef\u53d8\u5bf9\u8c61\uff0c\u8fd9\u4e9b\u7c7b\u578b\u5728\u51fd\u6570\u8c03\u7528\u65f6\u8868\u73b0\u51fa\u6309\u503c\u4f20\u9012\u7684\u884c\u4e3a\u3002<\/p>\n<\/p>\n<p><p>\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def modify_number(num):<\/p>\n<p>    num += 1<\/p>\n<p>number = 10<\/p>\n<p>modify_number(number)<\/p>\n<p>print(number)  # \u8f93\u51fa: 10<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>number<\/code>\u6ca1\u6709\u88ab\u4fee\u6539\uff0c\u56e0\u4e3a\u6574\u6570\u662f\u4e0d\u53ef\u53d8\u5bf9\u8c61\uff0c<code>num<\/code>\u7684\u4fee\u6539\u4e0d\u4f1a\u5f71\u54cd\u5230\u539f\u6765\u7684<code>number<\/code>\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u6309\u5f15\u7528\u4f20\u9012<\/h3>\n<\/p>\n<p><p><strong>\u6309\u5f15\u7528\u4f20\u9012<\/strong>\u610f\u5473\u7740\u5c06\u5b9e\u9645\u53c2\u6570\u7684\u5f15\u7528\u4f20\u9012\u7ed9\u51fd\u6570\uff0c\u51fd\u6570\u5185\u90e8\u5bf9\u53c2\u6570\u7684\u4fee\u6539\u4f1a\u5f71\u54cd\u5230\u5916\u90e8\u5bf9\u8c61\u3002Python\u4e2d\u7684\u53ef\u53d8\u5bf9\u8c61\uff08\u5982\u5217\u8868\u3001\u5b57\u5178\u3001\u96c6\u5408\uff09\u5728\u51fd\u6570\u8c03\u7528\u65f6\u8868\u73b0\u51fa\u6309\u5f15\u7528\u4f20\u9012\u7684\u884c\u4e3a\u3002<\/p>\n<\/p>\n<p><p>\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def modify_dict(d):<\/p>\n<p>    d[&#39;new_key&#39;] = &#39;new_value&#39;<\/p>\n<p>my_dict = {&#39;key&#39;: &#39;value&#39;}<\/p>\n<p>modify_dict(my_dict)<\/p>\n<p>print(my_dict)  # \u8f93\u51fa: {&#39;key&#39;: &#39;value&#39;, &#39;new_key&#39;: &#39;new_value&#39;}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>my_dict<\/code>\u88ab\u4fee\u6539\uff0c\u56e0\u4e3a\u5b57\u5178\u662f\u53ef\u53d8\u5bf9\u8c61\uff0c<code>d<\/code>\u548c<code>my_dict<\/code>\u5f15\u7528\u7684\u662f\u540c\u4e00\u4e2a\u5bf9\u8c61\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u9ed8\u8ba4\u53c2\u6570<\/h3>\n<\/p>\n<p><p><strong>\u9ed8\u8ba4\u53c2\u6570<\/strong>\u5141\u8bb8\u5728\u5b9a\u4e49\u51fd\u6570\u65f6\u4e3a\u67d0\u4e9b\u53c2\u6570\u63d0\u4f9b\u9ed8\u8ba4\u503c\uff0c\u8fd9\u6837\u5728\u8c03\u7528\u51fd\u6570\u65f6\u53ef\u4ee5\u7701\u7565\u8fd9\u4e9b\u53c2\u6570\u3002\u9ed8\u8ba4\u53c2\u6570\u5728\u51fd\u6570\u5b9a\u4e49\u65f6\u6307\u5b9a\uff0c\u5e76\u4e14\u53ea\u80fd\u5728\u53c2\u6570\u5217\u8868\u7684\u672b\u5c3e\u3002<\/p>\n<\/p>\n<p><p>\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def greet(name, message=&#39;Hello&#39;):<\/p>\n<p>    print(f&#39;{message}, {name}!&#39;)<\/p>\n<p>greet(&#39;Alice&#39;)  # \u8f93\u51fa: Hello, Alice!<\/p>\n<p>greet(&#39;Bob&#39;, &#39;Hi&#39;)  # \u8f93\u51fa: Hi, Bob!<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>message<\/code>\u6709\u4e00\u4e2a\u9ed8\u8ba4\u503c<code>&#39;Hello&#39;<\/code>\uff0c\u6240\u4ee5\u5728\u8c03\u7528<code>greet<\/code>\u51fd\u6570\u65f6\u53ef\u4ee5\u7701\u7565\u8fd9\u4e2a\u53c2\u6570\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u53ef\u53d8\u53c2\u6570<\/h3>\n<\/p>\n<p><p><strong>\u53ef\u53d8\u53c2\u6570<\/strong>\u5141\u8bb8\u51fd\u6570\u63a5\u53d7\u4e0d\u5b9a\u6570\u91cf\u7684\u53c2\u6570\u3002Python\u901a\u8fc7\u4f7f\u7528<code>*args<\/code>\u548c<code>kwargs<\/code>\u6765\u5b9e\u73b0\u53ef\u53d8\u53c2\u6570\uff0c\u5206\u522b\u7528\u4e8e\u63a5\u53d7\u4f4d\u7f6e\u53c2\u6570\u548c\u5173\u952e\u5b57\u53c2\u6570\u3002<\/p>\n<\/p>\n<p><h4>1\u3001<code>*args<\/code>\u7528\u4e8e\u63a5\u53d7\u4e0d\u5b9a\u6570\u91cf\u7684\u4f4d\u7f6e\u53c2\u6570\uff1a<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">def sum_numbers(*args):<\/p>\n<p>    return sum(args)<\/p>\n<p>print(sum_numbers(1, 2, 3))  # \u8f93\u51fa: 6<\/p>\n<p>print(sum_numbers(4, 5, 6, 7))  # \u8f93\u51fa: 22<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>*args<\/code>\u5c06\u6240\u6709\u4f20\u5165\u7684\u53c2\u6570\u6253\u5305\u6210\u4e00\u4e2a\u5143\u7ec4\uff0c\u53ef\u4ee5\u5728\u51fd\u6570\u5185\u90e8\u8fdb\u884c\u904d\u5386\u548c\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><h4>2\u3001<code>kwargs<\/code>\u7528\u4e8e\u63a5\u53d7\u4e0d\u5b9a\u6570\u91cf\u7684\u5173\u952e\u5b57\u53c2\u6570\uff1a<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">def print_info(kwargs):<\/p>\n<p>    for key, value in kwargs.items():<\/p>\n<p>        print(f&#39;{key}: {value}&#39;)<\/p>\n<p>print_info(name=&#39;Alice&#39;, age=25, city=&#39;New York&#39;)<\/p>\n<h2><strong>\u8f93\u51fa:<\/strong><\/h2>\n<h2><strong>name: Alice<\/strong><\/h2>\n<h2><strong>age: 25<\/strong><\/h2>\n<h2><strong>city: New York<\/strong><\/h2>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>kwargs<\/code>\u5c06\u6240\u6709\u4f20\u5165\u7684\u5173\u952e\u5b57\u53c2\u6570\u6253\u5305\u6210\u4e00\u4e2a\u5b57\u5178\uff0c\u53ef\u4ee5\u5728\u51fd\u6570\u5185\u90e8\u8fdb\u884c\u904d\u5386\u548c\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u5173\u952e\u5b57\u53c2\u6570<\/h3>\n<\/p>\n<p><p><strong>\u5173\u952e\u5b57\u53c2\u6570<\/strong>\u5141\u8bb8\u5728\u51fd\u6570\u8c03\u7528\u65f6\u4f7f\u7528<code>key=value<\/code>\u7684\u5f62\u5f0f\u4f20\u9012\u53c2\u6570\uff0c\u8fd9\u6837\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u7075\u6d3b\u6027\u3002\u5173\u952e\u5b57\u53c2\u6570\u53ef\u4ee5\u4e0e\u4f4d\u7f6e\u53c2\u6570\u6df7\u5408\u4f7f\u7528\uff0c\u4f46\u5173\u952e\u5b57\u53c2\u6570\u5fc5\u987b\u653e\u5728\u4f4d\u7f6e\u53c2\u6570\u4e4b\u540e\u3002<\/p>\n<\/p>\n<p><p>\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def describe_pet(pet_name, animal_type=&#39;dog&#39;):<\/p>\n<p>    print(f&#39;I have a {animal_type} named {pet_name}.&#39;)<\/p>\n<p>describe_pet(&#39;Willie&#39;)  # \u8f93\u51fa: I have a dog named Willie.<\/p>\n<p>describe_pet(&#39;Harry&#39;, &#39;hamster&#39;)  # \u8f93\u51fa: I have a hamster named Harry.<\/p>\n<p>describe_pet(animal_type=&#39;cat&#39;, pet_name=&#39;Whiskers&#39;)  # \u8f93\u51fa: I have a cat named Whiskers.<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u901a\u8fc7\u4f7f\u7528\u5173\u952e\u5b57\u53c2\u6570\uff0c\u53ef\u4ee5\u5728\u8c03\u7528\u51fd\u6570\u65f6\u6307\u5b9a\u53c2\u6570\u7684\u540d\u79f0\uff0c\u4ece\u800c\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u3002<\/p>\n<\/p>\n<p><h3>\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u51fd\u6570\u53c2\u6570\u4f20\u503c\u7684\u65b9\u5f0f\u591a\u79cd\u591a\u6837\uff0c\u5305\u62ec\u6309\u503c\u4f20\u9012\u3001\u6309\u5f15\u7528\u4f20\u9012\u3001\u9ed8\u8ba4\u53c2\u6570\u3001\u53ef\u53d8\u53c2\u6570\u548c\u5173\u952e\u5b57\u53c2\u6570\u3002\u7406\u89e3\u8fd9\u4e9b\u4f20\u503c\u65b9\u5f0f\u5bf9\u4e8e\u7f16\u5199\u9ad8\u6548\u548c\u7075\u6d3b\u7684Python\u4ee3\u7801\u81f3\u5173\u91cd\u8981\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u6309\u503c\u4f20\u9012<\/strong>\u9002\u7528\u4e8e\u4e0d\u53ef\u53d8\u5bf9\u8c61\uff0c\u5982\u6574\u6570\u3001\u6d6e\u70b9\u6570\u3001\u5b57\u7b26\u4e32\u548c\u5143\u7ec4\u3002<\/li>\n<li><strong>\u6309\u5f15\u7528\u4f20\u9012<\/strong>\u9002\u7528\u4e8e\u53ef\u53d8\u5bf9\u8c61\uff0c\u5982\u5217\u8868\u3001\u5b57\u5178\u548c\u96c6\u5408\u3002<\/li>\n<li><strong>\u9ed8\u8ba4\u53c2\u6570<\/strong>\u5141\u8bb8\u4e3a\u53c2\u6570\u63d0\u4f9b\u9ed8\u8ba4\u503c\uff0c\u63d0\u9ad8\u51fd\u6570\u7684\u7075\u6d3b\u6027\u3002<\/li>\n<li><strong>\u53ef\u53d8\u53c2\u6570<\/strong>\u901a\u8fc7<code>*args<\/code>\u548c<code>kwargs<\/code>\u63a5\u53d7\u4e0d\u5b9a\u6570\u91cf\u7684\u4f4d\u7f6e\u53c2\u6570\u548c\u5173\u952e\u5b57\u53c2\u6570\u3002<\/li>\n<li><strong>\u5173\u952e\u5b57\u53c2\u6570<\/strong>\u901a\u8fc7<code>key=value<\/code>\u7684\u5f62\u5f0f\u4f20\u9012\u53c2\u6570\uff0c\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u3002<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u638c\u63e1\u8fd9\u4e9b\u4f20\u503c\u65b9\u5f0f\uff0c\u53ef\u4ee5\u7f16\u5199\u66f4\u9ad8\u6548\u3001\u66f4\u7075\u6d3b\u7684Python\u51fd\u6570\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u4f20\u9012\u53ef\u53d8\u548c\u4e0d\u53ef\u53d8\u53c2\u6570\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53c2\u6570\u53ef\u4ee5\u5206\u4e3a\u53ef\u53d8\u53c2\u6570\u548c\u4e0d\u53ef\u53d8\u53c2\u6570\u3002\u4e0d\u53ef\u53d8\u53c2\u6570\uff08\u5982\u6574\u6570\u3001\u5b57\u7b26\u4e32\u548c\u5143\u7ec4\uff09\u5728\u51fd\u6570\u5185\u90e8\u65e0\u6cd5\u88ab\u4fee\u6539\uff0c\u800c\u53ef\u53d8\u53c2\u6570\uff08\u5982\u5217\u8868\u548c\u5b57\u5178\uff09\u53ef\u4ee5\u5728\u51fd\u6570\u5185\u90e8\u88ab\u66f4\u6539\u3002\u7406\u89e3\u8fd9\u4e00\u70b9\u975e\u5e38\u91cd\u8981\uff0c\u56e0\u4e3a\u5b83\u5f71\u54cd\u5230\u51fd\u6570\u7684\u884c\u4e3a\u548c\u8fd4\u56de\u7ed3\u679c\u3002\u4f8b\u5982\uff0c\u4f20\u9012\u4e00\u4e2a\u5217\u8868\u5230\u51fd\u6570\u4e2d\u540e\uff0c\u5982\u679c\u5728\u51fd\u6570\u5185\u4fee\u6539\u4e86\u8fd9\u4e2a\u5217\u8868\uff0c\u8c03\u7528\u8be5\u51fd\u6570\u540e\uff0c\u539f\u59cb\u5217\u8868\u4e5f\u4f1a\u53d1\u751f\u6539\u53d8\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u5982\u4f55\u4f7f\u7528\u9ed8\u8ba4\u53c2\u6570\u503c\uff1f<\/strong><br \/>Python\u5141\u8bb8\u5728\u51fd\u6570\u5b9a\u4e49\u65f6\u4e3a\u53c2\u6570\u8bbe\u7f6e\u9ed8\u8ba4\u503c\uff0c\u8fd9\u6837\u5728\u8c03\u7528\u51fd\u6570\u65f6\u5982\u679c\u6ca1\u6709\u63d0\u4f9b\u8be5\u53c2\u6570\u7684\u503c\uff0c\u7cfb\u7edf\u4f1a\u81ea\u52a8\u4f7f\u7528\u9ed8\u8ba4\u503c\u3002\u8fd9\u79cd\u529f\u80fd\u4f7f\u5f97\u51fd\u6570\u66f4\u52a0\u7075\u6d3b\u3002\u4f8b\u5982\uff0c\u5b9a\u4e49\u4e00\u4e2a\u51fd\u6570\u65f6\u53ef\u4ee5\u7ed9\u67d0\u4e2a\u53c2\u6570\u8bbe\u5b9a\u4e00\u4e2a\u9ed8\u8ba4\u503c\uff0c\u4ece\u800c\u7b80\u5316\u51fd\u6570\u8c03\u7528\u8fc7\u7a0b\uff0c\u907f\u514d\u5728\u6bcf\u6b21\u8c03\u7528\u65f6\u90fd\u9700\u8981\u4f20\u5165\u6240\u6709\u53c2\u6570\u3002<\/p>\n<p><strong>\u51fd\u6570\u53c2\u6570\u7684\u5173\u952e\u5b57\u4f20\u9012\u6709\u4ec0\u4e48\u4f18\u52bf\uff1f<\/strong><br \/>\u4f7f\u7528\u5173\u952e\u5b57\u53c2\u6570\u53ef\u4ee5\u63d0\u9ad8\u51fd\u6570\u8c03\u7528\u7684\u53ef\u8bfb\u6027\u548c\u7075\u6d3b\u6027\u3002\u901a\u8fc7\u6307\u5b9a\u53c2\u6570\u540d\u79f0\uff0c\u53ef\u4ee5\u5728\u8c03\u7528\u51fd\u6570\u65f6\u4ee5\u4efb\u610f\u987a\u5e8f\u4f20\u9012\u53c2\u6570\uff0c\u800c\u4e0d\u5fc5\u6309\u7167\u5b9a\u4e49\u65f6\u7684\u987a\u5e8f\u3002\u8fd9\u4e0d\u4ec5\u8ba9\u4ee3\u7801\u66f4\u52a0\u6e05\u6670\uff0c\u8fd8\u51cf\u5c11\u4e86\u56e0\u53c2\u6570\u987a\u5e8f\u9519\u8bef\u5bfc\u81f4\u7684\u6f5c\u5728\u9519\u8bef\u3002\u540c\u65f6\uff0c\u5173\u952e\u5b57\u53c2\u6570\u8fd8\u652f\u6301\u5728\u8c03\u7528\u65f6\u53ea\u63d0\u4f9b\u90e8\u5206\u53c2\u6570\uff0c\u5176\u4f59\u53c2\u6570\u5c06\u4f7f\u7528\u9ed8\u8ba4\u503c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u51fd\u6570\u53c2\u6570\u4f20\u503c\u7684\u65b9\u5f0f\u4e3b\u8981\u6709\u6309\u503c\u4f20\u9012\u3001\u6309\u5f15\u7528\u4f20\u9012\u3001\u9ed8\u8ba4\u53c2\u6570\u3001\u53ef\u53d8\u53c2\u6570\u3001\u5173\u952e\u5b57\u53c2\u6570\u7b49\u3002\u5728\u5927\u591a\u6570\u60c5\u51b5 [&hellip;]","protected":false},"author":3,"featured_media":1161468,"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\/1161460"}],"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=1161460"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1161460\/revisions"}],"predecessor-version":[{"id":1161469,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1161460\/revisions\/1161469"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1161468"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1161460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1161460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1161460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}