{"id":797859,"date":"2024-07-27T01:29:35","date_gmt":"2024-07-26T17:29:35","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/797859.html"},"modified":"2024-07-27T01:29:37","modified_gmt":"2024-07-26T17:29:37","slug":"%e9%b8%bf%e8%92%99%e5%bc%80%e5%8f%91%e9%a6%96%e9%a1%b5%e4%bb%a3%e7%a0%81%e6%80%8e%e4%b9%88%e5%86%99","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/797859.html","title":{"rendered":"\u9e3f\u8499\u5f00\u53d1\u9996\u9875\u4ee3\u7801\u600e\u4e48\u5199"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25152138\/7d961275-1c69-40c7-b0ed-5746276df8ac.webp\" alt=\"\u9e3f\u8499\u5f00\u53d1\u9996\u9875\u4ee3\u7801\u600e\u4e48\u5199\" \/><\/p>\n<p><p>\u9e3f\u8499\u5f00\u53d1\u9996\u9875\u4ee3\u7801\u7684\u5199\u6cd5\u56e0\u9879\u76ee\u9700\u6c42\u800c\u5f02\uff0c\u4f46\u6838\u5fc3\u6b65\u9aa4\u5305\u62ec\u521b\u5efa\u5e03\u5c40\u6587\u4ef6\u3001\u914d\u7f6e\u9875\u9762\u8def\u7531\u3001\u7f16\u5199\u903b\u8f91\u4ee3\u7801\u3001\u8c03\u8bd5\u4e0e\u4f18\u5316\u3002\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u9e3f\u8499\u5f00\u53d1\u9996\u9875\u4ee3\u7801\u7684\u5177\u4f53\u5b9e\u73b0\u8fc7\u7a0b\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\u5feb\u901f\u4e0a\u624b\u9e3f\u8499\u5e94\u7528\u5f00\u53d1\u3002<\/p>\n<\/p>\n<h2><strong>\u4e00\u3001\u73af\u5883\u914d\u7f6e<\/strong><\/h2>\n<p><p>\u5728\u5f00\u59cb\u7f16\u5199\u4ee3\u7801\u4e4b\u524d\uff0c\u9996\u5148\u9700\u8981\u914d\u7f6e\u5f00\u53d1\u73af\u5883\u3002HarmonyOS\u7684\u5f00\u53d1\u4e3b\u8981\u4f9d\u8d56\u4e8eDevEco Studio\uff0c\u8fd9\u662f\u534e\u4e3a\u4e3a\u9e3f\u8499\u7cfb\u7edf\u5f00\u53d1\u63d0\u4f9b\u7684\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u3002\u8bf7\u786e\u4fdd\u4f60\u5df2\u7ecf\u5b89\u88c5\u597dDevEco Studio\uff0c\u5e76\u914d\u7f6e\u597d\u5fc5\u8981\u7684SDK\u548c\u63d2\u4ef6\u3002<\/p>\n<\/p>\n<p><h2>1. \u5b89\u88c5DevEco Studio<\/h2>\n<\/p>\n<p><p>\u4e0b\u8f7d\u5e76\u5b89\u88c5DevEco Studio\uff0c\u5b89\u88c5\u8fc7\u7a0b\u8f83\u4e3a\u7b80\u5355\uff0c\u6309\u7167\u63d0\u793a\u4e00\u6b65\u6b65\u8fdb\u884c\u5373\u53ef\u3002\u5982\u679c\u4f60\u662f\u7b2c\u4e00\u6b21\u4f7f\u7528\uff0c\u53ef\u4ee5\u53c2\u8003\u5b98\u65b9\u7684\u5b89\u88c5\u6307\u5357\u3002<\/p>\n<\/p>\n<p><h2>2. \u914d\u7f6e\u5f00\u53d1\u73af\u5883<\/h2>\n<\/p>\n<p><p>\u5728\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u9700\u8981\u914d\u7f6eSDK\u3001NDK\u7b49\u5f00\u53d1\u73af\u5883\u3002\u6253\u5f00DevEco Studio\uff0c\u8fdb\u5165 \u201cFile\u201d -&gt; \u201cSettings\u201d -&gt; \u201cAppearance &amp; Behavior\u201d -&gt; \u201cSystem Settings\u201d -&gt; \u201cAndroid SDK\u201d\uff0c\u7136\u540e\u9009\u62e9\u5408\u9002\u7684SDK\u8fdb\u884c\u4e0b\u8f7d\u548c\u5b89\u88c5\u3002<\/p>\n<\/p>\n<h2><strong>\u4e8c\u3001\u521b\u5efa\u9879\u76ee<\/strong><\/h2>\n<p><p>\u5728\u73af\u5883\u914d\u7f6e\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u5f00\u59cb\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u9e3f\u8499\u9879\u76ee\u3002<\/p>\n<\/p>\n<p><h2>1. \u65b0\u5efa\u9879\u76ee<\/h2>\n<\/p>\n<p><p>\u6253\u5f00DevEco Studio\uff0c\u70b9\u51fb \u201cFile\u201d -&gt; \u201cNew\u201d -&gt; \u201cNew HarmonyOS Project\u201d\uff0c\u5728\u5f39\u51fa\u7684\u7a97\u53e3\u4e2d\u9009\u62e9\u6a21\u677f\uff08\u4f8b\u5982Empty Ability\uff09\uff0c\u7136\u540e\u70b9\u51fb \u201cNext\u201d\u3002<\/p>\n<\/p>\n<p><h2>2. \u914d\u7f6e\u9879\u76ee<\/h2>\n<\/p>\n<p><p>\u5728\u914d\u7f6e\u9879\u76ee\u7a97\u53e3\u4e2d\uff0c\u586b\u5199\u9879\u76ee\u540d\u79f0\u3001\u5305\u540d\u3001\u4fdd\u5b58\u8def\u5f84\u7b49\u4fe1\u606f\uff0c\u7136\u540e\u70b9\u51fb \u201cFinish\u201d \u5b8c\u6210\u9879\u76ee\u521b\u5efa\u3002<\/p>\n<\/p>\n<h2><strong>\u4e09\u3001\u7f16\u5199\u5e03\u5c40\u6587\u4ef6<\/strong><\/h2>\n<p><p>\u5728\u9e3f\u8499\u5f00\u53d1\u4e2d\uff0c\u5e03\u5c40\u6587\u4ef6\u4e3b\u8981\u91c7\u7528XML\u683c\u5f0f\u6765\u5b9a\u4e49\u9875\u9762\u7ed3\u6784\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u9996\u9875\u5e03\u5c40\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><h2>1. \u5b9a\u4e49\u5e03\u5c40\u6587\u4ef6<\/h2>\n<\/p>\n<p><p>\u5728res\/layout\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u65b0\u7684XML\u6587\u4ef6\uff08\u4f8b\u5982activity_m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n.xml\uff09\uff0c\u7136\u540e\u7f16\u5199\u5e03\u5c40\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;<\/p>\n<p>&lt;DirectionalLayout<\/p>\n<p>    xmlns:ohos=&quot;http:\/\/schemas.huawei.com\/res\/ohos&quot;<\/p>\n<p>    ohos:width=&quot;match_parent&quot;<\/p>\n<p>    ohos:height=&quot;match_parent&quot;<\/p>\n<p>    ohos:orientation=&quot;vertical&quot;<\/p>\n<p>    ohos:padding=&quot;16vp&quot;&gt;<\/p>\n<p>    &lt;Text<\/p>\n<p>        ohos:width=&quot;match_parent&quot;<\/p>\n<p>        ohos:height=&quot;wrap_content&quot;<\/p>\n<p>        ohos:text=&quot;Welcome to HarmonyOS&quot;<\/p>\n<p>        ohos:text_size=&quot;24vp&quot;<\/p>\n<p>        ohos:text_alignment=&quot;center&quot;<\/p>\n<p>        ohos:margin_top=&quot;20vp&quot;\/&gt;<\/p>\n<p>    &lt;Button<\/p>\n<p>        ohos:width=&quot;match_parent&quot;<\/p>\n<p>        ohos:height=&quot;wrap_content&quot;<\/p>\n<p>        ohos:text=&quot;Click Me&quot;<\/p>\n<p>        ohos:margin_top=&quot;20vp&quot;<\/p>\n<p>        ohos:id=&quot;$+id:button&quot;<\/p>\n<p>        ohos:background_element=&quot;blue&quot;\/&gt;<\/p>\n<p>&lt;\/DirectionalLayout&gt;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<h2><strong>\u56db\u3001\u914d\u7f6e\u9875\u9762\u8def\u7531<\/strong><\/h2>\n<p><p>\u4e3a\u4e86\u8ba9\u5e94\u7528\u80fd\u591f\u6b63\u786e\u5c55\u793a\u9996\u9875\uff0c\u9700\u8981\u914d\u7f6e\u9875\u9762\u8def\u7531\u3002\u9e3f\u8499\u5e94\u7528\u7684\u8def\u7531\u914d\u7f6e\u6587\u4ef6\u662fconfig.json\u3002<\/p>\n<\/p>\n<p><h2>1. \u4fee\u6539config.json<\/h2>\n<\/p>\n<p><p>\u5728config.json\u6587\u4ef6\u4e2d\uff0c\u6dfb\u52a0\u9875\u9762\u8def\u7531\u7684\u914d\u7f6e\u9879\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-json\">{<\/p>\n<p>  &quot;app&quot;: {<\/p>\n<p>    &quot;bundleName&quot;: &quot;com.example.harmonyapp&quot;,<\/p>\n<p>    &quot;ability&quot;: [<\/p>\n<p>      {<\/p>\n<p>        &quot;name&quot;: &quot;MainAbility&quot;,<\/p>\n<p>        &quot;label&quot;: &quot;$string:app_name&quot;,<\/p>\n<p>        &quot;type&quot;: &quot;page&quot;,<\/p>\n<p>        &quot;main&quot;: &quot;true&quot;,<\/p>\n<p>        &quot;launchType&quot;: &quot;standard&quot;,<\/p>\n<p>        &quot;icon&quot;: &quot;$media:icon&quot;,<\/p>\n<p>        &quot;description&quot;: &quot;$string:app_description&quot;<\/p>\n<p>      }<\/p>\n<p>    ]<\/p>\n<p>  }<\/p>\n<p>}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<h2><strong>\u4e94\u3001\u7f16\u5199\u903b\u8f91\u4ee3\u7801<\/strong><\/h2>\n<p><p>\u5728\u5b8c\u6210\u5e03\u5c40\u6587\u4ef6\u548c\u8def\u7531\u914d\u7f6e\u540e\uff0c\u6211\u4eec\u9700\u8981\u7f16\u5199\u9875\u9762\u7684\u903b\u8f91\u4ee3\u7801\u3002\u8fd9\u91cc\u4e3b\u8981\u662f\u5904\u7406\u7528\u6237\u4ea4\u4e92\u4e8b\u4ef6\uff0c\u4f8b\u5982\u6309\u94ae\u70b9\u51fb\u7b49\u3002<\/p>\n<\/p>\n<p><h2>1. \u521b\u5efaMainAbilitySlice<\/h2>\n<\/p>\n<p><p>\u5728java\u76ee\u5f55\u4e0b\uff0c\u627e\u5230MainAbility.java\u6587\u4ef6\uff0c\u5e76\u521b\u5efa\u4e00\u4e2a\u5bf9\u5e94\u7684MainAbilitySlice\u7c7b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-java\">package com.example.harmonyapp;<\/p>\n<p>import ohos.aafwk.ability.AbilitySlice;<\/p>\n<p>import ohos.aafwk.content.Intent;<\/p>\n<p>import ohos.agp.components.Button;<\/p>\n<p>import ohos.agp.components.Component;<\/p>\n<p>import ohos.agp.window.dialog.ToastDialog;<\/p>\n<p>public class MainAbilitySlice extends AbilitySlice {<\/p>\n<p>    @Override<\/p>\n<p>    public void onStart(Intent intent) {<\/p>\n<p>        super.onStart(intent);<\/p>\n<p>        super.setUIContent(ResourceTable.Layout_activity_main);<\/p>\n<p>        Button button = (Button) findComponentById(ResourceTable.Id_button);<\/p>\n<p>        button.setClickedListener(new Component.ClickedListener() {<\/p>\n<p>            @Override<\/p>\n<p>            public void onClick(Component component) {<\/p>\n<p>                new ToastDialog(getContext()).setText(&quot;Button Clicked!&quot;).show();<\/p>\n<p>            }<\/p>\n<p>        });<\/p>\n<p>    }<\/p>\n<p>}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>2. \u4fee\u6539MainAbility<\/h2>\n<\/p>\n<p><p>\u786e\u4fddMainAbility.java\u4e2d\u542f\u52a8\u7684\u662fMainAbilitySlice\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-java\">package com.example.harmonyapp;<\/p>\n<p>import ohos.aafwk.ability.Ability;<\/p>\n<p>import ohos.aafwk.content.Intent;<\/p>\n<p>public class MainAbility extends Ability {<\/p>\n<p>    @Override<\/p>\n<p>    public void onStart(Intent intent) {<\/p>\n<p>        super.onStart(intent);<\/p>\n<p>        super.setMainRoute(MainAbilitySlice.class.getName());<\/p>\n<p>    }<\/p>\n<p>}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<h2><strong>\u516d\u3001\u8c03\u8bd5\u4e0e\u4f18\u5316<\/strong><\/h2>\n<p><p>\u5728\u5b8c\u6210\u4e0a\u8ff0\u6b65\u9aa4\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7DevEco Studio\u7684\u8fd0\u884c\u6309\u94ae\u5c06\u5e94\u7528\u90e8\u7f72\u5230\u9e3f\u8499\u8bbe\u5907\u6216\u6a21\u62df\u5668\u4e0a\u8fdb\u884c\u8c03\u8bd5\u3002\u786e\u4fdd\u9996\u9875\u80fd\u591f\u6b63\u786e\u663e\u793a\uff0c\u5e76\u4e14\u6309\u94ae\u70b9\u51fb\u4e8b\u4ef6\u80fd\u591f\u6b63\u5e38\u89e6\u53d1\u3002<\/p>\n<\/p>\n<p><h2>1. \u8c03\u8bd5\u5e94\u7528<\/h2>\n<\/p>\n<p><p>\u5728DevEco Studio\u4e2d\uff0c\u70b9\u51fb\u8fd0\u884c\u6309\u94ae\uff0c\u5c06\u5e94\u7528\u90e8\u7f72\u5230\u8fde\u63a5\u7684\u8bbe\u5907\u6216\u6a21\u62df\u5668\u4e0a\u3002\u5982\u679c\u5728\u90e8\u7f72\u8fc7\u7a0b\u4e2d\u9047\u5230\u95ee\u9898\uff0c\u53ef\u4ee5\u901a\u8fc7\u65e5\u5fd7\u8f93\u51fa\u8fdb\u884c\u6392\u67e5\u3002<\/p>\n<\/p>\n<p><h2>2. \u4f18\u5316\u4ee3\u7801<\/h2>\n<\/p>\n<p><p>\u5728\u8c03\u8bd5\u8fc7\u7a0b\u4e2d\uff0c\u5982\u679c\u53d1\u73b0\u6027\u80fd\u95ee\u9898\u6216\u5176\u4ed6\u5f02\u5e38\u60c5\u51b5\uff0c\u53ef\u4ee5\u9488\u5bf9\u6027\u5730\u8fdb\u884c\u4ee3\u7801\u4f18\u5316\u3002\u4f8b\u5982\uff0c\u4f18\u5316\u5e03\u5c40\u5c42\u7ea7\u3001\u51cf\u5c11\u4e0d\u5fc5\u8981\u7684UI\u5237\u65b0\u7b49\u3002<\/p>\n<\/p>\n<h2><strong>\u4e03\u3001\u603b\u7ed3\u4e0e\u5c55\u671b<\/strong><\/h2>\n<p><p>\u901a\u8fc7\u672c\u6587\u7684\u8be6\u7ec6\u4ecb\u7ecd\uff0c\u76f8\u4fe1\u4f60\u5df2\u7ecf\u638c\u63e1\u4e86\u5982\u4f55\u7f16\u5199\u9e3f\u8499\u5f00\u53d1\u9996\u9875\u4ee3\u7801\u7684\u57fa\u672c\u65b9\u6cd5\u3002<strong>\u521b\u5efa\u5e03\u5c40\u6587\u4ef6\u3001\u914d\u7f6e\u9875\u9762\u8def\u7531\u3001\u7f16\u5199\u903b\u8f91\u4ee3\u7801<\/strong>\u662f\u5f00\u53d1\u9e3f\u8499\u5e94\u7528\u7684\u6838\u5fc3\u6b65\u9aa4\u3002\u5728\u5b9e\u9645\u5f00\u53d1\u4e2d\uff0c\u53ef\u80fd\u8fd8\u4f1a\u9047\u5230\u5176\u4ed6\u95ee\u9898\uff0c\u4f8b\u5982\u5982\u4f55\u96c6\u6210\u7b2c\u4e09\u65b9\u5e93\u3001\u5982\u4f55\u8fdb\u884c\u7f51\u7edc\u8bf7\u6c42\u7b49\uff0c\u8fd9\u4e9b\u90fd\u9700\u8981\u5728\u5b9e\u8df5\u4e2d\u4e0d\u65ad\u5b66\u4e60\u548c\u603b\u7ed3\u3002<\/p>\n<\/p>\n<p><p>\u5e0c\u671b\u672c\u6587\u80fd\u591f\u5bf9\u4f60\u7684\u9e3f\u8499\u5f00\u53d1\u4e4b\u65c5\u6709\u6240\u5e2e\u52a9\uff0c\u795d\u4f60\u5728\u9e3f\u8499\u5e94\u7528\u5f00\u53d1\u4e2d\u53d6\u5f97\u6210\u529f\uff01<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u5982\u4f55\u5728\u9e3f\u8499\u5f00\u53d1\u4e2d\u7f16\u5199\u9996\u9875\u4ee3\u7801\uff1f<\/strong><br \/>\n\u9e3f\u8499\u5f00\u53d1\u4e2d\u7f16\u5199\u9996\u9875\u4ee3\u7801\u9700\u8981\u9075\u5faa\u4e00\u5b9a\u7684\u89c4\u8303\u548c\u8bed\u6cd5\u3002\u60a8\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u9875\u9762\uff0c\u7136\u540e\u5728\u8be5\u9875\u9762\u4e0a\u7f16\u5199\u9996\u9875\u4ee3\u7801\u3002\u5728\u9e3f\u8499\u5f00\u53d1\u4e2d\uff0c\u4f7f\u7528XML\u6216JS\u6765\u7f16\u5199\u9875\u9762\u5e03\u5c40\u548c\u903b\u8f91\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528XML\u6765\u5b9a\u4e49\u9875\u9762\u7684\u7ed3\u6784\u548c\u6837\u5f0f\uff0c\u4f7f\u7528JS\u6765\u5904\u7406\u9875\u9762\u7684\u4ea4\u4e92\u548c\u52a8\u6001\u6548\u679c\u3002<\/p>\n<p><strong>2. \u9e3f\u8499\u5f00\u53d1\u4e2d\u9996\u9875\u4ee3\u7801\u5e94\u8be5\u5305\u542b\u54ea\u4e9b\u5185\u5bb9\uff1f<\/strong><br \/>\n\u5728\u9e3f\u8499\u5f00\u53d1\u4e2d\uff0c\u9996\u9875\u4ee3\u7801\u5e94\u8be5\u5305\u542b\u9875\u9762\u7684\u5e03\u5c40\u548c\u903b\u8f91\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528XML\u6765\u5b9a\u4e49\u9875\u9762\u7684\u7ed3\u6784\u548c\u6837\u5f0f\uff0c\u5305\u62ec\u6807\u9898\u3001\u5bfc\u822a\u680f\u3001\u5185\u5bb9\u533a\u57df\u7b49\uff1b\u4f7f\u7528JS\u6765\u5904\u7406\u9875\u9762\u7684\u4ea4\u4e92\u548c\u52a8\u6001\u6548\u679c\uff0c\u6bd4\u5982\u70b9\u51fb\u4e8b\u4ef6\u3001\u6570\u636e\u8bf7\u6c42\u7b49\u3002\u53e6\u5916\uff0c\u60a8\u8fd8\u53ef\u4ee5\u6dfb\u52a0\u4e00\u4e9b\u89c6\u89c9\u6548\u679c\u548c\u52a8\u753b\u6548\u679c\uff0c\u4ee5\u63d0\u5347\u7528\u6237\u4f53\u9a8c\u3002<\/p>\n<p><strong>3. \u5982\u4f55\u7f16\u5199\u9e3f\u8499\u5f00\u53d1\u4e2d\u9996\u9875\u7684\u4ee3\u7801\u4ee5\u5b9e\u73b0\u4e2a\u6027\u5316\u7684\u8bbe\u8ba1\uff1f<\/strong><br \/>\n\u8981\u5b9e\u73b0\u4e2a\u6027\u5316\u7684\u8bbe\u8ba1\uff0c\u60a8\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u6765\u7f16\u5199\u9e3f\u8499\u5f00\u53d1\u4e2d\u9996\u9875\u7684\u4ee3\u7801\u3002\u60a8\u53ef\u4ee5\u8c03\u6574\u9875\u9762\u7684\u5e03\u5c40\u548c\u6837\u5f0f\uff0c\u6539\u53d8\u6807\u9898\u3001\u5bfc\u822a\u680f\u7684\u989c\u8272\u548c\u5b57\u4f53\u7b49\u3002\u6b64\u5916\uff0c\u60a8\u8fd8\u53ef\u4ee5\u6dfb\u52a0\u81ea\u5b9a\u4e49\u7684\u52a8\u753b\u6548\u679c\u548c\u4ea4\u4e92\u6548\u679c\uff0c\u4ee5\u7a81\u51fa\u60a8\u7684\u4e2a\u6027\u5316\u8bbe\u8ba1\u3002\u9e3f\u8499\u5f00\u53d1\u4e2d\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u7ec4\u4ef6\u548cAPI\uff0c\u53ef\u4ee5\u8ba9\u60a8\u81ea\u7531\u53d1\u6325\u521b\u610f\uff0c\u6253\u9020\u72ec\u7279\u7684\u9996\u9875\u8bbe\u8ba1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u9e3f\u8499\u5f00\u53d1\u9996\u9875\u4ee3\u7801\u7684\u5199\u6cd5\u56e0\u9879\u76ee\u9700\u6c42\u800c\u5f02\uff0c\u4f46\u6838\u5fc3\u6b65\u9aa4\u5305\u62ec\u521b\u5efa\u5e03\u5c40\u6587\u4ef6\u3001\u914d\u7f6e\u9875\u9762\u8def\u7531\u3001\u7f16\u5199\u903b\u8f91\u4ee3\u7801\u3001\u8c03\u8bd5\u4e0e\u4f18\u5316\u3002\u5728\u672c [&hellip;]","protected":false},"author":3,"featured_media":797862,"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\/797859"}],"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=797859"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/797859\/revisions"}],"predecessor-version":[{"id":797863,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/797859\/revisions\/797863"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/797862"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=797859"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=797859"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=797859"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}