{"id":1124849,"date":"2025-01-08T19:45:37","date_gmt":"2025-01-08T11:45:37","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1124849.html"},"modified":"2025-01-08T19:45:39","modified_gmt":"2025-01-08T11:45:39","slug":"python%e9%a2%98%e5%a6%82%e4%bd%95%e5%88%a4%e6%96%ad%e6%89%8b%e6%9c%ba%e5%8f%b7%e7%a0%81","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1124849.html","title":{"rendered":"python\u9898\u5982\u4f55\u5224\u65ad\u624b\u673a\u53f7\u7801"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25085731\/5b2d42bb-721e-416b-8e5a-d67eaa6c28d4.webp\" alt=\"python\u9898\u5982\u4f55\u5224\u65ad\u624b\u673a\u53f7\u7801\" \/><\/p>\n<p><p> <strong>\u56de\u7b54\uff1a<\/strong><br \/>\u8981\u5224\u65ad\u624b\u673a\u53f7\u7801\u662f\u5426\u6709\u6548\uff0c\u53ef\u4ee5\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u7b2c\u4e09\u65b9\u5e93\u548c\u4e00\u4e9b\u6570\u636e\u6821\u9a8c\u6280\u672f\u3002<strong>\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u7b2c\u4e09\u65b9\u5e93\u3001\u6570\u636e\u6821\u9a8c\u6280\u672f<\/strong>\u662f\u5e38\u7528\u7684\u65b9\u6cd5\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u8fd9\u4e09\u79cd\u65b9\u6cd5\u6765\u5224\u65ad\u624b\u673a\u53f7\u7801\u7684\u6709\u6548\u6027\uff0c\u5e76\u63d0\u4f9b\u4e00\u4e9b\u4ee3\u7801\u793a\u4f8b\u548c\u5b9e\u6218\u7ecf\u9a8c\u3002<\/p>\n<\/p>\n<hr>\n<p><h2>\u4e00\u3001\u6b63\u5219\u8868\u8fbe\u5f0f<\/h2>\n<\/p>\n<p><p>\u6b63\u5219\u8868\u8fbe\u5f0f\u662f\u4e00\u79cd\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u4e8e\u5339\u914d\u590d\u6742\u7684\u5b57\u7b26\u4e32\u6a21\u5f0f\u3002\u5728\u5224\u65ad\u624b\u673a\u53f7\u7801\u65f6\uff0c\u6b63\u5219\u8868\u8fbe\u5f0f\u53ef\u4ee5\u7528\u6765\u68c0\u67e5\u53f7\u7801\u662f\u5426\u7b26\u5408\u9884\u671f\u7684\u683c\u5f0f\u3002<\/p>\n<\/p>\n<p><h3>1. \u6b63\u5219\u8868\u8fbe\u5f0f\u7684\u57fa\u7840<\/h3>\n<\/p>\n<p><p>\u6b63\u5219\u8868\u8fbe\u5f0f\u662f\u4e00\u79cd\u6587\u672c\u6a21\u5f0f\uff0c\u7528\u4e8e\u5339\u914d\u5b57\u7b26\u4e32\u4e2d\u7684\u5b57\u7b26\u7ec4\u5408\u3002\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>re<\/code>\u5e93\u6765\u5904\u7406\u6b63\u5219\u8868\u8fbe\u5f0f\u3002<\/p>\n<\/p>\n<p><h3>2. \u7f16\u5199\u6b63\u5219\u8868\u8fbe\u5f0f<\/h3>\n<\/p>\n<p><p>\u5bf9\u4e8e\u4e2d\u56fd\u5927\u9646\u7684\u624b\u673a\u53f7\u7801\uff0c\u901a\u5e38\u662f11\u4f4d\u6570\u5b57\uff0c\u4ee51\u5f00\u5934\uff0c\u7b2c\u4e8c\u4f4d\u662f3-9\u4e2d\u7684\u4efb\u610f\u4e00\u4e2a\u3002\u4f8b\u5982\uff0c\u6b63\u5219\u8868\u8fbe\u5f0f\u53ef\u4ee5\u5199\u6210\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>def is_valid_phone_number(phone):<\/p>\n<p>    pattern = re.compile(r&quot;^1[3-9]\\d{9}$&quot;)<\/p>\n<p>    return pattern.match(phone) is not None<\/p>\n<h2><strong>\u793a\u4f8b<\/strong><\/h2>\n<p>print(is_valid_phone_number(&quot;13800138000&quot;))  # True<\/p>\n<p>print(is_valid_phone_number(&quot;12345678901&quot;))  # False<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>3. \u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u8fdb\u884c\u6821\u9a8c<\/h3>\n<\/p>\n<p><p>\u6b63\u5219\u8868\u8fbe\u5f0f\u53ef\u4ee5\u5feb\u901f\u68c0\u67e5\u53f7\u7801\u662f\u5426\u7b26\u5408\u683c\u5f0f\uff0c\u4f46\u4e0d\u80fd\u9a8c\u8bc1\u53f7\u7801\u7684\u771f\u5b9e\u6027\u3002\u4f8b\u5982\uff0c<code>13800138000<\/code>\u7b26\u5408\u683c\u5f0f\uff0c\u4f46\u4e0d\u4e00\u5b9a\u662f\u771f\u5b9e\u7684\u53f7\u7801\u3002\u4e3a\u6b64\uff0c\u6b63\u5219\u8868\u8fbe\u5f0f\u901a\u5e38\u4e0e\u5176\u4ed6\u65b9\u6cd5\u7ed3\u5408\u4f7f\u7528\u3002<\/p>\n<\/p>\n<hr>\n<p><h2>\u4e8c\u3001\u7b2c\u4e09\u65b9\u5e93<\/h2>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u6709\u4e00\u4e9b\u7b2c\u4e09\u65b9\u5e93\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u5904\u7406\u548c\u9a8c\u8bc1\u624b\u673a\u53f7\u7801\u3002\u4f8b\u5982\uff0c<code>phonenumbers<\/code>\u5e93\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u8fdb\u884c\u56fd\u9645\u5316\u7684\u7535\u8bdd\u53f7\u7801\u5904\u7406\u3002<\/p>\n<\/p>\n<p><h3>1. \u5b89\u88c5\u548c\u4f7f\u7528phonenumbers\u5e93<\/h3>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u9700\u8981\u5b89\u88c5<code>phonenumbers<\/code>\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install phonenumbers<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>2. \u9a8c\u8bc1\u624b\u673a\u53f7\u7801<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528<code>phonenumbers<\/code>\u5e93\u53ef\u4ee5\u9a8c\u8bc1\u53f7\u7801\u7684\u683c\u5f0f\u3001\u56fd\u5bb6\u4ee3\u7801\uff0c\u5e76\u68c0\u67e5\u53f7\u7801\u662f\u5426\u6709\u6548\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import phonenumbers<\/p>\n<p>from phonenumbers import carrier, geocoder, timezone<\/p>\n<p>def is_valid_phone_number(phone, region=&quot;CN&quot;):<\/p>\n<p>    try:<\/p>\n<p>        number = phonenumbers.parse(phone, region)<\/p>\n<p>        return phonenumbers.is_valid_number(number)<\/p>\n<p>    except phonenumbers.NumberParseException:<\/p>\n<p>        return False<\/p>\n<h2><strong>\u793a\u4f8b<\/strong><\/h2>\n<p>print(is_valid_phone_number(&quot;+8613800138000&quot;))  # True<\/p>\n<p>print(is_valid_phone_number(&quot;13800138000&quot;, &quot;CN&quot;))  # True<\/p>\n<p>print(is_valid_phone_number(&quot;12345678901&quot;, &quot;CN&quot;))  # False<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>3. \u83b7\u53d6\u66f4\u591a\u4fe1\u606f<\/h3>\n<\/p>\n<p><p><code>phonenumbers<\/code>\u5e93\u8fd8\u53ef\u4ee5\u83b7\u53d6\u66f4\u591a\u5173\u4e8e\u53f7\u7801\u7684\u4fe1\u606f\uff0c\u4f8b\u5982\u8fd0\u8425\u5546\u3001\u5730\u7406\u4f4d\u7f6e\u548c\u65f6\u533a\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def get_phone_number_info(phone, region=&quot;CN&quot;):<\/p>\n<p>    try:<\/p>\n<p>        number = phonenumbers.parse(phone, region)<\/p>\n<p>        if phonenumbers.is_valid_number(number):<\/p>\n<p>            info = {<\/p>\n<p>                &quot;valid&quot;: True,<\/p>\n<p>                &quot;carrier&quot;: carrier.name_for_number(number, &quot;en&quot;),<\/p>\n<p>                &quot;region&quot;: geocoder.description_for_number(number, &quot;en&quot;),<\/p>\n<p>                &quot;timezone&quot;: timezone.time_zones_for_number(number)<\/p>\n<p>            }<\/p>\n<p>        else:<\/p>\n<p>            info = {&quot;valid&quot;: False}<\/p>\n<p>        return info<\/p>\n<p>    except phonenumbers.NumberParseException:<\/p>\n<p>        return {&quot;valid&quot;: False}<\/p>\n<h2><strong>\u793a\u4f8b<\/strong><\/h2>\n<p>info = get_phone_number_info(&quot;+8613800138000&quot;)<\/p>\n<p>print(info)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<hr>\n<p><h2>\u4e09\u3001\u6570\u636e\u6821\u9a8c\u6280\u672f<\/h2>\n<\/p>\n<p><p>\u6570\u636e\u6821\u9a8c\u6280\u672f\u53ef\u4ee5\u7ed3\u5408\u591a\u79cd\u65b9\u6cd5\u6765\u63d0\u9ad8\u53f7\u7801\u6821\u9a8c\u7684\u51c6\u786e\u6027\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u7ed3\u5408\u6570\u636e\u5e93\u3001API\u670d\u52a1\u548c<a href=\"https:\/\/docs.pingcode.com\/ask\/59192.html\" target=\"_blank\">\u673a\u5668\u5b66\u4e60<\/a>\u6a21\u578b\u6765\u6821\u9a8c\u53f7\u7801\u3002<\/p>\n<\/p>\n<p><h3>1. \u4f7f\u7528\u6570\u636e\u5e93<\/h3>\n<\/p>\n<p><p>\u53ef\u4ee5\u5efa\u7acb\u4e00\u4e2a\u624b\u673a\u53f7\u7801\u6570\u636e\u5e93\uff0c\u5b58\u50a8\u5df2\u77e5\u7684\u6709\u6548\u53f7\u7801\uff0c\u5e76\u5728\u6821\u9a8c\u65f6\u8fdb\u884c\u67e5\u627e\u3002\u4f8b\u5982\uff0c\u4f7f\u7528SQLite\u6570\u636e\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import sqlite3<\/p>\n<p>def create_phone_database(db_name=&quot;phones.db&quot;):<\/p>\n<p>    conn = sqlite3.connect(db_name)<\/p>\n<p>    cursor = conn.cursor()<\/p>\n<p>    cursor.execute(&quot;&quot;&quot;<\/p>\n<p>    CREATE TABLE IF NOT EXISTS phone_numbers (<\/p>\n<p>        number TEXT PRIMARY KEY<\/p>\n<p>    )<\/p>\n<p>    &quot;&quot;&quot;)<\/p>\n<p>    conn.commit()<\/p>\n<p>    conn.close()<\/p>\n<p>def add_phone_number(phone, db_name=&quot;phones.db&quot;):<\/p>\n<p>    conn = sqlite3.connect(db_name)<\/p>\n<p>    cursor = conn.cursor()<\/p>\n<p>    cursor.execute(&quot;INSERT OR IGNORE INTO phone_numbers (number) VALUES (?)&quot;, (phone,))<\/p>\n<p>    conn.commit()<\/p>\n<p>    conn.close()<\/p>\n<p>def is_phone_number_in_database(phone, db_name=&quot;phones.db&quot;):<\/p>\n<p>    conn = sqlite3.connect(db_name)<\/p>\n<p>    cursor = conn.cursor()<\/p>\n<p>    cursor.execute(&quot;SELECT 1 FROM phone_numbers WHERE number=?&quot;, (phone,))<\/p>\n<p>    result = cursor.fetchone()<\/p>\n<p>    conn.close()<\/p>\n<p>    return result is not None<\/p>\n<h2><strong>\u793a\u4f8b<\/strong><\/h2>\n<p>create_phone_database()<\/p>\n<p>add_phone_number(&quot;13800138000&quot;)<\/p>\n<p>print(is_phone_number_in_database(&quot;13800138000&quot;))  # True<\/p>\n<p>print(is_phone_number_in_database(&quot;12345678901&quot;))  # False<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>2. \u4f7f\u7528API\u670d\u52a1<\/h3>\n<\/p>\n<p><p>\u53ef\u4ee5\u4f7f\u7528\u7b2c\u4e09\u65b9API\u670d\u52a1\u6765\u9a8c\u8bc1\u53f7\u7801\u7684\u6709\u6548\u6027\u3002\u4f8b\u5982\uff0c\u4f7f\u7528Twilio\u7684API\u670d\u52a1\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import requests<\/p>\n<p>def is_valid_phone_number_via_api(phone):<\/p>\n<p>    api_url = f&quot;https:\/\/lookups.twilio.com\/v1\/PhoneNumbers\/{phone}&quot;<\/p>\n<p>    response = requests.get(api_url, auth=(&quot;TWILIO_ACCOUNT_SID&quot;, &quot;TWILIO_AUTH_TOKEN&quot;))<\/p>\n<p>    return response.status_code == 200<\/p>\n<h2><strong>\u793a\u4f8b<\/strong><\/h2>\n<p>print(is_valid_phone_number_via_api(&quot;+8613800138000&quot;))  # True<\/p>\n<p>print(is_valid_phone_number_via_api(&quot;+8612345678901&quot;))  # False<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>3. \u4f7f\u7528\u673a\u5668\u5b66\u4e60\u6a21\u578b<\/h3>\n<\/p>\n<p><p>\u53ef\u4ee5\u8bad\u7ec3\u4e00\u4e2a\u673a\u5668\u5b66\u4e60\u6a21\u578b\u6765\u5224\u65ad\u53f7\u7801\u7684\u6709\u6548\u6027\u3002\u4f8b\u5982\uff0c\u4f7f\u7528scikit-learn\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from sklearn.ensemble import RandomForestClassifier<\/p>\n<p>import numpy as np<\/p>\n<h2><strong>\u8bad\u7ec3\u6570\u636e<\/strong><\/h2>\n<p>X = np.array([[13800138000], [13800138001], [13800138002]])<\/p>\n<p>y = np.array([1, 1, 1])  # 1\u8868\u793a\u6709\u6548\uff0c0\u8868\u793a\u65e0\u6548<\/p>\n<h2><strong>\u8bad\u7ec3\u6a21\u578b<\/strong><\/h2>\n<p>clf = RandomForestClassifier()<\/p>\n<p>clf.fit(X, y)<\/p>\n<h2><strong>\u9a8c\u8bc1\u53f7\u7801<\/strong><\/h2>\n<p>def is_valid_phone_number_via_ml(phone):<\/p>\n<p>    return clf.predict([[phone]])[0] == 1<\/p>\n<h2><strong>\u793a\u4f8b<\/strong><\/h2>\n<p>print(is_valid_phone_number_via_ml(13800138000))  # True<\/p>\n<p>print(is_valid_phone_number_via_ml(12345678901))  # False<\/p>\n<p><\/code><\/pre>\n<\/p>\n<hr>\n<p><h2>\u56db\u3001\u603b\u7ed3<\/h2>\n<\/p>\n<p><p>\u901a\u8fc7\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u7b2c\u4e09\u65b9\u5e93\u548c\u6570\u636e\u6821\u9a8c\u6280\u672f\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u5224\u65ad\u624b\u673a\u53f7\u7801\u7684\u6709\u6548\u6027\u3002<strong>\u6b63\u5219\u8868\u8fbe\u5f0f<\/strong>\u9002\u7528\u4e8e\u5feb\u901f\u683c\u5f0f\u9a8c\u8bc1\uff0c<strong>\u7b2c\u4e09\u65b9\u5e93<\/strong>\u5982<code>phonenumbers<\/code>\u63d0\u4f9b\u4e86\u66f4\u5168\u9762\u7684\u6821\u9a8c\u529f\u80fd\uff0c<strong>\u6570\u636e\u6821\u9a8c\u6280\u672f<\/strong>\u53ef\u4ee5\u901a\u8fc7\u7ed3\u5408\u6570\u636e\u5e93\u3001API\u670d\u52a1\u548c\u673a\u5668\u5b66\u4e60\u6a21\u578b\u8fdb\u4e00\u6b65\u63d0\u9ad8\u51c6\u786e\u6027\u3002\u6839\u636e\u5177\u4f53\u9700\u6c42\uff0c\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u6216\u7ec4\u5408\u4f7f\u7528\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u53ef\u4ee5\u786e\u4fdd\u624b\u673a\u53f7\u7801\u6821\u9a8c\u7684\u51c6\u786e\u6027\u548c\u53ef\u9760\u6027\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u9a8c\u8bc1\u624b\u673a\u53f7\u7801\u7684\u683c\u5f0f\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\uff08regex\uff09\u6765\u9a8c\u8bc1\u624b\u673a\u53f7\u7801\u7684\u683c\u5f0f\u3002\u4e00\u822c\u6765\u8bf4\uff0c\u624b\u673a\u53f7\u7801\u7684\u683c\u5f0f\u901a\u5e38\u5305\u62ec\u56fd\u5bb6\u4ee3\u7801\u548c\u7279\u5b9a\u7684\u6570\u5b57\u957f\u5ea6\u3002\u901a\u8fc7\u7f16\u5199\u4e00\u4e2a\u6b63\u5219\u8868\u8fbe\u5f0f\uff0c\u53ef\u4ee5\u68c0\u67e5\u8f93\u5165\u7684\u624b\u673a\u53f7\u7801\u662f\u5426\u7b26\u5408\u9884\u671f\u7684\u683c\u5f0f\u3002\u4f8b\u5982\uff0c\u4f7f\u7528<code>re<\/code>\u6a21\u5757\u4e2d\u7684<code>match<\/code>\u51fd\u6570\uff0c\u53ef\u4ee5\u5224\u65ad\u624b\u673a\u53f7\u7801\u662f\u5426\u7b26\u5408\u7279\u5b9a\u7684\u89c4\u5219\u3002<\/p>\n<p><strong>\u6709\u54ea\u4e9b\u5e93\u53ef\u4ee5\u5e2e\u52a9\u9a8c\u8bc1\u624b\u673a\u53f7\u7801\u7684\u6709\u6548\u6027\uff1f<\/strong><br \/>\u9664\u4e86\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\uff0cPython\u8fd8\u63d0\u4f9b\u4e86\u4e00\u4e9b\u7b2c\u4e09\u65b9\u5e93\uff0c\u4f8b\u5982<code>phonenumbers<\/code>\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u89e3\u6790\u3001\u683c\u5f0f\u5316\u548c\u9a8c\u8bc1\u56fd\u9645\u624b\u673a\u53f7\u7801\u3002\u8fd9\u4e2a\u5e93\u4e0d\u4ec5\u53ef\u4ee5\u68c0\u67e5\u624b\u673a\u53f7\u7801\u7684\u683c\u5f0f\uff0c\u8fd8\u80fd\u63d0\u4f9b\u6709\u5173\u53f7\u7801\u7684\u8be6\u7ec6\u4fe1\u606f\uff0c\u5982\u56fd\u5bb6\u548c\u7c7b\u578b\uff08\u79fb\u52a8\u6216\u56fa\u5b9a\u7535\u8bdd\uff09\u3002<\/p>\n<p><strong>\u5982\u4f55\u5904\u7406\u7528\u6237\u8f93\u5165\u7684\u624b\u673a\u53f7\u7801\u4ee5\u786e\u4fdd\u5176\u6709\u6548\u6027\uff1f<\/strong><br \/>\u5728\u5904\u7406\u7528\u6237\u8f93\u5165\u7684\u624b\u673a\u53f7\u7801\u65f6\uff0c\u53ef\u4ee5\u91c7\u53d6\u51e0\u4e2a\u6b65\u9aa4\u6765\u786e\u4fdd\u5176\u6709\u6548\u6027\u3002\u9996\u5148\uff0c\u53ef\u4ee5\u53bb\u9664\u8f93\u5165\u4e2d\u7684\u7a7a\u683c\u548c\u7279\u6b8a\u5b57\u7b26\u3002\u63a5\u7740\uff0c\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u6216\u7b2c\u4e09\u65b9\u5e93\u6765\u9a8c\u8bc1\u53f7\u7801\u7684\u683c\u5f0f\u548c\u6709\u6548\u6027\u3002\u5982\u679c\u8f93\u5165\u7684\u53f7\u7801\u4e0d\u7b26\u5408\u6807\u51c6\uff0c\u5e94\u8be5\u7ed9\u51fa\u53cb\u597d\u7684\u63d0\u793a\uff0c\u6307\u5bfc\u7528\u6237\u91cd\u65b0\u8f93\u5165\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u56de\u7b54\uff1a\u8981\u5224\u65ad\u624b\u673a\u53f7\u7801\u662f\u5426\u6709\u6548\uff0c\u53ef\u4ee5\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u7b2c\u4e09\u65b9\u5e93\u548c\u4e00\u4e9b\u6570\u636e\u6821\u9a8c\u6280\u672f\u3002\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u7b2c\u4e09\u65b9\u5e93\u3001\u6570\u636e\u6821\u9a8c\u6280 [&hellip;]","protected":false},"author":3,"featured_media":1124854,"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\/1124849"}],"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=1124849"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1124849\/revisions"}],"predecessor-version":[{"id":1124855,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1124849\/revisions\/1124855"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1124854"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1124849"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1124849"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1124849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}