{"id":194008,"date":"2020-10-31T05:07:17","date_gmt":"2020-10-30T21:07:17","guid":{"rendered":"http:\/\/4563.org\/?p=194008"},"modified":"2020-10-31T05:07:17","modified_gmt":"2020-10-30T21:07:17","slug":"api-%e8%ae%be%e8%ae%a1%e6%97%b6%ef%bc%8c%e4%bd%bf%e7%94%a8%e7%94%a8%e6%88%b7-id%ef%bc%88unique%ef%bc%89%e8%bf%98%e6%98%af%e7%94%a8%e4%b8%bb%e9%94%ae_id-%e4%bd%9c%e4%b8%ba%e6%9f%a5%e8%af%a2%e5%8f%82","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=194008","title":{"rendered":"api \u8bbe\u8ba1\u65f6\uff0c\u4f7f\u7528&#8221;\u7528\u6237 id\uff08unique\uff09&#8221;\u8fd8\u662f\u7528\u4e3b\u952e_id \u4f5c\u4e3a\u67e5\u8be2\u53c2\u6570\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  api \u8bbe\u8ba1\u65f6\uff0c\u4f7f\u7528&#8221;\u7528\u6237 id\uff08unique\uff09&#8221;\u8fd8\u662f\u7528\u4e3b\u952e_id \u4f5c\u4e3a\u67e5\u8be2\u53c2\u6570\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wusheng0 <\/span>  <span><i><\/i> 3<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u4e0d\u662f\u4e13\u804c\u540e\u7aef\uff0c\u6700\u8fd1\u5728\u5199 api \u65f6\u5f88\u7ea0\u7ed3\u8fd9\u4e2a\u3002<\/p>\n<p>\u6b64\u5916\uff0c\u8fd4\u56de json \u65f6\uff0c\u5e94\u8be5\u76f4\u63a5\u8fd4\u56de<code>{ \u5168\u90e8\u5b57\u6bb5 }<\/code>,\u8fd8\u662f<\/p>\n<pre><code>{   info:{     name:{},     email:{}   },   posts:{     articles:{},     comments:{}   } }  <\/code><\/pre>\n<p>\u6bd4\u8f83\u597d\uff1f<\/p>\n<p>\u5411\u5404\u4f4d\u524d\u8f88\u4eec\u8bf7\u6559\u4e00\u4e0b\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>5<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4197895\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : seth19960929 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7b80\u5355\u5c31\u7b2c\u4e00\u79cd\u5168\u90e8\u5b57\u6bb5\u5c55\u5f00<br \/>\u5b57\u6bb5\u591a\u5c31\u5d4c\u5957\uff0c\u6ca1\u4ec0\u4e48\u597d\u60f3\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4197896\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : crclz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7b2c\u4e00\u4e2a\u95ee\u9898\u6ca1\u770b\u61c2\u3002<\/p>\n<p>\u7b2c\u4e8c\u4e2a\u95ee\u9898\uff0c\u5f53\u7136\u662f\u5d4c\u5957\u597d\u3002\u4f60\u628a\u5d4c\u5957\u7684\u7ed9\u6253\u5e73\u540e\uff0c\u4e0d\u5c31\u71b5\u589e\u4e86\u5417\uff1f\uff08\u4eba\u4e0d\u4f1a\u5e73\u767d\u65e0\u6545\u53bb\u628a\u676f\u5b50\u6454\u788e\u5427\uff09<br \/>\u5982\u679c\u662f\u5d4c\u5957\u7684\uff0c\u90a3\u4e48\u6709\u5229\u4e8e\u524d\u7aef\u7ec4\u4ef6\u7684\u590d\u7528\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4197897\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : wusheng0 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @seth19960929 <\/p>\n<p>@crclz <\/p>\n<p>\u8c22\u8c22\u56de\u590d\u3002<br \/>\u7b2c\u4e00\u4e2a\u95ee\u9898\u610f\u601d\u662f\uff0c\u4e3b\u952e\u548c \u552f\u4e00\u7684\u7528\u6237\u540d\uff0c\u5b9e\u8df5\u4e2d\u54ea\u4e2a\u4f5c\u4e3a\u67e5\u8be2\u53c2\u6570\u6bd4\u8f83\u597d\u3002<br \/>users\/:id\uff0c\u8fd8\u662f users\/:name \u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4197898\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xuanbg <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u67e5\u8be2\u53c2\u6570\u770b\u9700\u6c42\u5440\u3002<\/p>\n<p>\u5982\u679c\u76f4\u63a5\u67e5\u7528\u6237\u4fe1\u606f\u7684\uff0c\u4f60\u975e\u8981\u7528 id \u4eba\u5bb6\u5c31\u6ca1\u6cd5\u67e5\u4e86\u5440\u3002\u4f7f\u7528\u8005\u53ea\u77e5\u9053\u59d3\u540d\u624b\u673a\u53f7\u4ec0\u4e48\u7684\uff0c\u54ea\u91cc\u8bb0\u5f97\u4f60 id \u662f\u591a\u5c11\u5462\u3002<\/p>\n<p>\u95f4\u63a5\u67e5\u8be2\u7684\u8bdd\uff0c\u8b6c\u5982\u67e5 xx \u4eba\u7684\u8ba2\u5355\uff0c\u53ef\u4ee5\u5148\u6839\u636e\u59d3\u540d\u67e5\u51fa id\uff0c\u7136\u540e\u7528 id \u53bb\u67e5\u8ba2\u5355\u3002\u597d\u5904\u662f\u4e0d\u9700\u8981\u8054\u8868\u67e5\u8be2\uff0c\u53ef\u4ee5\u63d0\u9ad8\u67e5\u8be2\u6548\u7387\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4197899\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : wusheng0 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @xuanbg <br \/>\u591a\u8c22\u89e3\u60d1                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>api \u8bbe\u8ba1\u65f6\uff0c\u4f7f\u7528&#8221;&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/194008"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=194008"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/194008\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=194008"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=194008"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=194008"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}