{"id":10006334,"date":"2022-08-27T19:07:32","date_gmt":"2022-08-27T11:07:32","guid":{"rendered":"https:\/\/ityet.com\/?p=10006334"},"modified":"2022-08-27T19:07:32","modified_gmt":"2022-08-27T11:07:32","slug":"python%e5%ae%9e%e7%8e%b0windows%e5%bc%b9%e5%87%ba%e5%be%ae%e4%bf%a1%e6%b6%88%e6%81%af%e9%80%9a%e7%9f%a5%ef%bc%88%e5%8f%af%e6%98%be%e7%a4%ba%e5%8f%91%e9%80%81%e4%ba%ba%e5%92%8c%e6%b6%88%e6%81%af","status":"publish","type":"post","link":"https:\/\/itmax.cn\/?p=10006334","title":{"rendered":"Python\u5b9e\u73b0Windows\u5f39\u51fa\u5fae\u4fe1\u6d88\u606f\u901a\u77e5\uff08\u53ef\u663e\u793a\u53d1\u9001\u4eba\u548c\u6d88\u606f\u5185\u5bb9\uff09"},"content":{"rendered":"<h2>\u9700\u6c42<\/h2>\n<p>Mac\u5fae\u4fe1\u662f\u6709\u4e00\u4e2a\u6d88\u606f\u901a\u77e5\u7684\uff0c\u8fd9\u4e00\u70b9\u5c31\u633a\u597d\u7684\uff0c\u6709\u65f6\u5019\u6839\u672c\u4e0d\u7528\u70b9\u5f00\u5f00\u770b\u5c31\u80fd\u770b\u5230\u6d88\u606f\u5185\u5bb9\u3002\u800cWindows\u7535\u8111\u7248\u662f\u6ca1\u6709\u8fd9\u4e2a\u6d88\u606f\u901a\u77e5\u7684\uff0c\u53ea\u6709\u53f3\u4e0b\u89d2\u56fe\u6807\u95ea\u70c1\u3002<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc11qY\" alt=\"image.png\" title=\"image.png\" loading=\"lazy\"><br \/>\uff08Mac\u5fae\u4fe1\u901a\u77e5\uff09<\/p>\n<p>\u4e8e\u662f\u6211\u60f3\u4e86\u4e0d\u5c11\u7684\u529e\u6cd5\u53bb\u5b9e\u73b0\u8fd9\u4e48\u4e00\u4e2a\u529f\u80fd\uff0c\u5df2\u7ecf\u53e6\u8f9f\u8e4a\u5f84\u5b9e\u73b0\u4e86\u8fd9\u4e2a\u529f\u80fd\uff0c\u5176\u5b9e\u4e5f\u6709\u4e00\u5b9a\u7684\u5c40\u9650\u6027\uff0c\u4f46\u662f\u80fd\u6ee1\u8db3\u529e\u516c\u671f\u95f4\u7684\u5c0f\u9700\u6c42\u3002<\/p>\n<p>\u6548\u679c\u5982\u4e0b\uff1a<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc11rp\" alt=\"image.png\" title=\"image.png\" loading=\"lazy\"><br \/>\uff08Windows\u5fae\u4fe1\u901a\u77e5\uff09<\/p>\n<h2>\u5b9e\u73b0\u65b9\u6cd5<\/h2>\n<p><strong>\u63a5\u6536\u901a\u77e5<\/strong><\/p>\n<p>\u9996\u5148\u662fWindows\u7684\u901a\u77e5\u5f39\u51fa\u7684\u5b9e\u73b0\u5c31\u662fWindows\u81ea\u5e26\u7684\u901a\u77e5\u680f\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7Python\u53bb\u8c03\u7528Windows API\u53bb\u53d1\u9001Windows\u901a\u77e5\uff0c\u8ba9\u6d88\u606f\u5f39\u51fa\u6765\u3002<\/p>\n<p><strong>\u53d1\u9001\u901a\u77e5<\/strong><\/p>\n<p>\u76f8\u6bd4\u4e8e\u63a5\u6536\u901a\u77e5\uff0c\u90a3\u4e48\u53d1\u9001\u901a\u77e5\u5c31\u6bd4\u8f83\u56f0\u96be\uff0c\u56e0\u4e3aWindows\u5fae\u4fe1\u7535\u8111\u7248\u7684\u7a97\u53e3\u5c5e\u4e8e\u975eWindows\u7a97\u53e3\u6807\u51c6\uff0c\u6211\u4eec\u65e0\u6cd5\u901a\u8fc7\u5e38\u89c4\u7684\u65b9\u5f0f\u53bb\u8bfb\u53d6\u6bcf\u4e2a\u63a7\u4ef6\u7684\u5185\u5bb9\uff0c\u66f4\u65e0\u6cd5\u76d1\u542c\u5230\u901a\u77e5\u5185\u5bb9\uff0c\u6240\u4ee5\u6211\u8fd9\u8fb9\u53e6\u8f9f\u8e4a\u5f84\uff0c\u901a\u8fc7\u5b89\u5353\u624b\u673a\u53bb\u76d1\u542c\u5fae\u4fe1\u6d88\u606f\u3002<\/p>\n<p>\u6240\u4ee5\u8fd9\u91cc\u7528\u5230\u4e86SmsForwarder\u8fd9\u6b3e\u5f00\u6e90\u8f6f\u4ef6\uff0c\u5b89\u88c5\u5728\u4f60\u7684\u5b89\u5353\u624b\u673a\u4e0a\uff0c\u7136\u540e\u8bbe\u7f6e\u8f6c\u53d1\u89c4\u5219\uff0c\u76d1\u542c\u5fae\u4fe1APP\u7684\u901a\u77e5\uff0c\u7136\u540e\u53d1\u9001\u901a\u9053\u9009\u62e9WebHook\uff0c\u5c06\u76d1\u542c\u5230\u7684\u6d88\u606fPOST\u5230Python\u5f00\u542f\u7684HTTP\u670d\u52a1\u5668\uff0c\u89e6\u53d1Windows\u901a\u77e5\u5c31\u884c\u4e86\uff01<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc11rT\" alt=\"image.png\" title=\"image.png\" loading=\"lazy\"><\/p>\n<h2>\u4e0a\u4ee3\u7801<\/h2>\n<p><strong>\u6a21\u5757<\/strong><\/p>\n<p>\u4ee5\u4e0b\u6d89\u53ca\u5230\u7684\u6a21\u5757\uff0cflask\u7528\u6765\u5b9e\u73b0http\u8bf7\u6c42\u7684\uff0cwinotify\u662f\u7528\u4e8e\u53d1\u9001Windows\u901a\u77e5\uff0curllib.parse\u7528\u4e8e\u5c06POST\u8fc7\u6765\u7684URL\u7f16\u7801\u8fdb\u884c\u89e3\u7801\uff0cwin32gui\u3001win32con\u7528\u4e8e\u521b\u5efa\u4efb\u52a1\u680f\u7684\u4efb\u52a1\u56fe\u6807\u53ca\u540e\u53f0\u8fd0\u884c\u3002<\/p>\n<pre><code>from flask import Flask, request\nfrom winotify import Notification\nimport urllib.parse\nimport win32gui\nimport win32con<\/code><\/pre>\n<p>\u4ee3\u7801\u8bf4\u660e\uff1a<br \/>\u53d1\u9001\u901a\u77e5\u7684\u5173\u952e\u4ee3\u7801\u7247\u6bb5\uff0c\u5176\u4e2d <strong><code>icon=r&quot;D:\/Python\/demo\/wechat.png&quot;<\/code><\/strong> \u8fd9\u4e2a\u662f\u901a\u77e5\u4e2d\u663e\u793a\u7684\u4e00\u4e2a\u5c0f\u56fe\u6807\uff0c\u53ef\u4ee5\u81ea\u5df1\u7f51\u4e0a\u627e\u4e00\u5f20\u81ea\u5df1\u559c\u6b22\u7684\u56fe\u7247\u653e\u5728toasts.py\u540c\u7ea7\u76ee\u5f55\u4e0b\u3002<\/p>\n<pre><code>toast = Notification(app_id=&quot;\u901a\u77e5\u4e2d\u5fc3&quot;,title=nickname,msg=weixinMsg,icon=r&quot;D:\/Python\/demo\/wechat.png&quot;)\n    toast.show()<\/code><\/pre>\n<p>192.168.1.100\u662f\u6211\u7535\u8111\u7684\u5185\u7f51ip\uff0c8080\u662f\u7aef\u53e3\u53f7\uff0c\u4f60\u9700\u8981\u83b7\u53d6\u4f60\u7535\u8111\u7684\u5185\u7f51ip\u6362\u4e0a\u53bb\uff0c\u4e0d\u7136\u540e\u7eed\u914d\u7f6e\u5b89\u5353\u90a3\u8fb9\u7684\u76d1\u542c\u8f6c\u53d1\u7aef\u5c31\u65e0\u6cd5\u6b63\u5e38\u8f6c\u53d1\u901a\u77e5\u3002<\/p>\n<pre><code>app.run(debug=False,host='192.168.1.100', port=8080)<\/code><\/pre>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc11r8\" alt=\"image.png\" title=\"image.png\" loading=\"lazy\"><\/p>\n<p>\u5728cmd\u8f93\u5165 <strong><code>ipconfig<\/code><\/strong> \u5c31\u53ef\u4ee5\u83b7\u5f97ip\u5730\u5740\u4e86\u3002<\/p>\n<p>\u6700\u540e\u6267\u884c\u4ee3\u7801\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc11sf\" alt=\"image.png\" title=\"image.png\" loading=\"lazy\"><\/p>\n<p>\u6267\u884c\u4ee3\u7801\u540e\uff0c\u4f1a\u5728\u4f60\u7535\u8111\u5f00\u542f\u4e00\u4e2aHTTP\u670d\u52a1\uff0c\u8fd9\u65f6\u5019\u4f60\u53ef\u4ee5\u5728\u6d4f\u89c8\u5668\u8fdb\u884c\u672c\u5730\u6d4b\u8bd5\uff0c\u5728\u6d4f\u89c8\u5668\u6309\u7167\u4ee5\u4e0b\u683c\u5f0f\u7c98\u8d34\uff1a<\/p>\n<pre><code>http:\/\/\u5185\u7f51ip:\u7aef\u53e3\u53f7\/?\u901a\u77e5\u5185\u5bb9<\/code><\/pre>\n<p>\u7136\u540e\u8bbf\u95ee\u5c31\u53ef\u4ee5\u3002<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc11sg\" alt=\"image.png\" title=\"image.png\" loading=\"lazy\"><\/p>\n<p><strong>toasts.py<\/strong><\/p>\n<pre><code>from flask import Flask, request\nfrom winotify import Notification\nimport urllib.parse\nimport win32gui\nimport win32con\n\napp = Flask(__name__)\n\n@app.route('\/')  # \u83b7\u53d6url\u4fe1\u606f\ndef getUrlInfo():\n    # \u5b8c\u6574url\n    url = request.url\n    # \u4e3b\u673a\u90e8\u5206\n    hostUrl = request.host_url\n    # \u8bbf\u95ee\u8def\u5f84\n    fullPath = request.full_path\n    # \u8f93\u51fa\n    print('\u6536\u5230\u63a8\u9001\u4efb\u52a1\uff0c\u63a8\u9001\u5185\u5bb9\u662f\uff1a'+str(urllib.parse.unquote(fullPath.split(&quot;\/?&quot;)[1])).replace('+', ' ', 1))\n\n    # \u63a5\u6536\u5230\u7684\u5185\u5bb9\n    content = str(urllib.parse.unquote(fullPath.split(&quot;\/?&quot;)[1])).replace('+', ' ', 1);\n\n    # \u9519\u8bef\u5904\u7406\n    # \u56e0\u4e3a\u76d1\u542c\u8f6f\u4ef6\u90a3\u8fb9\u76d1\u542c\u5230\u7684\u9996\u6761\u6d88\u606f\u662f\u6ca1\u6709\u5e26\u4e0a\u5fae\u4fe1\u7528\u6237\u6635\u79f0\u7684\n    # \u6240\u4ee5\u9700\u8981\u5224\u65ad\u5f53\u524d\u63a5\u6536\u5230\u7684\u6d88\u606f\u662f\u4e0d\u662f\u9996\u6761\u6d88\u606f\n    # \u5982\u679c\u4e0d\u505a\u8fd9\u4e00\u6b65\u5c31\u4f1a\u51fa\u9519\n\n    pdmh = &quot;:&quot; in content\n    if pdmh == True:\n        # \u622a\u53d6:\u524d\u9762\u7684\u5185\u5bb9\n        qianmian = content.split(&quot;:&quot;)[0]\n        weixinMsg = content.split(&quot;:&quot;)[1]\n        # \u8fd8\u8981\u5c06[]\u8fd9\u4e00\u5757\u4e5f\u53bb\u6389\uff0c\u8fd9\u5c31\u63d0\u53d6\u5230\u4e86\u5fae\u4fe1\u6635\u79f0\n        nickname = qianmian.split(&quot;]&quot;)[1]\n    else:\n        nickname = '\u5fae\u4fe1\u6d88\u606f\u901a\u77e5'\n        weixinMsg = content\n\n    # \u5f00\u53d1Push\u901a\u77e5\n    # toaster = ToastNotifier()\n    # toaster.show_toast(title=nickname, msg=weixinMsg,icon_path=&quot;logo.ico&quot;, duration=5)\n    toast = Notification(app_id=&quot;\u901a\u77e5\u4e2d\u5fc3&quot;,title=nickname,msg=weixinMsg,icon=r&quot;D:\/Python\/demo\/wechat.png&quot;)\n    toast.show()\n    return &quot;ok&quot;\n\n\ndef notify(hwnd, msg, wparam, lparam):\n    print(&quot;notify&quot;, msg)\n    if lparam == win32con.WM_LBUTTONDBLCLK:  # \u53cc\u51fb\u5de6\u952e\n        print(&quot;\u53cc\u51fb\u5de6\u952e&quot;, msg)\n        pass\n    elif lparam == win32con.WM_RBUTTONUP:  # \u53f3\u952e\u5f39\u8d77\n        print(&quot;\u53f3\u952e\u5f39\u8d77&quot;, msg)\n        pass\n    elif lparam == win32con.WM_LBUTTONUP:  # \u5de6\u952e\u5f39\u8d77\n        print(&quot;\u5de6\u952e\u5f39\u8d77&quot;, msg)\n        pass\n    return True\n\nwc = win32gui.WNDCLASS()\nwc.hInstance = win32gui.GetModuleHandle(None)\nwc.lpszClassName = &quot;Windows\u901a\u77e5\u4e2d\u5fc3&quot;\nwc.style = win32con.CS_VREDRAW | win32con.CS_HREDRAW;\nwc.lpfnWndProc = notify\nclassAtom = win32gui.RegisterClass(wc) \nhwnd =win32gui.CreateWindow(classAtom,&quot;tst2&quot;,win32con.WS_OVERLAPPEDWINDOW,win32con.CW_USEDEFAULT,win32con.CW_USEDEFAULT,win32con.CW_USEDEFAULT,win32con.CW_USEDEFAULT,None,None,None,None)\nnotify_id = (hwnd,0,win32gui.NIF_ICON | win32gui.NIF_MESSAGE | win32gui.NIF_TIP,win32con.WM_USER + 20,win32gui.LoadIcon(0, win32con.IDI_APPLICATION),&quot;Windows\u901a\u77e5\u4e2d\u5fc3&quot;)\nwin32gui.Shell_NotifyIcon(0,notify_id)\n\n# \u5728\u6307\u5b9aIP\u548c\u7aef\u53e3\u5f00\u542fHTTP\u670d\u52a1\nif __name__ == '__main__':\n    app.run(debug=False,host='192.168.1.100', port=8080)<\/code><\/pre>\n<h2>\u5b89\u5353\u624b\u673a\u914d\u7f6e<\/h2>\n<p>\u5b89\u88c5SmsForwarder\u8fd9\u6b3e\u8f6f\u4ef6\u3002<\/p>\n<p>\u5f00\u6e90\u5730\u5740\uff1a<a href=\"https:\/\/link.segmentfault.com\/?enc=AUwzWNWVPf%2BVK9AUWZkfiw%3D%3D.mFzORSZ0BK2D6r%2FBTdpM9NNb4qMQWJ%2FFRY45FORPXg6XnSZFTSxTsFZhRiJgBNt0\" rel=\"nofollow\">https:\/\/gitee.com\/pp\/SmsForwa&#8230;<\/a><br \/>\u4e0b\u8f7d\u5730\u5740\uff1a<a href=\"https:\/\/link.segmentfault.com\/?enc=fYfeWdFQAuPRG46goPZpOg%3D%3D.TOXTZR24ck80P1p8jtYkGld%2BRDuI9a%2BoVn%2Fp0VeA1tdZ2OT1E8vaEoXUoeYPHnjcj7ZHnE6Wb9eVCrc2%2FBVyFg%3D%3D\" rel=\"nofollow\">https:\/\/gitee.com\/pp\/SmsForwa&#8230;<\/a><\/p>\n<p>\u8bbe\u7f6e\u53d1\u9001\u901a\u9053\uff0c\u9009\u62e9 <strong><code>Webhook<\/code><\/strong> \uff0cWebserver\u6309\u7167\u4ee5\u4e0b\u683c\u5f0f\u586b\u5199\uff1a<\/p>\n<pre><code>http:\/\/\u5185\u7f51ip:\u7aef\u53e3\u53f7\/<\/code><\/pre>\n<p>WebParams\u76f4\u63a5\u586b\u5199 <strong><code>[msg]<\/code><\/strong> \uff0c\u8bf7\u6c42\u65b9\u5f0f\u662fGET<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc11rT\" alt=\"image.png\" title=\"image.png\" loading=\"lazy\"><\/p>\n<p>\u8bbe\u7f6e\u8f6c\u53d1\u89c4\u5219\uff0c\u6dfb\u52a0\u89c4\u5219\uff0c\u9009\u62e9\u5339\u914d <strong><code>\u201cAPP\u5305\u540d\u201d<\/code><\/strong>\uff0c\u5339\u914d\u6a21\u5f0f\u9009\u62e9 <strong><code>\u201c\u662f\u201d<\/code><\/strong>\uff0c\u5339\u914d\u503c\u662f <strong><code>com.tencent.mm<\/code><\/strong>\uff0c\u9009\u62e9\u521a\u624d\u914d\u7f6e\u7684\u53d1\u9001\u901a\u9053\uff0c\u81ea\u5b9a\u4e49\u6a21\u677f\u76f4\u63a5\u70b9\u51fb\u901a\u77e5\u5185\u5bb9\u3002<\/p>\n<p>\u7b80\u5355\u8fdb\u884c\u914d\u7f6e\u540e\uff0cSmsForwarder\u8fdb\u884c\u4e00\u4e9b\u5fc5\u8981\u7684\u8bbe\u7f6e\u540e\uff0c\u5c31\u53ef\u4ee5\u6b63\u5e38\u4f7f\u7528\u4e86\u3002<\/p>\n<h2>\u9700\u8981\u4f18\u5316\u7684\u5730\u65b9<\/h2>\n<p>\u76ee\u524d\u8fd8\u5728\u60f3\u529e\u6cd5\u5728\u7535\u8111\u672c\u5730\u76d1\u542c\u5fae\u4fe1\u6d88\u606f\uff0c\u6bd5\u7adf\u901a\u8fc7\u5b89\u5353\u624b\u673a\u76d1\u542c\u6d88\u606f\u4e5f\u4e0d\u662f\u529e\u6cd5\uff0c\u4e00\u65b9\u9762\u662f\u4f9d\u8d56\u672c\u5730\u7684\u670d\u52a1\u5668\uff0c\u901a\u8fc7\u5c40\u57df\u7f51\u624d\u53ef\u4ee5\u53d1\u9001\u901a\u77e5\u7ed9\u7535\u8111\u3002\u53e6\u4e00\u65b9\u9762\u5c31\u662f\u5b89\u5353\u76d1\u542c\u6d88\u606f\u4e5f\u4e0d\u5177\u5907\u7a33\u5b9a\u6027\uff0c\u800c\u4e14\u4e5f\u4e0d\u662f\u4eba\u4eba\u90fd\u7528\u5b89\u5353\uff0c\u5bf9\u4e8e\u82f9\u679c\u624b\u673a\u7684\u7528\u6237\uff0c\u4e5f\u662f\u96be\u4ee5\u5b9e\u73b0\u8fd9\u4e2a\u3002<\/p>\n<h2>\u9700\u8981\u6ce8\u610f\u7684\u5730\u65b9<\/h2>\n<ol>\n<li>\u5185\u7f51ip\u53ef\u80fd\u4f1a\u53d8\u5316\uff0c\u5982\u679c\u4f60\u53d1\u73b0\u540e\u9762\u65e0\u6cd5\u6b63\u5e38\u63a5\u6536\u5230\u901a\u77e5\uff0c\u53ef\u4ee5\u68c0\u67e5\u4e0b\u5185\u7f51ip\uff0c\u66f4\u6362\u4e00\u4e0bip\u91cd\u542f\u670d\u52a1\u3002<\/li>\n<li>\u56e0\u4e3a\u8fd9\u662f\u4f7f\u7528\u5185\u7f51ip\u5b9e\u73b0\u7684HTTP\u670d\u52a1\uff0c\u6240\u4ee5\u4f60\u5b89\u5353\u624b\u673a\u9700\u8981\u8fde\u63a5\u7684wifi\u4e0e\u7535\u8111\u7684\u4e00\u81f4\uff0c\u5982\u679c\u7535\u8111\u662f\u6709\u7ebf\u7f51\u7edc\uff0c\u90a3\u4e48\u4f60\u624b\u673a\u9700\u8981\u4e0e\u7535\u8111\u6709\u7ebf\u7f51\u7edc\u540c\u4e00\u4e2a\u7f51\u7edc\u73af\u5883\uff0c\u5373ip\u76f8\u540c\u3002<\/li>\n<li>\u5982\u679c\u4e0d\u60f3\u901a\u8fc7\u5c40\u57df\u7f51\u5b9e\u73b0\uff0c\u53ef\u4ee5\u81ea\u5df1\u914d\u7f6e\u5185\u7f51\u7a7f\u900f\u670d\u52a1\u53bb\u5b9e\u73b0\u5916\u7f51\u8bf7\u6c42\u670d\u52a1\u3002<\/li>\n<\/ol>\n<h2>\u4f5c\u8005<\/h2>\n<p>TANKING<\/p>\n<p><a href=\"https:\/\/segmentfault.com\/a\/1190000042388968\">https:\/\/segmentfault.com\/a\/1190000042388968<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9700\u6c42 Mac\u5fae\u4fe1\u662f\u6709\u4e00\u4e2a\u6d88\u606f\u901a\u77e5\u7684\uff0c\u8fd9\u4e00\u70b9\u5c31\u633a\u597d\u7684\uff0c\u6709\u65f6\u5019\u6839\u672c\u4e0d\u7528\u70b9\u5f00\u5f00\u770b\u5c31\u80fd\u770b\u5230\u6d88\u606f\u5185\u5bb9\u3002\u800cWindows\u7535 [&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-10006334","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\/10006334","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=10006334"}],"version-history":[{"count":0,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10006334\/revisions"}],"wp:attachment":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10006334"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10006334"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10006334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}