{"id":10006005,"date":"2022-07-25T11:59:38","date_gmt":"2022-07-25T03:59:38","guid":{"rendered":"https:\/\/ityet.com\/?p=10006005"},"modified":"2022-07-25T11:59:38","modified_gmt":"2022-07-25T03:59:38","slug":"%e5%a6%82%e4%bd%95%e8%8e%b7%e5%8f%96%e5%b9%bf%e5%91%8a%e6%9c%8d%e5%8a%a1%e6%b5%81%e9%87%8f%e5%8f%98%e7%8e%b0%e6%95%b0%e6%8d%ae%ef%bc%8c%e5%8a%a9%e5%8a%9b%e5%b9%bf%e5%91%8a%e6%95%88%e6%9e%9c%e5%88%86","status":"publish","type":"post","link":"https:\/\/itmax.cn\/?p=10006005","title":{"rendered":"\u5982\u4f55\u83b7\u53d6\u5e7f\u544a\u670d\u52a1\u6d41\u91cf\u53d8\u73b0\u6570\u636e\uff0c\u52a9\u529b\u5e7f\u544a\u6548\u679c\u5206\u6790\uff1f"},"content":{"rendered":"<p><a href=\"https:\/\/link.segmentfault.com\/?enc=F9urWQcaNgBsF5eplbEA7A%3D%3D.f9xP%2BrN3CgfkuAPNzrP9eJBzd76ub%2BAq5G5dfsH5RaPs0YAJqXbBs0tXFOtTKQZvjn9y%2F0ZDED6YJEbVt2tF%2Buidcgx%2FB2SG0dzmVBSfXuY%3D\" rel=\"nofollow\">\u5e7f\u544a\u670d\u52a1<\/a>\uff08Ads Kit\uff09\u63d0\u4f9b\u6d41\u91cf\u53d8\u73b0\u670d\u52a1\uff0c\u901a\u8fc7\u8be5\u670d\u52a1\u5f00\u53d1\u8005\u53ef\u4ee5\u5728\u81ea\u5df1\u7684App\u4e2d\u5411\u7528\u6237\u5c55\u793aBanner\u3001\u539f\u751f\u3001\u6fc0\u52b1\u5e7f\u544a\u7b49\u591a\u79cd\u5f62\u5f0f\u7684\u5e7f\u544a\u5185\u5bb9\u3002\u800c\u5bf9\u4e8e\u5e94\u7528\u4e2d\u5df2\u4e0a\u7ebf\u7684\u5e7f\u544a\u4f4d\u6765\u8bf4\uff0c\u56e0\u4e3a\u6d89\u53ca\u5230\u6536\u5165\uff0c\u6240\u4ee5\u65e5\u5e38\u7684\u6570\u636e\u76d1\u63a7\u663e\u5f97\u5c24\u4e3a\u91cd\u8981\u3002<\/p>\n<p>\u4e3a\u6b64<a href=\"https:\/\/link.segmentfault.com\/?enc=b6r2OEO7Uk58M12PoMPdhg%3D%3D.TUxO3JV4JWBLZDCPJVT%2FgNfb%2BkLws84AYu8Ln5wv46EvldtNqgP7oLfE5gIEv%2FYazTamMHkhYLQClQttxc3xJNeMsMyd6HbJGDzFmcSJYxg%3D\" rel=\"nofollow\">\u5e7f\u544a\u670d\u52a1<\/a>\u4e5f\u63d0\u4f9b\u4e86\u6d41\u91cf\u53d8\u73b0\u670d\u52a1\u62a5\u8868API\uff08Publisher Service Reporting API\uff09\uff0c\u901a\u8fc7\u63a5\u5165\u8be5API\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u83b7\u53d6\u5e94\u7528\u5185\u5e7f\u544a\u53d8\u73b0\u76f8\u5173\u6570\u636e\uff0c\u5305\u62ec\u5e7f\u544a\u8bf7\u6c42\u91cf\u3001\u8fd4\u56de\u91cf\u3001\u5c55\u793a\u7387\u3001\u70b9\u51fb\u7387\u7b49\uff0c\u8ba9\u5f00\u53d1\u8005\u53ef\u4ee5\u4f9d\u636e\u6570\u636e\u5bf9\u5e7f\u544a\u6548\u679c\u8fdb\u884c\u5206\u6790\uff0c\u4ece\u800c\u53ca\u65f6\u8c03\u6574\u6295\u653e\u7b56\u7565\u3002<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc1iHu\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u5f00\u53d1\u8005\u53ef\u6839\u636e\u8fd4\u56de\u7684\u6570\u636e\u5b9e\u73b0\u81ea\u5df1\u7684\u62a5\u8868\u5c55\u793a\u6548\u679c<\/p>\n<p><strong>\u90a3\u4e48\u5982\u4f55\u83b7\u53d6\u6d41\u91cf\u53d8\u73b0\u6570\u636e\u5462\uff1f<\/strong>\u4ee5\u4e0b\u662f\u5177\u4f53\u7684\u96c6\u6210\u6b65\u9aa4\u3002<\/p>\n<h3>\u4e00\uff0e\u83b7\u53d6\u5ba2\u6237\u7aefID\u548c\u5bc6\u94a5<\/h3>\n<p>\u5728\u83b7\u53d6\u53d8\u73b0\u6570\u636e\u524d\uff0c\u6211\u4eec\u8981\u5148\u6709OAuth 2.0 \u5ba2\u6237\u7aefID\u548c\u5bc6\u94a5\uff0c\u7528\u4e8e\u751f\u6210\u8c03\u7528\u62a5\u8868API\u65f6\u4f20\u5165\u7684access_token\uff0c\u9700\u8981\u6ce8\u610f\u7684\u662f\u6b64\u5904\u7684\u5ba2\u6237\u7aefID\u548c\u5bc6\u94a5\u5e76\u4e0d\u662f\u6307APPGallery Connect\u4e2d\u5e94\u7528\u7684ClientID\uff0c\u800c\u662f\u901a\u8fc7\u5728\u534e\u4e3a\u5f00\u53d1\u8005\u8054\u76df-&gt;\u51ed\u8bc1\u4e2d\u521b\u5efa\u7684\u670d\u52a1\u5668\u5e94\u7528\u7684\u5ba2\u6237\u7aefID\u3002<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc1iHv\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<ol>\n<li>\u6ce8\u518c\u6210\u4e3a\u5f00\u53d1\u8005\uff0c\u5b8c\u6210\u5b9e\u540d\u8ba4\u8bc1\u3002\u767b\u5f55<a href=\"https:\/\/link.segmentfault.com\/?enc=iRemEC%2FeF4Epm%2BJQ0vGVdg%3D%3D.gX4RtU7DRx3z8OJE1pLmqFY7IRXYh2XUrfEypGqnHRvfvff91HjORroUVpN7q4JfPHlqsMDrwpf8JGxLKGXsnQ%3D%3D\" rel=\"nofollow\">\u534e\u4e3a\u5f00\u53d1\u8005\u8054\u76df<\/a>\uff0c\u70b9\u51fb\u53f3\u4e0a\u89d2\u201c\u7ba1\u7406\u4e2d\u5fc3\u201d\u8fdb\u5165\u4e3b\u9875\u9762\u3002<\/li>\n<\/ol>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc1iHw\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<ol start=\"2\">\n<li>\u8fdb\u5165\u201c\u51ed\u8bc1\u201d\u9875\u9762\uff0c\u521b\u5efa\u9879\u76ee\uff0c\u5982\u679c\u5df2\u6709\u9879\u76ee\u8bf7\u8df3\u8fc7\u3010\u6b65\u9aa4a\u3011\u3002<\/li>\n<\/ol>\n<p>a\uff0e    \u9009\u62e9\u201c\u51ed\u8bc1\u201d\uff0c\u6839\u636e\u4e0b\u56fe\u6807\u8bb0\u987a\u5e8f\u586b\u5165\u201c\u9879\u76ee\u540d\u79f0\u201d\u548c\u201c\u9879\u76ee\u522b\u540d\u201d\u65b0\u5efa\u9879\u76ee\u3002<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc1iHx\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>b. \u9009\u4e2d\u521b\u5efa\u7684\u9879\u76ee\uff0c\u70b9\u51fb\u201c\u786e\u5b9a\u201d\u3002<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc1iHy\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<ol start=\"3\">\n<li>\u9009\u62e9\u201cOAuth 2.0 \u5ba2\u6237\u7aef ID\u201d\u521b\u5efa\u5ba2\u6237\u7aefID\u3002<\/li>\n<\/ol>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc1iHz\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u8bf4\u660e\uff1a<\/p>\n<p>\u5982\u679c\u9879\u76ee\u4e0b\u5df2\u7ecf\u5b58\u5728\u201cOAuth 2.0 \u5ba2\u6237\u7aef ID\u201d\u51ed\u8bc1\uff0c\u9700\u8981\u68c0\u67e5\u4ea7\u54c1\u7c7b\u578b\u662f\u5426\u4e3a\u670d\u52a1\u5668\u5e94\u7528\uff0c\u5982\u679c\u662f\u670d\u52a1\u5668\u5e94\u7528\u53ef\u4ee5\u8df3\u8fc7\u3010\u6b65\u9aa44\u3011\u3002<\/p>\n<p>\u68c0\u67e5\u65b9\u5f0f\uff1a\u70b9\u51fb\u64cd\u4f5c\u4e00\u680f\u4e0b\u7684\u201c\u7f16\u8f91\u201d\u6309\u94ae\uff0c\u67e5\u770b\u201c\u4ea7\u54c1\u7c7b\u578b\u201d\u3002<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc1iHA\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc1iHB\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u5982\u679c\u4e0d\u662f\u201c\u670d\u52a1\u5668\u5e94\u7528\u201d\u7c7b\u578b\uff0c\u9700\u8981\u91cd\u65b0\u521b\u5efa\u201cOAuth 2.0 \u5ba2\u6237\u7aef ID\u201d\uff1a<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc1iHC\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<ol start=\"4\">\n<li>\u9009\u62e9\u201c\u670d\u52a1\u5668\u5e94\u7528\u201d\uff0c\u8f93\u5165\u201c\u4ea7\u54c1\u540d\u79f0\u201d\uff0c\u9009\u62e9\u201c\u5e94\u7528\u7c7b\u578b\u201d\u548c\u201c\u9ed8\u8ba4\u8bed\u8a00\u201d\uff0c\u70b9\u51fb\u201c\u521b\u5efa\u201d\uff1b\u63d0\u793a\u201c\u5ba2\u6237\u7aefID\u201d\u548c\u201c\u5bc6\u94a5\u201d\uff0c\u70b9\u51fb\u201c\u786e\u5b9a\u201d\u3002<\/li>\n<\/ol>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc1iHD\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<ol start=\"5\">\n<li>\u8fdb\u5165\u201c\u6211\u7684API\u201d\u9875\u9762\uff0c\u786e\u8ba4\u9009\u4e2d\u7684\u9879\u76ee\uff0c\u70b9\u51fb\u201c\u7533\u8bf7\u65b0\u7684HMS API\u670d\u52a1\u201d\u3002<\/li>\n<\/ol>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc1iHE\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<ol start=\"6\">\n<li>\u4e0b\u62c9\u627e\u5230\u201cApp Services\u201d\uff0c\u70b9\u51fb\u201c\u6d41\u91cf\u53d8\u73b0\u670d\u52a1\u62a5\u8868API\u201d\u3002<\/li>\n<\/ol>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc1iHF\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<ol start=\"7\">\n<li>\u70b9\u51fb\u201c\u542f\u7528\u201d\uff0c\u5f00\u542f\u6d41\u91cf\u53d8\u73b0\u670d\u52a1\u62a5\u8868API\uff0c\u4e4b\u540e\u5c31\u53ef\u4ee5\u8c03\u7528\u6d41\u91cf\u53d8\u73b0\u62a5\u8868API\u4e86<\/li>\n<\/ol>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc1iHG\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u5728\u201c\u505c\u7528\u201d\u540e\uff0c\u518d\u6b21\u201c\u542f\u7528\u201d\u65f6\uff0c\u7531\u4e8e\u9875\u9762\u7f13\u5b58\u7b49\u539f\u56e0\uff0c\u751f\u6548\u65f6\u95f4\u662f\u975e\u5b9e\u65f6\u751f\u6548\u7684\uff0c\u9700\u8981\u7b49\u5f85\u5927\u69826~10\u5206\u949f\u3002\u5982\u679c10\u5206\u949f\u540e\u6ca1\u6709\u751f\u6548\uff0c\u8bf7\u91cd\u65b0\u8fdb\u884c\u5c1d\u8bd5\u3002<\/p>\n<h3>\u4e8c\uff0e\u8c03\u7528\u6d41\u91cf\u53d8\u73b0\u62a5\u8868API<\/h3>\n<ol>\n<li>\u5728\u8c03\u7528\u6d41\u91cf\u53d8\u73b0\u62a5\u8868API\u524d\u9700\u8981\u5148\u83b7\u53d6access_token\u9274\u6743\u4fe1\u606f\u3002<\/li>\n<\/ol>\n<p>\u8c03\u7528\u63a5\u53e3\uff1a<\/p>\n<p>POST<a href=\"https:\/\/link.segmentfault.com\/?enc=ex6JYnXqg99cBYMsHxw15g%3D%3D.CM65TM6%2FwXK3O%2BSCY8DV8tj%2B%2FjqgqHxSRosAH%2BwZEuZippuqRWWHPB2pnHY9f8%2FDMwRhxy%2FYbdhXGRQltzpd%2Bw%3D%3D\" rel=\"nofollow\">https:\/\/oauth-login.cloud.hua&#8230;<\/a><\/p>\n<p>\u8bf7\u6c42\u793a\u4f8b\uff1a<\/p>\n<pre><code>POST \/oauth2\/v3\/token HTTP\/1.1\nHost: oauth-login.cloud.huawei.com\nContent-Type: application\/x-www-form-urlencoded\n\ngrant_type=client_credentials&amp;\n        client_id=&lt;\u5ba2\u6237\u7aefID &gt;&amp;\n        client_secret=&lt;\u5ba2\u6237\u7aef\u5bc6\u94a5&gt;<\/code><\/pre>\n<p>\u8bf7\u6c42\u793a\u4f8b\u622a\u56fe\uff1a<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc1iHH\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u5ba2\u6237\u7aefID\u548c\u5bc6\u94a5\uff0c\u662f\u5728\u5f00\u53d1\u8005\u8054\u76df\u754c\u9762\u83b7\u53d6\u7684\u670d\u52a1\u5668\u5e94\u7528\u7684\u5ba2\u6237\u7aefID\u548c\u5bc6\u94a5\uff0c\u800c\u4e0d\u662f\u5728APPGallery Connect\u4e2d\u521b\u5efa\u7684\u79fb\u52a8\u5e94\u7528\u7684\u5ba2\u6237\u7aefID\u548c\u5bc6\u94a5\u3002<\/p>\n<ol start=\"2\">\n<li>\u62ff\u5230access_token\u9274\u6743\u4fe1\u606f\u540e\uff0c\u8c03\u7528\u62a5\u8868API\u3002<\/li>\n<\/ol>\n<p>\u8c03\u7528\u63a5\u53e3\uff1a<\/p>\n<p>POST  <a href=\"https:\/\/link.segmentfault.com\/?enc=w%2FGbN%2BRYtJy6%2FRh97XBTYA%3D%3D.gKe1xu6vHNW3BrRNm8lmJogfZeb92VGveeGrwgRf9brpO96jRKpD0tflWrlTeuVuL%2F57t0gr75boORXjeiWVQd1KImGxmtAMsGMdKbUkTA4%3D\" rel=\"nofollow\">https:\/\/ads.cloud.huawei.com\/&#8230;<\/a><\/p>\n<p>\u4fc4\u7f57\u65af\u7ad9\u70b9\u9700\u8981\u8c03\u7528\u4ee5\u4e0b\u63a5\u53e3\uff1a<\/p>\n<p>POST <a href=\"https:\/\/link.segmentfault.com\/?enc=%2FjmxqOwZLt1NLp97JtSyzQ%3D%3D.4cK8o9sWUOp4hyv4CKCt%2FIcHDptyuNrYrfX7IgC%2BXQ20S3m4s8bMCcokIn2nOzffY66BRcOy9l1yDEGwzWVxnSEnliUTCgHZUKvYJGz7TBI%3D\" rel=\"nofollow\">https:\/\/ads-drru.cloud.huawei&#8230;<\/a><br \/>\u8bf7\u6c42\u793a\u4f8b\uff1a<\/p>\n<pre><code>POST \/openapi\/monetization\/reports\/v1\/publisher HTTP\/1.1\nContent-Type: application\/json\nAuthorization: Bearer ***\n        Accept: application\/json\nContent-Length: 233\n\n{\n    &quot;start_date&quot;: &quot;2022-06-01&quot;,\n    &quot;end_date&quot;: &quot;2022-06-28&quot;,\n    &quot;filtering&quot;: {\n        &quot;currency&quot;: &quot;CNY&quot;\n    },\n    &quot;time_granularity&quot;: &quot;STAT_TIME_GRANULARITY_DAILY&quot;,\n    &quot;page&quot;: 1,\n    &quot;page_size&quot;: 10\n}<\/code><\/pre>\n<p>\u8bf7\u6c42\u793a\u4f8b\u622a\u56fe\uff1a<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc1iHI\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u4ece\u622a\u56fe\u4e2d\u53ef\u4ee5\u770b\u5230\uff0c\u6570\u636e\u5df2\u6210\u529f\u8fd4\u56de\u3002\u5177\u4f53\u8bf7\u6c42\u53c2\u6570\uff0c\u548c\u54cd\u5e94\u53c2\u6570\u53ef\u4ee5\u53c2\u8003<a href=\"https:\/\/link.segmentfault.com\/?enc=Igk8YYS7Wjz5LBm7g4agzA%3D%3D.wgZ5LlysewOtLPBoWnXYOKHQbYmK2l2k3cGOn%2FH7nAUSw%2Bl1mux8wk4snM2vu9iU0ThoTTK67%2F35zNHfEGoqHDKNrFbA5ToQbmujeiBqHa0XpXNnZTEDnND17H0zi%2FG93DuDrpR9gVNs09zgP08jBU7v21E0i4LntVnMGiNMvjePSb3%2FOEuwB4LTPkL9jR5xV2jXDMpwLl1UOm6cP67nP%2FJAzh7aoKGBaf32Flw5tOk%3D\" rel=\"nofollow\">\u6587\u6863\u94fe\u63a5 <\/a><\/p>\n<p>\u8c03\u7528API\u83b7\u53d6\u53d8\u73b0\u62a5\u8868\u6570\u636e\u540e\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u53bb\u5b9e\u73b0\u6570\u636e\u7684\u5c55\u73b0\u5f62\u5f0f\u3002<\/p>\n<h3>\u4e09\uff0e\u63a5\u5165\u6d41\u91cf\u53d8\u73b0\u62a5\u8868\u65f6\u7684\u5e38\u89c1\u95ee\u9898<\/h3>\n<p><strong>\u8c03\u7528\u6d41\u91cf\u53d8\u73b0\u670d\u52a1\u62a5\u8868API\u65f6\u8fd4\u56deaccess forbidden\uff1f<\/strong><\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc1iHJ\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u539f\u56e0\u5206\u6790\uff1a<\/p>\n<p>1\uff0e    \u5728\u5f00\u53d1\u8005\u8054\u76df\u754c\u9762\u201cAPI\u201d\u680f\u76ee\u4e2d\u6ca1\u6709\u5f00\u542f\u5bf9\u5e94\u9879\u76ee\u7684\u6d41\u91cf\u53d8\u73b0\u62a5\u8868API\u5f00\u5173\u3002<\/p>\n<p>2\uff0e    \u6d41\u91cf\u62a5\u8868API\u5f00\u5173\u201c\u542f\u7528\u201d\u540e\uff0c\u8fd8\u6ca1\u6709\u7b49\u5230\u6743\u9650\u751f\u6548\uff0c\u5c31\u8c03\u7528\u62a5\u8868API\u63a5\u53e3\u3002<\/p>\n<p>3\uff0e    \u83b7\u53d6access_token\u9274\u6743\u4fe1\u606f\u65f6\uff0c\u4f20\u5165\u7684\u5ba2\u6237\u7aefID\u548c\u5bc6\u94a5\uff0c\u4e0d\u662f\u5f00\u53d1\u8005\u8054\u76df\u754c\u9762\u201c\u51ed\u8bc1\u201d\u4e2d\u670d\u52a1\u5668\u5e94\u7528\u7684ID\u548c\u5bc6\u94a5\u3002<\/p>\n<p><strong>\u89e3\u51b3\u65b9\u6cd5\uff1a<\/strong><\/p>\n<ol>\n<li>\n<p>\u5f00\u542f\u6d41\u91cf\u62a5\u8868API\u5f00\u5173\uff0c\u5728\u5f00\u53d1\u8005\u8054\u76df\u754c\u9762-&gt;\u6211\u7684API-&gt;\u9009\u62e9\u5bf9\u5e94\u7684\u9879\u76ee-&gt;\u70b9\u51fb\u201c\u7533\u8bf7\u65b0\u7684HMS API\u670d\u52a1\u201d\uff0c\u627e\u5230\u201c\u6d41\u91cf\u53d8\u73b0\u670d\u52a1\u62a5\u8868API\u201d \u6743\u9650\uff0c\u70b9\u51fb\u201c\u542f\u7528\u201d\u3002<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc1iHE\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc1iHK\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc1iHL\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<\/li>\n<li>\u6d41\u91cf\u62a5\u8868API\u5f00\u5173\u201c\u505c\u7528\u201d\u540e\uff0c\u518d\u6b21\u201c\u542f\u7528\u201d\u65f6\uff0c\u5e76\u975e\u5b9e\u65f6\u751f\u6548\uff0c\u9700\u8981\u7b49\u5f85\u5927\u69826~10\u5206\u949f\u3002<\/li>\n<li>\n<p>\u68c0\u67e5\u83b7\u53d6access_token\u9274\u6743\u4fe1\u606f\u65f6\uff0c\u4f20\u5165\u7684\u5ba2\u6237\u7aefID\u662f\u5426\u662f\u670d\u52a1\u5668\u5e94\u7528\u7684\u3002\u5728\u5f00\u53d1\u8005\u8054\u76df\u754c\u9762-&gt;\u51ed\u8bc1-&gt;\u627e\u5230\u5bf9\u5e94\u7684\u9879\u76ee-&gt;\u70b9\u51fb\u9879\u76ee\u4e0b\u5e94\u7528\u7684\u7f16\u8f91\u6309\u94ae\uff0c\u5373\u53ef\u5728\u4ea7\u54c1\u7c7b\u578b\u4e00\u884c\u770b\u5230\u5e94\u7528\u7c7b\u578b\u3002\u5982\u679c\u4e0d\u662f\u670d\u52a1\u5668\u5e94\u7528\uff0c\u8bf7\u66f4\u6362\u670d\u52a1\u5668\u5e94\u7528\u7684\u5ba2\u6237\u7aefID\u548c\u5bc6\u94a5\u540e\u91cd\u8bd5\u3002<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc1iHM\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc1iHB\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<\/li>\n<\/ol>\n<p><strong>\u4e86\u89e3\u66f4\u591a\u8be6\u60c5&gt;&gt;<\/strong><\/p>\n<p>\u8bbf\u95ee<a href=\"https:\/\/link.segmentfault.com\/?enc=ZvjLSt2Z8ANQHPz5YZ3gug%3D%3D.wPnvGnmb9e87tg3sFUUROawYK6Mur0fdnJdYnkHWnxAFStc2ZBhhv8X1qw05AMBQGGQkciF%2Fe5P0IbkdVj%2BcMaViEhtrRFURhQjRE%2BzrKS8%3D\" rel=\"nofollow\">\u5e7f\u544a\u670d\u52a1\u5b98\u7f51<\/a><\/p>\n<p>\u8bbf\u95ee<a href=\"https:\/\/link.segmentfault.com\/?enc=IAvkE%2BdxTfYZT5GZUiyr%2Bw%3D%3D.5SZcT7P%2BhddxRI%2BjAqMV5SdyoDxRRNld6ohMWLHE3PUtEQDn9D7YGYhysWsyqamgV58%2BF0DHo46hVzZGeXtLdA%3D%3D\" rel=\"nofollow\">\u534e\u4e3a\u5f00\u53d1\u8005\u8054\u76df\u5b98\u7f51<\/a>  <br \/>\u83b7\u53d6<a href=\"https:\/\/link.segmentfault.com\/?enc=cXIrAnpeFeQ61wRckBNikA%3D%3D.6TDlU4Ig2Q6YuQeK7%2BFLoHJme2JcVKkrQNsuG4FKzRHO%2BTW8k65SGR%2BTci506jlz%2FzAmvKCqcW%2FDAZq4HNi98N4oNZT23OjJH3XVHAvHUHI%3D\" rel=\"nofollow\">\u5f00\u53d1\u6307\u5bfc\u6587\u6863<\/a>  <br \/>\u534e\u4e3a\u79fb\u52a8\u670d\u52a1\u5f00\u6e90\u4ed3\u5e93\u5730\u5740\uff1a<a href=\"https:\/\/link.segmentfault.com\/?enc=BEWs7VCEpOh13KJ4l4B9Ew%3D%3D.Cwq%2BWoyVfu69SX2FexFov2bVlhDk6QfFhGmd1wC6v%2BI%3D\" rel=\"nofollow\">GitHub<\/a>\u3001<a href=\"https:\/\/link.segmentfault.com\/?enc=%2FE7u07iAIhHU%2BNaL41srNA%3D%3D.tO4m9D0Vm%2FbYFVllF6tp%2FhKOi%2BJcz0shT4BnM638%2B6A%3D\" rel=\"nofollow\">Gitee<\/a><\/p>\n<p><strong>\u5173\u6ce8\u6211\u4eec\uff0c\u7b2c\u4e00\u65f6\u95f4\u4e86\u89e3 HMS Core \u6700\u65b0\u6280\u672f\u8d44\u8baf~<\/strong><\/p>\n<p><a href=\"https:\/\/segmentfault.com\/a\/1190000042216893\">https:\/\/segmentfault.com\/a\/1190000042216893<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5e7f\u544a\u670d\u52a1\uff08Ads Kit\uff09\u63d0\u4f9b\u6d41\u91cf\u53d8\u73b0\u670d\u52a1\uff0c\u901a\u8fc7\u8be5\u670d\u52a1\u5f00\u53d1\u8005\u53ef\u4ee5\u5728\u81ea\u5df1\u7684App\u4e2d\u5411\u7528\u6237\u5c55\u793aBanner\u3001\u539f\u751f\u3001 [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[],"tags":[],"class_list":["post-10006005","post","type-post","status-publish","format-standard","hentry"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10006005","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10006005"}],"version-history":[{"count":0,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10006005\/revisions"}],"wp:attachment":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10006005"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10006005"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10006005"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}