{"id":10020466,"date":"2024-12-12T22:20:06","date_gmt":"2024-12-12T14:20:06","guid":{"rendered":"https:\/\/itmax.cn\/?p=10020466"},"modified":"2024-12-12T22:20:06","modified_gmt":"2024-12-12T14:20:06","slug":"%e5%85%b3%e4%ba%8e%e5%b0%8f%e7%ba%a2%e4%b9%a6%e5%8d%a1%e7%89%87%e8%b7%b3%e8%bd%ac%e5%be%ae%e4%bf%a1%e7%9a%84%e6%8a%80%e6%9c%af%e7%a0%94%e7%a9%b6%e6%8a%a5%e5%91%8a","status":"publish","type":"post","link":"https:\/\/itmax.cn\/?p=10020466","title":{"rendered":"\u5173\u4e8e\u5c0f\u7ea2\u4e66\u5361\u7247\u8df3\u8f6c\u5fae\u4fe1\u7684\u6280\u672f\u7814\u7a76\u62a5\u544a"},"content":{"rendered":"<h2>\u6458\u8981<\/h2>\n<p>\u4ec0\u4e48\u662f\u5c0f\u7ea2\u4e66\u5361\u7247\uff1f\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u6709\u4e00\u4e2a\u5361\u7247\uff0c\u6709<code>\u5c01\u9762\u56fe<\/code>\u3001<code>\u6709\u6807\u9898<\/code>\uff0c\u8fd9\u5f20\u5361\u7247<code>\u53ef\u4ee5\u70b9\u51fb<\/code>\uff0c\u70b9\u51fb\u8fdb\u53bb\u53ef\u4ee5<code>\u76f4\u63a5\u8df3\u8f6c\u5230\u5fae\u4fe1<\/code>\u5e76\u4e14\u81ea\u52a8\u6253\u5f00\u4e00\u4e2a\u9875\u9762\uff0c\u8fd9\u4e2a\u9875\u9762<code>\u5c55\u793a\u4e00\u4e2a\u4e8c\u7ef4\u7801<\/code>\uff0c\u8fd9\u4e2a\u4e8c\u7ef4\u7801<code>\u53ef\u4ee5\u957f\u6309\u52a0\u5fae\u4fe1<\/code>\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"316\" height=\"654\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVdfty2\" alt=\"image.png\" title=\"image.png\"><\/p>\n<p>\u8fd9\u8fb9\u662f\u4e00\u4e2a\u5c0f\u7ea2\u4e66\u5361\u7247\u7684\u57fa\u672c\u7684\u6837\u5b50\u3002<\/p>\n<p>\u6f14\u793a\u89c6\u9891\uff1a<a href=\"https:\/\/link.segmentfault.com\/?enc=LN1r%2BRNuYukZauu370CNhw%3D%3D.fux2bauurO%2B7g3QqPggJv0WUkZ4NsAZccCxC1Bc%2BmMMSzCcgivsMv5nCGhc89oWSTkqnwQlzdrD83j4tdM92VQ%3D%3D\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">https:\/\/viusosibp88.feishu.cn\/docx\/LYH5diVAxoMOI4x1IjYcjOxFn1g<\/a><\/p>\n<p>\u800c\u8fd9\u79cd\u5361\u7247\uff0c\u5728\u5c0f\u7ea2\u4e66\u5e76\u4e0d\u80fd\u968f\u610f\u5236\u4f5c\uff0c\u70b9\u8fdb\u53bb\u4e5f\u662f\u6ca1\u6709\u6240\u8c13\u7684\u3010\u53f3\u4e0a\u89d2\u5206\u4eab\u8f6c\u53d1\u3011\u4e4b\u7c7b\u7684\u3002\u5b83\u4e0d\u50cf\u5fae\u4fe1\u94fe\u63a5\u4e00\u6837\u53ef\u4ee5\u8f6c\u53d1\u53c8\u53d8\u6210\u5361\u7247\uff0c\u5728\u5c0f\u7ea2\u4e66APP\u5185\uff0c\u975e\u5b98\u65b9\u7684\u9875\u9762\uff0c\u90fd\u662f\u6ca1\u6709\u8f6c\u53d1\u6210\u5361\u7247\u7684\u529f\u80fd\u3002<\/p>\n<p>\u4e3a\u4ec0\u4e48\u975e\u5f97\u5361\u7247\uff1f\u8fd8\u4e0d\u662f\u56e0\u4e3a\u5c0f\u7ea2\u4e66\u5bf9\u4e8e\u4e2a\u4eba\u53f7\u5f15\u6d41\u7684\u7ba1\u63a7\u4e25\u683c\uff0c\u52a8\u4e0d\u52a8\u5c31\u8fdd\u89c4\u5c01\u53f7\uff0c\u56e0\u6b64\u4f7f\u7528\u5361\u7247\u53ef\u4ee5\u4e00\u5b9a\u7a0b\u5ea6\u89c4\u907f\u5b98\u65b9\u7684\u68c0\u6d4b\uff0c\u56e0\u4e3a\u5361\u7247\u5c31\u662f\u901a\u8fc7\u5b98\u65b9\u63a5\u53e3\u53d1\u9001\u51fa\u53bb\u7684\uff0c\u4e0d\u4f1a\u88ab\u5224\u4e3a\u5f15\u6d41\u8fdd\u89c4\u3002<\/p>\n<h2>\u90a3\u4e48\u5e02\u9762\u4e0a\u8fd9\u7c7b\u5361\u7247\u5982\u4f55\u5236\u4f5c\uff1f<\/h2>\n<p>\u7ecf\u8fc7\u7814\u7a76\u5f97\u77e5\uff0c\u8fd9\u7c7b\u5361\u7247\u7684\u5236\u4f5c\u65b9\u6cd5\u67092\u79cd\uff1a<\/p>\n<ol>\n<li>\u5c0f\u7ea2\u4e66\u4e13\u4e1a\u53f7\u79c1\u4fe1\u63a5\u53e3\uff1b<\/li>\n<li>\u5b89\u5353<code>hook<\/code>\u6280\u672f<\/li>\n<\/ol>\n<p><strong>\u4e13\u4e1a\u53f7\u79c1\u4fe1\u63a5\u53e3\uff1a<\/strong><\/p>\n<p>\u4e13\u4e1a\u53f7\u79c1\u4fe1\u63a5\u53e3\u53c8\u67092\u79cd\uff0c\u4e00\u79cd\u662f<code>\u79c1\u4fe1\u56de\u590d<\/code>\uff0c\u4e00\u79cd\u662f<code>\u79c1\u4fe1\u901a<\/code><\/p>\n<p>\u79c1\u4fe1\u56de\u590d\u63a5\u53e3\uff1a<code>message\/reply<\/code><br \/>\u79c1\u4fe1\u901a\u63a5\u53e3\uff1a<code>im\/multiCustomerService<\/code><\/p>\n<h2>\u79c1\u4fe1\u56de\u590d\u63a5\u53e3<\/h2>\n<p>\u901a\u8fc7\u79c1\u4fe1\u56de\u590d\u63a5\u53e3\uff0c\u53ef\u4ee5\u67e5\u770b\u5c0f\u7ea2\u4e66\u7684\u804a\u5929\u8bb0\u5f55\uff0c\u53d1\u9001\u7b14\u8bb0\u5361\u7247\u3001\u53d1\u9001\u5546\u54c1\u5361\u7247\u3002<\/p>\n<p><img decoding=\"async\" width=\"723\" height=\"471\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVdftz7\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u56e0\u6b64\u53ef\u4ee5\u901a\u8fc7\u6293\u5305\u7684\u65b9\u6cd5\uff0c\u6293\u53d6\u53d1\u9001\u5361\u7247\u7684\u53c2\u6570\uff0c\u5bf9\u53c2\u6570\u8fdb\u884c\u7be1\u6539\uff0c\u5373\u53ef\u5b9e\u73b0\u5361\u7247\u7684\u5236\u4f5c\u3002<\/p>\n<p>\u901a\u8fc7\u7be1\u6539\u5361\u7247\u6d88\u606f\u4f53\uff0c\u5c06\u6b63\u5e38\u8df3\u8f6c\u7684\u94fe\u63a5\u66ff\u6362\u4e3a\u8df3\u8f6c\u5230\u5fae\u4fe1\u7684\u4e2d\u95f4\u9875\uff0c\u4f8b\u5982<code>URLScheme<\/code>\u8df3\u8f6c\u5230\u5fae\u4fe1\u5e76\u6253\u5f00\u5c0f\u7a0b\u5e8f\u7684\u94fe\u63a5\uff0c\u8fd9\u4e00\u6b65\u9700\u8981\u501f\u52a9\u5c0f\u7ea2\u4e66\u7684\u4e2d\u8f6c\u9875\u8df3\u8f6c\u5230\u4f60\u81ea\u5df1\u7684\u843d\u5730\u9875\uff0c\u4f60\u81ea\u5df1\u7684\u843d\u5730\u9875\u5b9e\u5219\u5c31\u662f\u4e00\u4e2ajs\u91cd\u5b9a\u5411\u8c03\u7528\u4e86<code>URLScheme<\/code>\u5b9e\u73b0\u7684\u6253\u5f00\u5fae\u4fe1\u6307\u5b9a\u9875\u9762\u3002<\/p>\n<pre><code>URLScheme\u683c\u5f0f\uff1aweixin:\/\/dl\/business\/?t=xxxxxxx<\/code><\/pre>\n<p>\u4f8b\u5982\u53d1\u9001\u4e00\u4e2a\u7b14\u8bb0\u5361\u7247\uff1a<\/p>\n<p><img decoding=\"async\" width=\"571\" height=\"342\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVdftAk\" alt=\"image.png\" title=\"image.png\" loading=\"lazy\"><\/p>\n<p>\u6709\u4e00\u4e2a<code>send<\/code>\u63a5\u53e3\uff0c\u8fd9\u63a5\u53e3POST\u4e00\u4e2aJSON\u53c2\u6570\uff1a<\/p>\n<pre><code>{\n  &quot;receiver_id&quot;: &quot;\u63a5\u6536\u8005\u7684id&quot;,\n  &quot;content_type&quot;: &quot;NOTE&quot;, \/\/ \u7c7b\u578b\n  &quot;content&quot;: &quot;\u7b14\u8bb0id&quot;\n}<\/code><\/pre>\n<p>\u5373\u53ef\u8bf7\u6c42\u6210\u529f\u5e76\u5b9e\u73b0\u53d1\u5361\uff0c\u53ea\u4e0d\u8fc7\u8fd9\u4e2a\u662f\u53d1\u9001\u7b14\u8bb0\u5361\u7247\uff0c\u5982\u9700\u53d1\u9001\u5fae\u4fe1\u8df3\u8f6c\u5361\u7247\uff0c\u8fd8\u9700\u5c06<code>content_type<\/code>\u6539\u4e3a<code>CARD<\/code>\uff0c\u5c06<code>content<\/code>\u6539\u4e3a\u5361\u7247\u7684\u6d88\u606f\u4f53\u3002<\/p>\n<p>\u4ee5\u4e0b\u662f\u5173\u4e8eCARD\u7684\u53d1\u5361\u6e90\u7801\uff1a<\/p>\n<pre><code>import httpx\n\nurl = &quot;https:\/\/pro.xiaohongshu.com\/api\/eros\/pm\/chat\/message\/send&quot;\nheaders = {\n    &quot;Cookie&quot;: &quot;\u4e13\u4e1a\u53f7\u79c1\u4fe1\u56de\u590d\u7684Cookie&quot;,\n    &quot;Sec-Ch-Ua-Platform&quot;: &quot;\/&quot;Windows\/&quot;&quot;,\n    &quot;Accept-Language&quot;: &quot;zh-CN,zh;q=0.9&quot;,\n    &quot;Sec-Ch-Ua&quot;: &quot;\/&quot;Chromium\/&quot;;v=\/&quot;131\/&quot;, \/&quot;Not_A Brand\/&quot;;v=\/&quot;24\/&quot;&quot;,\n    &quot;Sec-Ch-Ua-Mobile&quot;: &quot;?0&quot;,\n    &quot;X-B3-Traceid&quot;: &quot;a1dfa40a69adc868&quot;,\n    &quot;User-Agent&quot;: &quot;Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/131.0.6778.86 Safari\/537.36&quot;,\n    &quot;Accept&quot;: &quot;application\/json, text\/plain, *\/*&quot;,\n    &quot;Content-Type&quot;: &quot;application\/json;charset=UTF-8&quot;,\n    &quot;Origin&quot;: &quot;https:\/\/pro.xiaohongshu.com&quot;,\n    &quot;Sec-Fetch-Site&quot;: &quot;same-origin&quot;,\n    &quot;Sec-Fetch-Mode&quot;: &quot;cors&quot;,\n    &quot;Sec-Fetch-Dest&quot;: &quot;empty&quot;,\n    &quot;Referer&quot;: &quot;https:\/\/pro.xiaohongshu.com\/enterprise\/message\/reply&quot;,\n    &quot;Accept-Encoding&quot;: &quot;gzip, deflate, br&quot;,\n    &quot;Priority&quot;: &quot;u=1, i&quot;,\n}\n\npayload = {\n    &quot;receiver_id&quot;: &quot;\u63a5\u6536\u8005\u7684ID&quot;,\n    &quot;content_type&quot;: &quot;CARD&quot;,\n    &quot;content&quot;: {\n        &quot;actionContent&quot;: &quot;&quot;,\n        &quot;avatar&quot;: &quot;&quot;,\n        &quot;background&quot;: &quot;&quot;,\n        &quot;brandName&quot;: &quot;&quot;,\n        &quot;buttonLink&quot;: &quot;&quot;,\n        &quot;buttonTitle&quot;: &quot;&quot;,\n        &quot;buyNow&quot;: False,\n        &quot;commentContent&quot;: &quot;&quot;,\n        &quot;commentId&quot;: &quot;&quot;,\n        &quot;cover&quot;: &quot;&quot;,\n        &quot;desc&quot;: &quot;&quot;,\n        &quot;expectedPrice&quot;: &quot;&quot;,\n        &quot;expression&quot;: &quot;&quot;,\n        &quot;fans&quot;: &quot;&quot;,\n        &quot;goodsId&quot;: &quot;&quot;,\n        &quot;goodsImage&quot;: &quot;&quot;,\n        &quot;groupId&quot;: &quot;&quot;,\n        &quot;groupImage&quot;: &quot;&quot;,\n        &quot;groupName&quot;: &quot;&quot;,\n        &quot;height&quot;: 800,\n        &quot;id&quot;: &quot;653e73ce9e6e5500016e73b2&quot;,\n        &quot;image&quot;: &quot;\u5c01\u9762\u56fe\u94fe\u63a5&quot;,\n        &quot;internalPurchasePrice&quot;: &quot;&quot;,\n        &quot;internalPurchasePriceName&quot;: &quot;&quot;,\n        &quot;itemTitle&quot;: &quot;&quot;,\n        &quot;link&quot;: &quot;\u8df3\u8f6c\u5230\u5fae\u4fe1\u7684\u94fe\u63a5&quot;,\n        &quot;minorPrice&quot;: &quot;&quot;,\n        &quot;multi&quot;: False,\n        &quot;nickname&quot;: &quot;&quot;,\n        &quot;noteId&quot;: &quot;&quot;,\n        &quot;noteNum&quot;: &quot;&quot;,\n        &quot;notes&quot;: -1,\n        &quot;officialVerifyContent&quot;: &quot;&quot;,\n        &quot;orderButtonStatus&quot;: &quot;NONE&quot;,\n        &quot;originPrice&quot;: &quot;&quot;,\n        &quot;originPriceName&quot;: &quot;&quot;,\n        &quot;price&quot;: 0,\n        &quot;priceStr&quot;: &quot;&quot;,\n        &quot;rankTitle&quot;: &quot;&quot;,\n        &quot;rankType&quot;: -1,\n        &quot;ranking&quot;: -1,\n        &quot;redNumber&quot;: &quot;&quot;,\n        &quot;redOfficialVerifyShowIcon&quot;: False,\n        &quot;roomId&quot;: &quot;&quot;,\n        &quot;saleQuantity&quot;: &quot;&quot;,\n        &quot;showLabel&quot;: &quot;&quot;,\n        &quot;sourceTag&quot;: &quot;&quot;,\n        &quot;tagName&quot;: &quot;&quot;,\n        &quot;tagStrategyMap&quot;: {},\n        &quot;title&quot;: &quot;\u70b9\u51fb\u4e86\u89e3&quot;,\n        &quot;type&quot;: &quot;common&quot;,\n        &quot;userId&quot;: &quot;&quot;,\n        &quot;width&quot;: 0,\n    },\n}\n\ntry:\n    response = httpx.post(url, headers=headers, json=payload)\n    print(f&quot;Status Code: {response.status_code}&quot;)\n    print(&quot;Response Text:&quot;, response.text)\nexcept Exception as e:\n    print(f&quot;Error occurred: {e}&quot;)<\/code><\/pre>\n<h2>\u79c1\u4fe1\u901a<\/h2>\n<p>\u79c1\u4fe1\u901a\u662f\u9700\u8981\u5f00\u901a\u805a\u5149\u5e73\u53f0\u7684\u4e13\u4e1a\u53f7\u624d\u53ef\u4ee5\u62e5\u6709\uff0c\u56e0\u6b64\u8fd9\u5fc5\u7136\u662f\u9700\u8981\u82b1\u94b1\u7684\u3002<\/p>\n<p>\u79c1\u4fe1\u901a\u7684\u4e3b\u8d26\u53f7\u4e00\u6837\u53ef\u4ee5\u770b\u5230\u5c0f\u7ea2\u4e66\u6240\u6709\u7684\u804a\u5929\u8bb0\u5f55\uff0c\u652f\u6301\u7684\u529f\u80fd\u6bd4\u79c1\u4fe1\u56de\u590d\u66f4\u591a\u3002<\/p>\n<p><img decoding=\"async\" width=\"723\" height=\"471\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVdftAy\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u8fd8\u63d0\u4f9b\u4e86\u4e00\u4e2a\u83b7\u5ba2\u5de5\u5177\uff0c\u83b7\u5ba2\u5de5\u5177\u5c31\u662f\u8ba9\u4f60\u4f7f\u7528\u5c0f\u7ea2\u4e66\u7684\u5b98\u65b9\u5de5\u5177\u5149\u660e\u6b63\u5927\u7684\u5f15\u6d41\uff0c\u53d1\u5fae\u4fe1\uff0c\u53d1\u7535\u8bdd\u53f7\u7801\uff0c\u8fd9\u662f\u5c0f\u7ea2\u4e66\u5b98\u65b9\u5141\u8bb8\u7684\u884c\u4e3a\uff0c\u56e0\u6b64\u662f\u4e0d\u4f1a\u8fdd\u89c4\u7684\uff0c\u679c\u7136\u662f\u82b1\u4e86\u94b1\u7684\u5c31\u662f\u5927\u7237\u3002<\/p>\n<p><img decoding=\"async\" width=\"366\" height=\"180\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVdftAC\" alt=\"image.png\" title=\"image.png\" loading=\"lazy\"><\/p>\n<p>\u4f8b\u5982\u8fd9\u4e2a\u7559\u8d44\u5361\uff0c\u5c31\u662f\u53ef\u4ee5\u8ba9\u5bf9\u65b9\u586b\u5199\u5fae\u4fe1\u53f7\uff0c\u624b\u673a\u53f7\u4e4b\u7c7b\u7684\uff1a<\/p>\n<p><img decoding=\"async\" width=\"433\" height=\"461\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVdftBa\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u8fd8\u6709\u8fd9\u79cd\u540d\u7247\uff0c\u76f4\u63a5\u5c06\u4f60\u5fae\u4fe1\u53f7\u544a\u8bc9\u5bf9\u65b9\uff0c\u522b\u4eba\u70b9\u4e00\u4e0b\u6309\u94ae\u5c31\u590d\u5236\u4f60\u7684\u5fae\u4fe1\u53f7\uff1a<\/p>\n<p><img decoding=\"async\" width=\"431\" height=\"332\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVdftBh\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u800c\u4e14\u8fd8\u53ef\u4ee5\u6388\u6743\u4f01\u4e1a\u5fae\u4fe1\uff0c\u76f4\u63a5\u8df3\u8f6c\u5230\u4f01\u4e1a\u5fae\u4fe1\u83b7\u5ba2\u52a9\u624b\u754c\u9762\u52a0\u4f01\u4e1a\u5fae\u4fe1\u597d\u53cb\u3002<\/p>\n<p><img decoding=\"async\" width=\"723\" height=\"367\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVdftBJ\" alt=\"image.png\" title=\"image.png\" loading=\"lazy\"><\/p>\n<p>\u6700\u540e\u5c31\u662f\u8fd9\u4e2a\u843d\u5730\u9875\uff0c\u8fd9\u79cd\u5c31\u662f\u4ee5\u5361\u7247\u5f62\u5f0f\u5448\u73b0\uff0c\u70b9\u8fdb\u53bb\u4e0d\u662f\u8df3\u8f6c\u5230\u5fae\u4fe1\uff0c\u53ea\u662f\u663e\u793a\u4e00\u4e9b\u4f60\u5236\u4f5c\u7684\u5185\u5bb9\uff0c\u4f8b\u5982\u70b9\u8fdb\u53bb\u663e\u793a\u4f60\u7684\u5fae\u4fe1\u4e8c\u7ef4\u7801\uff0c\u663e\u793a\u4e00\u53e5\u8bdd\uff0c\u663e\u793a\u4f60\u7684\u670d\u52a1\u5185\u5bb9\uff0c\u6d77\u62a5\u4e4b\u7c7b\u7684\u3002<\/p>\n<p><img decoding=\"async\" width=\"360\" height=\"378\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVdftBp\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u843d\u5730\u9875\u9700\u8981\u5728\u805a\u5149\u5e73\u53f0\u8fdb\u884c\u81ea\u5df1\u5236\u4f5c\u5e76\u63d0\u4ea4\u5ba1\u6838\uff1a<a href=\"https:\/\/link.segmentfault.com\/?enc=aoGJGg8AhhKtw5I%2FFlB3uA%3D%3D.x2YZHvgoB9JCjyjNabWAFWWU9u%2F95BIUJUwJ28EdaErA3q%2B%2Fzwp2jljRqa6%2BreuL\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">https:\/\/ad.xiaohongshu.com\/aurora\/home<\/a><\/p>\n<p><img decoding=\"async\" width=\"723\" height=\"368\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVdftBq\" alt=\"image.png\" title=\"image.png\" loading=\"lazy\"><\/p>\n<p>\u9009\u62e9\u65b0\u5efa\u843d\u5730\u9875\u5373\u53ef\uff1a<\/p>\n<p><img decoding=\"async\" width=\"723\" height=\"459\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVdftBz\" alt=\"\" title=\"\" loading=\"lazy\"><br \/><img decoding=\"async\" width=\"723\" height=\"507\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVdftBG\" alt=\"image.png\" title=\"image.png\" loading=\"lazy\"><\/p>\n<p>\u81ea\u5df1DIY\u51fa\u6765\u7684\u843d\u5730\u9875\uff0c\u901a\u8fc7\u5ba1\u6838\u4e4b\u540e\uff0c\u901a\u8fc7\u79c1\u4fe1\u901a\u7684\u83b7\u5ba2\u5de5\u5177\u9009\u62e9\u843d\u5730\u9875\u5373\u53ef\u53d1\u9001\u51fa\u53bb\uff0c\u5c31\u662f\u4e00\u5f20\u5b98\u65b9\u7684\u5c0f\u7ea2\u4e66\u5361\u7247\u4e86\u3002<\/p>\n<p>\u843d\u5730\u9875\u5361\u7247\u6f14\u793a\u89c6\u9891\uff1a<a href=\"https:\/\/link.segmentfault.com\/?enc=VZxQo4PLrgd3WXjeKM3EiQ%3D%3D.g9oyZSRzpIV41ZH%2FO61CoaDn%2F96mTfMwcbzWwFT1d%2Fzz653mRKJKzGq8n3VHOXfe5yM57az8W7qOjsZ4ipfs%2Fw%3D%3D\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">https:\/\/viusosibp88.feishu.cn\/docx\/LYH5diVAxoMOI4x1IjYcjOxFn1g<\/a><\/p>\n<p>\u4ee5\u4e0a\u4e09\u4e2a\u5c31\u662f<code>\u79c1\u4fe1\u901a<\/code>\u81ea\u5e26\u7684\u83b7\u5ba2\u5361\u7247\uff0c\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5408\u89c4\u89e3\u51b3\u83b7\u5ba2\u95ee\u9898\uff0c\u5f15\u6d41\u95ee\u9898\u3002<\/p>\n<h2>\u5b89\u5353hook\u6280\u672f<\/h2>\n<p><code>hook<\/code>\u6280\u672f\u9700\u8981\u501f\u52a9<code>Xposed<\/code>\u6846\u67b6\uff0c\u662f\u4e00\u79cd\u76f4\u63a5\u5165\u4fb5\u5185\u5b58\u8fdb\u884c\u7be1\u6539\u4efb\u4f55\u4fe1\u606f\u7684\u6280\u672f\u3002<code>Xposed<\/code>\u6846\u67b6\u662f\u4e00\u4e2a\u5728<code>Android<\/code>\u9ad8\u6743\u9650\u6a21\u5f0f\u4e0b\u8fd0\u884c\u7684\u6846\u67b6\u670d\u52a1\uff0c\u53ef\u4ee5\u5728\u4e0d\u4fee\u6539<code>APK<\/code>\u6587\u4ef6\u7684\u60c5\u51b5\u4e0b\u4fee\u6539\u7a0b\u5e8f\u7684\u8fd0\u884c\u3002<\/p>\n<p>\u7b80\u5355\u6765\u8bf4\u5c31\u662f\u5728\u8f6f\u4ef6\u8fd0\u884c\u7684\u8fc7\u7a0b\u4e2d\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7hook\u6280\u672f\u5bf9\u5176\u4e2d\u7684\u5185\u5bb9\u8fdb\u884c\u62e6\u622a\uff0c\u963b\u65ad\uff0c\u7be1\u6539\uff0c\u52ab\u6301\u3002<\/p>\n<p>\u4f8b\u5982\u5c0f\u7ea2\u4e66\u5361\u7247\u4e3a\u4f8b\uff0c\u5728\u5361\u7247\u53d1\u9001\u5230\u5bf9\u65b9\u7684\u5c0f\u7ea2\u4e66\u8d26\u53f7\u4e4b\u524d\uff0c\u6211\u4eec\u53ef\u4ee5\u6b63\u5e38\u53d1\u9001\uff0c\u901a\u8fc7hook\u6280\u672f\uff0c\u5728\u70b9\u51fb\u53d1\u9001\u6309\u94ae\u5728\u53d1\u9001\u5bf9\u65b9\u7684\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u4ee5\u4fee\u6539\u5176\u5c01\u9762\u56fe\u3001\u6807\u9898\u3001\u8df3\u8f6c\u94fe\u63a5\uff0c\u4ee5\u6b64\u8fbe\u5230\u53d1\u9001\u5361\u7247\u7684\u76ee\u7684\u3002<\/p>\n<p><code>hook<\/code>\u6280\u672f\u5728\u5fae\u4fe1\u5229\u7528\u6bd4\u8f83\u5e38\u89c1\uff0c\u4f8b\u5982\u5e02\u9762\u4e0a\u5e38\u89c1\u7684\u673a\u5668\u4eba\uff0c\u5927\u540d\u9f0e\u9f0e\u7684<code>wetool<\/code>\u5c31\u662fhook\u6280\u672f\uff0c\u901a\u8fc7\u62e6\u622a\u5fae\u4fe1\u7535\u8111\u7248\u7684\u5185\u5b58\u5b9e\u73b0\u7684\u63a5\u53e3\uff0c\u4f8b\u5982\u81ea\u52a8\u56de\u590d\uff0c\u81ea\u52a8\u901a\u8fc7\u597d\u53cb\uff0c\u81ea\u52a8&#8230;\u51e1\u662f\u9700\u8981\u501f\u52a9\u56fa\u5b9a\u7248\u672c\u7684\u5fae\u4fe1\u7535\u8111\u7248\uff0c\u90fd\u662f<code>hook<\/code>\u6280\u672f\u5b9e\u73b0\u7684\u3002<\/p>\n<p>\u8fd8\u6709\u5b89\u5353\u7248\u672c\u7684<code>Xposed<\/code>\u6846\u67b6\u7684\uff0c\u7531<code>fkzhang\u5927\u795e<\/code>\u5f00\u53d1\u7684\u5faeX\u6a21\u5757\uff0c\u4e5f\u662f<code>hook<\/code>\u6280\u672f\u5b9e\u73b0\u7684\u3002<\/p>\n<h2>\u7ed3\u8bba<\/h2>\n<p>\u73b0\u5728\u5e02\u9762\u4e0a\u7684\u5361\u7247\u5c31\u8fd9\u4e24\u79cd\uff0c\u4e00\u79cd\u662f\u901a\u8fc7\u6293\u5305\u83b7\u53d6\u5b98\u65b9\u53d1\u9001\u63a5\u53e3\uff0c\u7be1\u6539\u6570\u636e\u5b9e\u73b0\u7684\u53d1\u5361\uff0c\u8fd9\u4e00\u534a\u9700\u8981\u6709\u4e13\u4e1a\u53f7\uff0c\u805a\u5149\u5e73\u53f0\u7684\u52a0\u6301\uff0c\u518d\u6709\u4e00\u4e9b\u6293\u5305\u548c\u91cd\u653e\u63a5\u53e3\u7684\u77e5\u8bc6\u3002<\/p>\n<p>\u53e6\u4e00\u4e2a\u6280\u672f<code>hook<\/code>\u6280\u672f\uff0c\u8fd9\u4e2a\u9700\u8981\u6709\u6bd4\u8f83\u5389\u5bb3\u7684\u5b89\u5353\u9006\u5411\u5de5\u7a0b\u7684\u6280\u672f\uff0c\u8fd9\u6bd4\u8f83\u8003\u9a8c\u6280\u672f\u6c34\u5e73\u3002<\/p>\n<h2>\u672c\u6587\u4f5c\u8005<\/h2>\n<p>TANKING<\/p>\n<p><a href=\"https:\/\/segmentfault.com\/a\/1190000045595423\">https:\/\/segmentfault.com\/a\/1190000045595423<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6458\u8981 \u4ec0\u4e48\u662f\u5c0f\u7ea2\u4e66\u5361\u7247\uff1f\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u6709\u4e00\u4e2a\u5361\u7247\uff0c\u6709\u5c01\u9762\u56fe\u3001\u6709\u6807\u9898\uff0c\u8fd9\u5f20\u5361\u7247\u53ef\u4ee5\u70b9\u51fb\uff0c\u70b9\u51fb\u8fdb\u53bb\u53ef\u4ee5\u76f4\u63a5\u8df3\u8f6c\u5230\u5fae\u4fe1 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-10020466","post","type-post","status-publish","format-standard","hentry","category-share"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10020466","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"}],"author":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10020466"}],"version-history":[{"count":0,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10020466\/revisions"}],"wp:attachment":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10020466"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10020466"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10020466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}