{"id":82490,"date":"2026-07-25T09:33:39","date_gmt":"2026-07-25T01:33:39","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/82490.html"},"modified":"2026-07-25T09:33:39","modified_gmt":"2026-07-25T01:33:39","slug":"%e9%98%bf%e9%87%8c%e4%ba%91%e4%ba%91%e5%8a%a9%e6%89%8bapi-%e5%ae%9e%e7%8e%b0ecs%e6%9c%8d%e5%8a%a1%e5%99%a8rdp%e8%bf%9c%e7%a8%8b%e5%90%af%e5%81%9c%e7%ae%a1%e6%8e%a7%e6%96%b9%e6%a1%88%e4%ba%94%e5%8d%81","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/82490.html","title":{"rendered":"\u963f\u91cc\u4e91\u4e91\u52a9\u624bAPI \u5b9e\u73b0ECS\u670d\u52a1\u5668RDP\u8fdc\u7a0b\u542f\u505c\u7ba1\u63a7\u65b9\u6848(\u4e94\u5341\u4e8c)-\u4e1c\u65b9\u4ed9\u76df"},"content":{"rendered":"<h2>\u4e00\u3001\u65b9\u6848\u6982\u8ff0<\/h2>\n<p>\u672c\u6587\u57fa\u4e8ePHP\u540e\u7aef&#043;\u963f\u91cc\u4e91ECS\u4e91\u52a9\u624bRunCommand API&#xff0c;\u5b9e\u73b0Windows ECS\u670d\u52a1\u5668RDP\u8fdc\u7a0b\u684c\u9762\u7684\u8fdc\u7a0b\u5f00\u542f\u3001\u5173\u95ed\u7ba1\u63a7\u80fd\u529b\u3002\u5168\u7a0b\u9075\u5faa\u6700\u5c0f\u6743\u9650\u3001\u96f6\u7aef\u53e3\u66b4\u9732\u3001\u5bc6\u94a5\u9694\u79bb\u7684\u5b89\u5168\u8fd0\u7ef4\u89c4\u8303&#xff0c;\u5f7b\u5e95\u89e3\u51b3\u4f20\u7edfRDP\u76f4\u63a5\u5bf9\u5916\u5f00\u653e3389\u7aef\u53e3\u7684\u9ad8\u5371\u6f0f\u6d1e\u3002<\/p>\n<p>\u65b9\u6848\u6838\u5fc3\u903b\u8f91&#xff1a;\u524d\u7aef\u4ec5\u505a\u4ea4\u4e92\u5c55\u793a&#xff0c;\u963f\u91cc\u4e91AccessKey\u5bc6\u94a5\u4ec5\u7559\u5b58PHP\u540e\u7aef&#xff0c;\u901a\u8fc7\u4e00\u6b21\u6027\u4e34\u65f6Token\u9274\u6743&#xff0c;\u540e\u7aef\u7b7e\u540d\u8c03\u7528\u963f\u91cc\u4e91\u5b98\u65b9API&#xff0c;\u4e0b\u53d1PowerShell\u811a\u672c\u8fdc\u7a0b\u63a7\u5236\u670d\u52a1\u5668RDP\u670d\u52a1\u542f\u505c\u3002\u670d\u52a1\u5668\u65e0\u9700\u5f00\u653e\u4efb\u4f55\u5165\u7ad9\u7aef\u53e3&#xff0c;\u4f9d\u6258\u4e91\u52a9\u624bAgent\u4e3b\u52a8\u957f\u8fde\u963f\u91cc\u4e91\u7ba1\u63a7\u5e73\u53f0&#xff0c;\u4ece\u6839\u6e90\u675c\u7edd\u66b4\u529b\u7834\u89e3\u3001\u7aef\u53e3\u626b\u63cf\u3001\u5165\u4fb5\u653b\u51fb\u98ce\u9669\u3002<\/p>\n<h3>\u6838\u5fc3\u67b6\u6784\u6d41\u7a0b<\/h3>\n<p>\u7528\u6237HTTPS\u8bbf\u95eePHP\u8fd0\u7ef4\u9875\u9762 \u2192 POST\u63d0\u4ea4\u4e00\u6b21\u6027\u9274\u6743Token \u2192 PHP\u540e\u7aef\u6821\u9a8cToken\u6709\u6548\u6027&#xff08;\u5355\u6b21\u53ef\u7528&#043;\u8d85\u65f6\u5931\u6548&#043;\u53ef\u9009IP\u7ed1\u5b9a&#xff09; \u2192 PHP\u7b7e\u540d\u8c03\u7528\u963f\u91cc\u4e91OpenAPI \u2192 \u963f\u91cc\u4e91\u4e0b\u53d1PowerShell\u6307\u4ee4\u81f3ECS\u4e91\u52a9\u624bAgent \u2192 Windows\u670d\u52a1\u5668\u6267\u884c\u811a\u672c\u542f\u505cRDP\u8fdc\u7a0b\u684c\u9762<\/p>\n<h3>\u5b89\u5168\u6838\u5fc3\u7ea6\u675f<\/h3>\n<li>\n<p>\u963f\u91cc\u4e91AccessKey ID\/Secret\u4ec5\u5b58\u653ePHP\u540e\u7aef&#xff0c;\u524d\u7aef\u9875\u9762\u3001\u6e90\u7801\u3001\u7f51\u7edc\u8bf7\u6c42\u65e0\u4efb\u4f55\u5bc6\u94a5\u6cc4\u9732\u98ce\u9669&#xff1b;<\/p>\n<\/li>\n<li>\n<p>RAM\u5b50\u8d26\u53f7\u6700\u5c0f\u6743\u9650\u7ba1\u63a7&#xff0c;\u4ec5\u5141\u8bb8\u6307\u5b9aECS\u5b9e\u4f8b\u6267\u884c\u4e91\u52a9\u624b\u547d\u4ee4&#xff0c;\u65e0\u6cd5\u64cd\u4f5c\u5176\u4ed6\u4e91\u8d44\u6e90&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u540e\u7aef\u56fa\u5b9a\u4ec5\u5141\u8bb8\u5f00\u542fRDP\u3001\u5173\u95edRDP\u4e24\u6761\u6307\u4ee4&#xff0c;\u7981\u6b62\u5916\u90e8\u4f20\u5165\u81ea\u5b9a\u4e49\u547d\u4ee4&#xff0c;\u675c\u7edd\u547d\u4ee4\u6ce8\u5165\u6f0f\u6d1e&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u91c7\u7528\u4e00\u6b21\u6027Token\u9274\u6743&#xff0c;\u5355\u6b21\u4f7f\u7528\u7acb\u5373\u4f5c\u5e9f\u3001\u8d85\u65f6\u81ea\u52a8\u5931\u6548&#xff0c;\u652f\u6301\u7ed1\u5b9a\u7528\u6237\u516c\u7f51IP&#xff0c;\u53cc\u91cd\u5b89\u5168\u6821\u9a8c\u3002<\/p>\n<\/li>\n<h2>\u4e8c\u3001\u524d\u7f6e\u963f\u91cc\u4e91\u914d\u7f6e&#xff08;\u5fc5\u505a&#xff09;<\/h2>\n<h3>2.1 \u521b\u5efaRAM\u5b50\u8d26\u53f7&#xff08;\u7981\u6b62\u4f7f\u7528\u4e3b\u8d26\u53f7&#xff09;<\/h3>\n<li>\n<p>\u767b\u5f55\u963f\u91cc\u4e91RAM\u63a7\u5236\u53f0&#xff0c;\u65b0\u5efa\u81ea\u5b9a\u4e49\u7528\u6237&#xff0c;\u4ec5\u5f00\u542fOpenAPI\u8bbf\u95ee&#xff0c;\u5173\u95ed\u63a7\u5236\u53f0\u7f51\u9875\u767b\u5f55\u6743\u9650&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u751f\u6210AccessKey ID\u3001AccessKey Secret&#xff0c;\u4ec5\u7559\u5b58\u4e8e\u540e\u7aef\u670d\u52a1\u5668&#xff0c;\u7981\u6b62\u5206\u53d1\u3001\u7981\u6b62\u5199\u5165\u524d\u7aef\u4ee3\u7801&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u4e3a\u5b50\u8d26\u53f7\u7ed1\u5b9a\u6700\u5c0f\u6743\u9650\u7b56\u7565&#xff0c;\u7cbe\u51c6\u9650\u5236\u4ec5\u7ba1\u63a7\u76ee\u6807ECS\u670d\u52a1\u5668\u3002<\/p>\n<\/li>\n<h3>2.2 \u6700\u5c0f\u6743\u9650RAM\u7b56\u7565&#xff08;\u76f4\u63a5\u590d\u5236\u4f7f\u7528&#xff09;<\/h3>\n<p>\u5c06\u7b56\u7565\u4e2d\u5b9e\u4f8bID\u66ff\u6362\u4e3a\u9700\u8981\u7ba1\u63a7\u7684Windows ECS\u5b9e\u4f8bID&#xff0c;\u5b9e\u73b0\u5355\u670d\u52a1\u5668\u7cbe\u51c6\u6743\u9650\u9501\u5b9a&#xff1a;<\/p>\n<p>{<br \/>\n    &#034;Version&#034;: &#034;1&#034;,<br \/>\n    &#034;Statement&#034;: [<br \/>\n        {<br \/>\n            &#034;Effect&#034;: &#034;Allow&#034;,<br \/>\n            &#034;Action&#034;: [<br \/>\n                &#034;ecs:RunCommand&#034;,<br \/>\n                &#034;ecs:DescribeInvocations&#034;,<br \/>\n                &#034;ecs:DescribeInstances&#034;<br \/>\n            ],<br \/>\n            &#034;Resource&#034;: [<br \/>\n                &#034;acs:ecs:*:*:instance\/i-\u66ff\u6362\u4e3a\u76ee\u6807ECS\u5b9e\u4f8bID&#034;<br \/>\n            ]<br \/>\n        }<br \/>\n    ]<br \/>\n}<\/p>\n<h3>2.3 Windows\u670d\u52a1\u5668\u9884\u7f6eRDP\u542f\u505cPowerShell\u6307\u4ee4<\/h3>\n<p>\u4e91\u52a9\u624b\u9ed8\u8ba4\u4ee5\u7cfb\u7edf\u6700\u9ad8\u6743\u9650&#xff08;SYSTEM&#xff09;\u6267\u884c\u6307\u4ee4&#xff0c;\u53ef\u76f4\u63a5\u64cd\u4f5c\u7cfb\u7edfRDP\u670d\u52a1&#xff0c;\u6307\u4ee4\u9002\u914d\u6240\u6709Windows Server\u7cfb\u7edf&#xff1a;<\/p>\n<p>\u5f00\u542fRDP\u8fdc\u7a0b\u684c\u9762&#xff08;\u653e\u5f00\u8fdc\u7a0b\u8fde\u63a5\u6743\u9650&#xff09;<\/p>\n<p>Set-ItemProperty -Path &#039;HKLM:\\\\System\\\\CurrentControlSet\\\\Control\\\\Terminal Server&#039; -name &#034;fDenyTSConnections&#034; -Value 0<br \/>\nEnable-NetFirewallRule -DisplayGroup &#034;\u8fdc\u7a0b\u684c\u9762&#034;<\/p>\n<p>\u5173\u95edRDP\u8fdc\u7a0b\u684c\u9762&#xff08;\u7981\u7528\u6240\u6709\u8fdc\u7a0b\u8fde\u63a5&#xff09;<\/p>\n<p>Set-ItemProperty -Path &#039;HKLM:\\\\System\\\\CurrentControlSet\\\\Control\\\\Terminal Server&#039; -name &#034;fDenyTSConnections&#034; -Value 1<br \/>\nDisable-NetFirewallRule -DisplayGroup &#034;\u8fdc\u7a0b\u684c\u9762&#034;<\/p>\n<h3>2.4 \u670d\u52a1\u5668\u5b89\u5168\u7ec4\u6838\u5fc3\u914d\u7f6e<\/h3>\n<p>\u6c38\u4e45\u5c01\u79813389\u7aef\u53e3\u5165\u7ad9\u89c4\u5219&#xff0c;\u4e0d\u5f00\u653e\u4efb\u4f55RDP\u76f8\u5173\u5165\u7ad9\u7aef\u53e3&#xff1b;\u4e91\u52a9\u624b\u4f9d\u6258\u670d\u52a1\u5668\u4e3b\u52a8\u51fa\u7ad9\u957f\u8fde\u963f\u91cc\u4e91&#xff0c;\u4ec5\u9700\u4fdd\u969c\u670d\u52a1\u5668\u5916\u7f51\u51fa\u7ad9\u6b63\u5e38&#xff0c;\u5f7b\u5e95\u5c4f\u853d\u7aef\u53e3\u653b\u51fb\u9762\u3002<\/p>\n<h2>\u4e09\u3001PHP\u8fd0\u884c\u73af\u5883\u4e0eAPI\u7b7e\u540d\u539f\u7406<\/h2>\n<h3>3.1 \u73af\u5883\u4f9d\u8d56<\/h3>\n<ul>\n<li>\n<p>PHP 7.4 \/ PHP 8.x \u4e3b\u6d41\u7248\u672c<\/p>\n<\/li>\n<li>\n<p>\u5f00\u542fcURL\u3001JSON\u3001PDO\u3001SQLite\u6269\u5c55<\/p>\n<\/li>\n<li>\n<p>\u540e\u7aef\u670d\u52a1\u5668\u516c\u7f51IP\u52a0\u5165RAM\u5b50\u8d26\u53f7IP\u767d\u540d\u5355&#xff0c;\u9650\u5236API\u8c03\u7528\u6765\u6e90<\/p>\n<\/li>\n<\/ul>\n<h3>3.2 \u963f\u91cc\u4e91OpenAPI\u7b7e\u540d\u673a\u5236<\/h3>\n<p>\u963f\u91cc\u4e91\u6240\u6709\u670d\u52a1\u7aefAPI\u8bf7\u6c42\u5fc5\u987b\u7ecf\u8fc7HMAC-SHA1\u7b7e\u540d\u6821\u9a8c&#xff0c;PHP\u540e\u7aef\u72ec\u7acb\u5b8c\u6210\u7b7e\u540d\u903b\u8f91&#xff0c;\u65e0\u9700\u4f9d\u8d56\u7b2c\u4e09\u65b9SDK&#xff1a;<\/p>\n<li>\n<p>\u7ec4\u88c5\u516c\u5171\u53c2\u6570&#xff08;AK\u3001\u65f6\u95f4\u6233\u3001\u63a5\u53e3\u7248\u672c\u3001\u7b7e\u540d\u65b9\u5f0f\u7b49&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u5408\u5e76\u4e1a\u52a1\u53c2\u6570\u5e76\u6392\u5e8f&#xff0c;\u62fc\u63a5\u6807\u51c6\u5316\u5f85\u7b7e\u540d\u5b57\u7b26\u4e32&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u901a\u8fc7AK\u5bc6\u94a5\u751f\u6210HMAC-SHA1\u7b7e\u540d\u5e76URL\u7f16\u7801&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u643a\u5e26\u5b8c\u6574\u7b7e\u540d\u53c2\u6570\u53d1\u8d77API\u8bf7\u6c42&#xff0c;\u5b8c\u6210\u6307\u4ee4\u4e0b\u53d1\u3002<\/p>\n<\/li>\n<h2>\u56db\u3001\u5b8c\u6574PHP\u6e90\u7801\u5b9e\u73b0<\/h2>\n<h3>4.1 \u5168\u5c40\u914d\u7f6e\u6587\u4ef6 config.php<\/h3>\n<p>\u7edf\u4e00\u7ba1\u7406\u963f\u91cc\u4e91\u5bc6\u94a5\u3001\u5b9e\u4f8b\u4fe1\u606f\u3001Token\u89c4\u5219&#xff0c;\u9694\u79bb\u6838\u5fc3\u914d\u7f6e&#xff0c;\u65b9\u4fbf\u540e\u671f\u7ef4\u62a4&#xff1a;<\/p>\n<p>&lt;?php<br \/>\n\/\/ \u963f\u91cc\u4e91\u6838\u5fc3\u914d\u7f6e<br \/>\ndefine(&#039;ALIYUN_AK_ID&#039;, &#039;\u66ff\u6362\u4e3aRAM\u5b50\u8d26\u53f7AccessKey ID&#039;);<br \/>\ndefine(&#039;ALIYUN_AK_SECRET&#039;, &#039;\u66ff\u6362\u4e3aRAM\u5b50\u8d26\u53f7AccessKey Secret&#039;);<br \/>\ndefine(&#039;ALIYUN_REGION_ID&#039;, &#039;cn-hangzhou&#039;); \/\/ ECS\u5b9e\u4f8b\u6240\u5c5e\u5730\u57df<br \/>\ndefine(&#039;ECS_INSTANCE_ID&#039;, &#039;i-xxxxxxxxx&#039;); \/\/ \u76ee\u6807Windows ECS\u5b9e\u4f8bID<br \/>\ndefine(&#039;API_VERSION&#039;, &#039;2014-05-26&#039;);<\/p>\n<p>\/\/ \u4e00\u6b21\u6027Token\u914d\u7f6e<br \/>\ndefine(&#039;TOKEN_EXPIRE_SECONDS&#039;, 1800); \/\/ 30\u5206\u949f\u8d85\u65f6\u81ea\u52a8\u5931\u6548<br \/>\ndefine(&#039;TOKEN_DB_FILE&#039;, __DIR__ . &#039;\/token.db&#039;); \/\/ SQLite\u4ee4\u724c\u5b58\u50a8\u6587\u4ef6<\/p>\n<p>\/\/ \u56fa\u5b9a\u5b89\u5168\u6307\u4ee4&#xff1a;\u4ec5\u5141\u8bb8\u542f\u505cRDP&#xff0c;\u7981\u6b62\u81ea\u5b9a\u4e49\u547d\u4ee4&#xff08;\u9632\u6ce8\u5165&#xff09;<br \/>\n$cmdList &#061; [<br \/>\n    &#039;start&#039; &#061;&gt; &#039;Set-ItemProperty -Path \\\\&#039;HKLM:\\\\System\\\\CurrentControlSet\\\\Control\\\\Terminal Server\\\\&#039; -name &#034;fDenyTSConnections&#034; -Value 0;Enable-NetFirewallRule -DisplayGroup &#034;\u8fdc\u7a0b\u684c\u9762&#034;&#039;,<br \/>\n    &#039;stop&#039;  &#061;&gt; &#039;Set-ItemProperty -Path \\\\&#039;HKLM:\\\\System\\\\CurrentControlSet\\\\Control\\\\Terminal Server\\\\&#039; -name &#034;fDenyTSConnections&#034; -Value 1;Disable-NetFirewallRule -DisplayGroup &#034;\u8fdc\u7a0b\u684c\u9762&#034;&#039;<br \/>\n];<br \/>\n?&gt;<\/p>\n<h3>4.2 \u963f\u91cc\u4e91API\u7b7e\u540d\u5de5\u5177\u7c7b aliyunOpenApi.php<\/h3>\n<p>\u539f\u751fPHP\u5b9e\u73b0\u963f\u91cc\u4e91API\u7b7e\u540d\u4e0e\u8bf7\u6c42&#xff0c;\u8f7b\u91cf\u5316\u65e0\u4f9d\u8d56&#xff0c;\u4e13\u6ce8\u4e91\u52a9\u624b\u547d\u4ee4\u4e0b\u53d1&#xff1a;<\/p>\n<p>&lt;?php<br \/>\nclass AliyunOpenApi<br \/>\n{<br \/>\n    private $akId;<br \/>\n    private $akSecret;<br \/>\n    private $regionId;<br \/>\n    private $version;<\/p>\n<p>    public function __construct($akId, $akSecret, $regionId, $version)<br \/>\n    {<br \/>\n        $this-&gt;akId &#061; $akId;<br \/>\n        $this-&gt;akSecret &#061; $akSecret;<br \/>\n        $this-&gt;regionId &#061; $regionId;<br \/>\n        $this-&gt;version &#061; $version;<br \/>\n    }<\/p>\n<p>    \/\/ \u83b7\u53d6UTC\u6807\u51c6\u65f6\u95f4\u6233&#xff08;\u963f\u91cc\u4e91API\u5f3a\u5236\u8981\u6c42&#xff09;<br \/>\n    private function getUTCNow()<br \/>\n    {<br \/>\n        return gmdate(&#039;Y-m-d\\\\TH:i:s\\\\Z&#039;);<br \/>\n    }<\/p>\n<p>    \/\/ HMAC-SHA1\u7b7e\u540d\u751f\u6210<br \/>\n    private function makeSign($str, $secret)<br \/>\n    {<br \/>\n        return base64_encode(hash_hmac(&#039;sha1&#039;, $str, $secret, true));<br \/>\n    }<\/p>\n<p>    \/\/ \u4e0b\u53d1PowerShell\u811a\u672c\u6267\u884cRDP\u542f\u505c\u64cd\u4f5c<br \/>\n    public function runPowerShell($instanceId, $scriptContent)<br \/>\n    {<br \/>\n        \/\/ \u516c\u5171\u8bf7\u6c42\u53c2\u6570<br \/>\n        $publicParams &#061; [<br \/>\n            &#039;AccessKeyId&#039; &#061;&gt; $this-&gt;akId,<br \/>\n            &#039;Action&#039; &#061;&gt; &#039;RunCommand&#039;,<br \/>\n            &#039;Format&#039; &#061;&gt; &#039;JSON&#039;,<br \/>\n            &#039;RegionId&#039; &#061;&gt; $this-&gt;regionId,<br \/>\n            &#039;SignatureMethod&#039; &#061;&gt; &#039;HMAC-SHA1&#039;,<br \/>\n            &#039;SignatureVersion&#039; &#061;&gt; &#039;1.0&#039;,<br \/>\n            &#039;Timestamp&#039; &#061;&gt; $this-&gt;getUTCNow(),<br \/>\n            &#039;Version&#039; &#061;&gt; $this-&gt;version,<br \/>\n            &#039;SignatureNonce&#039; &#061;&gt; uniqid(&#039;&#039;, true)<br \/>\n        ];<\/p>\n<p>        \/\/ \u4e1a\u52a1\u8bf7\u6c42\u53c2\u6570<br \/>\n        $bizParams &#061; [<br \/>\n            &#039;InstanceId.1&#039; &#061;&gt; $instanceId,<br \/>\n            &#039;Type&#039; &#061;&gt; &#039;RunPowerShellScript&#039;,<br \/>\n            &#039;CommandContent&#039; &#061;&gt; $scriptContent<br \/>\n        ];<\/p>\n<p>        \/\/ \u53c2\u6570\u5408\u5e76\u6392\u5e8f&#xff08;\u7b7e\u540d\u5fc5\u5907\u89c4\u5219&#xff09;<br \/>\n        $allParams &#061; array_merge($publicParams, $bizParams);<br \/>\n        ksort($allParams);<\/p>\n<p>        \/\/ \u62fc\u63a5\u5f85\u7b7e\u540d\u5b57\u7b26\u4e32<br \/>\n        $strToSign &#061; &#034;GET&amp;%2F&amp;&#034;;<br \/>\n        $queryParts &#061; [];<br \/>\n        foreach ($allParams as $k &#061;&gt; $v) {<br \/>\n            $queryParts[] &#061; rawurlencode($k) . &#034;&#061;&#034; . rawurlencode($v);<br \/>\n        }<br \/>\n        $strToSign .&#061; implode(&#039;&amp;&#039;, $queryParts);<\/p>\n<p>        \/\/ \u751f\u6210\u6700\u7ec8\u7b7e\u540d<br \/>\n        $sign &#061; $this-&gt;makeSign($strToSign, $this-&gt;akSecret . &#039;&amp;&#039;);<br \/>\n        $allParams[&#039;Signature&#039;] &#061; $sign;<\/p>\n<p>        \/\/ \u53d1\u8d77API\u8bf7\u6c42<br \/>\n        $queryStr &#061; http_build_query($allParams);<br \/>\n        $apiUrl &#061; &#034;https:\/\/ecs.aliyuncs.com\/?{$queryStr}&#034;;<\/p>\n<p>        $ch &#061; curl_init($apiUrl);<br \/>\n        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);<br \/>\n        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);<br \/>\n        $resp &#061; curl_exec($ch);<br \/>\n        $err &#061; curl_error($ch);<br \/>\n        curl_close($ch);<\/p>\n<p>        if (!empty($err)) {<br \/>\n            return [&#039;code&#039; &#061;&gt; &#039;curl_err&#039;, &#039;msg&#039; &#061;&gt; $err];<br \/>\n        }<br \/>\n        return json_decode($resp, true);<br \/>\n    }<br \/>\n}<br \/>\n?&gt;<\/p>\n<h3>4.3 \u4e00\u6b21\u6027\u4ee4\u724c\u7ba1\u7406\u7c7b tokenDb.php<\/h3>\n<p>\u57fa\u4e8eSQLite\u8f7b\u91cf\u5316\u5b58\u50a8&#xff0c;\u5b9e\u73b0\u4ee4\u724c\u751f\u6210\u3001\u6821\u9a8c\u3001\u8fc7\u671f\u6e05\u7406\u3001\u5355\u6b21\u4f5c\u5e9f\u6838\u5fc3\u903b\u8f91&#xff1a;<\/p>\n<p>&lt;?php<br \/>\nrequire_once &#039;config.php&#039;;<\/p>\n<p>class TokenDb<br \/>\n{<br \/>\n    private $db;<\/p>\n<p>    public function __construct()<br \/>\n    {<br \/>\n        $this-&gt;db &#061; new PDO(&#034;sqlite:&#034; . TOKEN_DB_FILE);<br \/>\n        $this-&gt;db-&gt;setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);<br \/>\n        $this-&gt;initTable();<br \/>\n    }<\/p>\n<p>    \/\/ \u521d\u59cb\u5316\u4ee4\u724c\u6570\u636e\u8868<br \/>\n    private function initTable()<br \/>\n    {<br \/>\n        $sql &#061; &#034;CREATE TABLE IF NOT EXISTS token_list (<br \/>\n            id INTEGER PRIMARY KEY AUTOINCREMENT,<br \/>\n            token TEXT NOT NULL UNIQUE,<br \/>\n            create_time INTEGER NOT NULL,<br \/>\n            expire_time INTEGER NOT NULL,<br \/>\n            used INTEGER DEFAULT 0,<br \/>\n            bind_ip TEXT<br \/>\n        )&#034;;<br \/>\n        $this-&gt;db-&gt;exec($sql);<br \/>\n    }<\/p>\n<p>    \/\/ \u751f\u6210\u4e00\u6b21\u6027\u4ee4\u724c&#xff0c;\u652f\u6301\u7ed1\u5b9a\u6307\u5b9aIP<br \/>\n    public function createToken($bindIp &#061; &#039;&#039;)<br \/>\n    {<br \/>\n        $token &#061; bin2hex(random_bytes(16));<br \/>\n        $now &#061; time();<br \/>\n        $expire &#061; $now &#043; TOKEN_EXPIRE_SECONDS;<\/p>\n<p>        $stmt &#061; $this-&gt;db-&gt;prepare(&#034;INSERT INTO token_list(token, create_time, expire_time, bind_ip) VALUES (?, ?, ?, ?)&#034;);<br \/>\n        $stmt-&gt;execute([$token, $now, $expire, $bindIp]);<br \/>\n        return $token;<br \/>\n    }<\/p>\n<p>    \/\/ \u4ee4\u724c\u6821\u9a8c&#xff1a;\u672a\u8fc7\u671f\u3001\u672a\u4f7f\u7528\u3001IP\u5339\u914d<br \/>\n    public function checkToken($inputToken, $clientIp)<br \/>\n    {<br \/>\n        $now &#061; time();<br \/>\n        $stmt &#061; $this-&gt;db-&gt;prepare(&#034;<br \/>\n            SELECT * FROM token_list<br \/>\n            WHERE token &#061; ? AND used &#061; 0 AND expire_time &gt; ?<br \/>\n        &#034;);<br \/>\n        $stmt-&gt;execute([$inputToken, $now]);<br \/>\n        $row &#061; $stmt-&gt;fetch(PDO::FETCH_ASSOC);<\/p>\n<p>        if (empty($row)) return false;<br \/>\n        \/\/ \u6821\u9a8c\u7ed1\u5b9aIP<br \/>\n        if (!empty($row[&#039;bind_ip&#039;]) &amp;&amp; $row[&#039;bind_ip&#039;] !&#061;&#061; $clientIp) {<br \/>\n            return false;<br \/>\n        }<br \/>\n        \/\/ \u6807\u8bb0\u4e3a\u5df2\u4f7f\u7528&#xff0c;\u6c38\u4e45\u4f5c\u5e9f<br \/>\n        $this-&gt;markUsed($inputToken);<br \/>\n        return true;<br \/>\n    }<\/p>\n<p>    \/\/ \u6807\u8bb0\u4ee4\u724c\u5df2\u4f7f\u7528<br \/>\n    private function markUsed($token)<br \/>\n    {<br \/>\n        $stmt &#061; $this-&gt;db-&gt;prepare(&#034;UPDATE token_list SET used &#061; 1 WHERE token &#061; ?&#034;);<br \/>\n        $stmt-&gt;execute([$token]);<br \/>\n    }<\/p>\n<p>    \/\/ \u6e05\u7406\u6240\u6709\u8fc7\u671f\u4ee4\u724c<br \/>\n    public function clearExpire()<br \/>\n    {<br \/>\n        $now &#061; time();<br \/>\n        $this-&gt;db-&gt;exec(&#034;DELETE FROM token_list WHERE expire_time &lt; {$now}&#034;);<br \/>\n    }<br \/>\n}<br \/>\n?&gt;<\/p>\n<h3>4.4 \u524d\u7aef\u4ea4\u4e92\u4e3b\u63a7\u9875\u9762 index.php<\/h3>\n<p>\u7528\u6237\u64cd\u4f5c\u5165\u53e3&#xff0c;HTTPS\u5f3a\u5236\u52a0\u5bc6\u3001\u4ee4\u724c\u6821\u9a8c\u3001API\u8c03\u7528\u7ed3\u679c\u5c55\u793a&#xff1a;<\/p>\n<p>&lt;?php<br \/>\nheader(&#034;Content-Type: text\/html;charset&#061;utf-8&#034;);<br \/>\n\/\/ \u5f3a\u5236\u5168\u7ad9HTTPS<br \/>\nif (!isset($_SERVER[&#039;HTTPS&#039;]) || $_SERVER[&#039;HTTPS&#039;] !&#061;&#061; &#039;on&#039;) {<br \/>\n    header(&#034;Location: https:\/\/&#034; . $_SERVER[&#039;HTTP_HOST&#039;] . $_SERVER[&#039;REQUEST_URI&#039;]);<br \/>\n    exit;<br \/>\n}<\/p>\n<p>require_once &#039;config.php&#039;;<br \/>\nrequire_once &#039;aliyunOpenApi.php&#039;;<br \/>\nrequire_once &#039;tokenDb.php&#039;;<\/p>\n<p>$msg &#061; &#039;&#039;;<br \/>\n$clientIp &#061; $_SERVER[&#039;REMOTE_ADDR&#039;];<br \/>\n$tokenDb &#061; new TokenDb();<br \/>\n$tokenDb-&gt;clearExpire();<\/p>\n<p>\/\/ \u5904\u7406\u8868\u5355\u63d0\u4ea4<br \/>\nif ($_SERVER[&#039;REQUEST_METHOD&#039;] &#061;&#061;&#061; &#039;POST&#039;) {<br \/>\n    $inputToken &#061; trim($_POST[&#039;token&#039;] ?? &#039;&#039;);<br \/>\n    $action &#061; trim($_POST[&#039;action&#039;] ?? &#039;&#039;);<\/p>\n<p>    if (empty($inputToken) || !in_array($action, [&#039;start&#039;, &#039;stop&#039;])) {<br \/>\n        $msg &#061; &#039;\u53c2\u6570\u9519\u8bef&#xff0c;\u8bf7\u586b\u5199\u5408\u6cd5\u4ee4\u724c\u5e76\u9009\u62e9\u64cd\u4f5c\u7c7b\u578b&#039;;<br \/>\n    } elseif (!$tokenDb-&gt;checkToken($inputToken, $clientIp)) {<br \/>\n        $msg &#061; &#039;\u4ee4\u724c\u65e0\u6548\u3001\u5df2\u4f7f\u7528\u6216\u5df2\u8d85\u65f6&#xff0c;\u8bf7\u91cd\u65b0\u83b7\u53d6&#039;;<br \/>\n    } else {<br \/>\n        \/\/ \u8c03\u7528\u963f\u91cc\u4e91API\u6267\u884c\u64cd\u4f5c<br \/>\n        $api &#061; new AliyunOpenApi(ALIYUN_AK_ID, ALIYUN_AK_SECRET, ALIYUN_REGION_ID, API_VERSION);<br \/>\n        $script &#061; $cmdList[$action];<br \/>\n        $res &#061; $api-&gt;runPowerShell(ECS_INSTANCE_ID, $script);<\/p>\n<p>        if (isset($res[&#039;InvocationId&#039;])) {<br \/>\n            $opText &#061; $action &#061;&#061;&#061; &#039;start&#039; ? &#039;\u5f00\u542f&#039; : &#039;\u5173\u95ed&#039;;<br \/>\n            $msg &#061; &#034;\u6307\u4ee4\u4e0b\u53d1\u6210\u529f&#xff01;\u5df2{$opText}\u670d\u52a1\u5668RDP\u8fdc\u7a0b\u684c\u9762&#xff0c;\u751f\u6548\u8017\u65f630~60\u79d2&#xff0c;\u4efb\u52a1ID&#xff1a;{$res[&#039;InvocationId&#039;]}&#034;;<br \/>\n        } else {<br \/>\n            $msg &#061; &#034;\u64cd\u4f5c\u5931\u8d25&#xff1a;&#034; . ($res[&#039;Message&#039;] ?? json_encode($res));<br \/>\n        }<br \/>\n    }<br \/>\n}<br \/>\n?&gt;<br \/>\n&lt;!DOCTYPE html&gt;<br \/>\n&lt;html lang&#061;&#034;zh-CN&#034;&gt;<br \/>\n&lt;head&gt;<br \/>\n    &lt;meta charset&#061;&#034;UTF-8&#034;&gt;<br \/>\n    &lt;title&gt;ECS\u670d\u52a1\u5668RDP\u8fdc\u7a0b\u684c\u9762\u5b89\u5168\u7ba1\u63a7\u5e73\u53f0&lt;\/title&gt;<br \/>\n    &lt;style&gt;<br \/>\n        .box{width:450px;margin:80px auto;padding:30px;border:1px #e5e7eb solid;border-radius:12px;box-shadow:0 2px 12px #f0f0f0;}<br \/>\n        .title{text-align:center;margin-bottom:25px;color:#1f2937;}<br \/>\n        .msg{padding:12px;margin-bottom:20px;border-radius:6px;background:#f0f7ff;color:#165dff;}<br \/>\n        input,select{width:100%;box-sizing:border-box;margin:10px 0;padding:12px;font-size:15px;border:1px #dcdfe6 solid;border-radius:6px;}<br \/>\n        button{width:100%;padding:13px;background:#165dff;color:#fff;border:none;border-radius:6px;font-size:16px;cursor:pointer;}<br \/>\n        button:hover{background:#0e42d2;}<br \/>\n    &lt;\/style&gt;<br \/>\n&lt;\/head&gt;<br \/>\n&lt;body&gt;<br \/>\n&lt;div class&#061;&#034;box&#034;&gt;<br \/>\n    &lt;h3 class&#061;&#034;title&#034;&gt;ECS RDP\u8fdc\u7a0b\u684c\u9762\u5b89\u5168\u7ba1\u63a7&lt;\/h3&gt;<br \/>\n    &lt;?php if (!empty($msg)): ?&gt;<br \/>\n        &lt;div class&#061;&#034;msg&#034;&gt;&lt;?php echo htmlspecialchars($msg); ?&gt;&lt;\/div&gt;<br \/>\n    &lt;?php endif; ?&gt;<br \/>\n    &lt;form method&#061;&#034;POST&#034;&gt;<br \/>\n        &lt;input type&#061;&#034;text&#034; name&#061;&#034;token&#034; placeholder&#061;&#034;\u8bf7\u8f93\u5165\u4e00\u6b21\u6027\u5b89\u5168\u4ee4\u724c&#034; required autocomplete&#061;&#034;off&#034;&gt;<br \/>\n        &lt;select name&#061;&#034;action&#034; required&gt;<br \/>\n            &lt;option value&#061;&#034;start&#034;&gt;\u5f00\u542f\u670d\u52a1\u5668RDP\u8fdc\u7a0b\u684c\u9762&lt;\/option&gt;<br \/>\n            &lt;option value&#061;&#034;stop&#034;&gt;\u5173\u95ed\u670d\u52a1\u5668RDP\u8fdc\u7a0b\u684c\u9762&lt;\/option&gt;<br \/>\n        &lt;\/select&gt;<br \/>\n        &lt;button type&#061;&#034;submit&#034;&gt;\u63d0\u4ea4\u6267\u884c\u8fdc\u7a0b\u64cd\u4f5c&lt;\/button&gt;<br \/>\n    &lt;\/form&gt;<br \/>\n&lt;\/div&gt;<br \/>\n&lt;\/body&gt;<br \/>\n&lt;\/html&gt;<\/p>\n<h3>4.5 \u7ba1\u7406\u5458\u4ee4\u724c\u751f\u6210\u5de5\u5177 createToken.php<\/h3>\n<p>\u4ec5\u7ba1\u7406\u5458\u53ef\u8bbf\u95ee&#xff0c;\u751f\u6210\u4e00\u6b21\u6027\u3001\u9650\u65f6\u3001\u53ef\u7ed1\u5b9aIP\u7684\u8bbf\u95ee\u4ee4\u724c&#xff1a;<\/p>\n<p>&lt;?php<br \/>\n\/\/ \u53ef\u6dfb\u52a0\u7ba1\u7406\u5458IP\u767d\u540d\u5355&#xff0c;\u9650\u5236\u8bbf\u95ee<br \/>\n$allowIp &#061; [&#039;127.0.0.1&#039;,&#039;\u7ba1\u7406\u5458\u516c\u7f51IP&#039;];<br \/>\nif (!in_array($_SERVER[&#039;REMOTE_ADDR&#039;], $allowIp)) {<br \/>\n    exit(&#039;\u65e0\u8bbf\u95ee\u6743\u9650&#039;);<br \/>\n}<\/p>\n<p>require_once &#039;tokenDb.php&#039;;<br \/>\n$tokenDb &#061; new TokenDb();<br \/>\n$bindIp &#061; trim($_GET[&#039;bind_ip&#039;] ?? &#039;&#039;);<br \/>\n$newToken &#061; $tokenDb-&gt;createToken($bindIp);<\/p>\n<p>echo &#034;&lt;h3&gt;\u2705 \u4e00\u6b21\u6027\u5b89\u5168\u4ee4\u724c\u751f\u6210\u6210\u529f&lt;\/h3&gt;&#034;;<br \/>\necho &#034;&lt;p&gt;&lt;strong&gt;\u8bbf\u95ee\u4ee4\u724c&#xff1a;&lt;\/strong&gt;{$newToken}&lt;\/p&gt;&#034;;<br \/>\necho &#034;&lt;p&gt;&lt;strong&gt;\u6709\u6548\u65f6\u957f&#xff1a;&lt;\/strong&gt;30\u5206\u949f&#xff0c;\u5355\u6b21\u4f7f\u7528\u540e\u7acb\u5373\u6c38\u4e45\u5931\u6548&lt;\/p&gt;&#034;;<br \/>\nif (!empty($bindIp)) echo &#034;&lt;p&gt;&lt;strong&gt;\u7ed1\u5b9a\u8bbf\u95eeIP&#xff1a;&lt;\/strong&gt;{$bindIp}&lt;\/p&gt;&#034;;<br \/>\necho &#034;&lt;p&gt;&lt;strong&gt;\u4f7f\u7528\u8bf4\u660e&#xff1a;&lt;\/strong&gt;\u590d\u5236\u4ee4\u724c\u81f3\u7ba1\u63a7\u5e73\u53f0&#xff0c;\u5373\u53ef\u542f\u505c\u670d\u52a1\u5668RDP\u8fdc\u7a0b\u684c\u9762&lt;\/p&gt;&#034;;<br \/>\n?&gt;<\/p>\n<h2>\u4e94\u3001\u5b8c\u6574\u90e8\u7f72\u4f7f\u7528\u6d41\u7a0b<\/h2>\n<li>\n<p>\u5c06\u6240\u6709PHP\u6587\u4ef6\u4e0a\u4f20\u81f3\u652f\u6301HTTPS\u3001PHP&#043;SQLite\u7684\u7f51\u7ad9\u76ee\u5f55&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u4fee\u6539config.php\u4e2d\u7684\u963f\u91cc\u4e91AK\u3001\u5730\u57df\u3001ECS\u5b9e\u4f8bID\u7b49\u6838\u5fc3\u53c2\u6570&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u914d\u7f6ecreateToken.php\u7ba1\u7406\u5458IP\u767d\u540d\u5355&#xff0c;\u9632\u6b62\u975e\u6cd5\u8bbf\u95ee&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u7ba1\u7406\u5458\u8bbf\u95ee\u4ee4\u724c\u751f\u6210\u9875\u9762&#xff0c;\u751f\u6210\u4e00\u6b21\u6027\u4ee4\u724c&#xff08;\u53ef\u7ed1\u5b9a\u7528\u6237IP&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u7528\u6237\u8bbf\u95ee\u524d\u7aef\u7ba1\u63a7\u9875\u9762&#xff0c;\u8f93\u5165\u4ee4\u724c\u3001\u9009\u62e9\u64cd\u4f5c&#xff0c;\u5373\u53ef\u8fdc\u7a0b\u542f\u505cRDP\u670d\u52a1&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u64cd\u4f5c\u5b8c\u6210\u540e\u4ee4\u724c\u81ea\u52a8\u4f5c\u5e9f&#xff0c;\u65e0\u9700\u624b\u52a8\u56de\u6536\u3002<\/p>\n<\/li>\n<h2>\u516d\u3001\u5168\u65b9\u4f4d\u5b89\u5168\u52a0\u56fa\u65b9\u6848<\/h2>\n<li>\n<p>\u5bc6\u94a5\u9694\u79bb&#xff1a;AK\u5bc6\u94a5\u4ec5\u5b58\u540e\u7aef&#xff0c;\u524d\u7aef\u65e0\u4efb\u4f55\u5bc6\u94a5\u4fe1\u606f&#xff0c;\u675c\u7edd\u6e90\u7801\u6cc4\u9732\u3001\u6293\u5305\u7a83\u53d6\u98ce\u9669&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6700\u5c0f\u6743\u9650&#xff1a;RAM\u5b50\u8d26\u53f7\u4ec5\u7ba1\u63a7\u5355\u53f0ECS&#xff0c;\u65e0\u591a\u4f59\u4e91\u8d44\u6e90\u64cd\u4f5c\u6743\u9650&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u96f6\u7aef\u53e3\u66b4\u9732&#xff1a;\u6c38\u4e45\u5c01\u79813389\u7aef\u53e3\u5165\u7ad9&#xff0c;\u5f7b\u5e95\u675c\u7eddRDP\u66b4\u529b\u7834\u89e3&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u4ee4\u724c\u5b89\u5168&#xff1a;\u4e00\u6b21\u4e00\u5bc6\u3001\u8d85\u65f6\u4f5c\u5e9f\u3001IP\u7ed1\u5b9a\u4e09\u91cd\u9274\u6743&#xff1b;<\/p>\n<\/li>\n<li>\n<p>API\u767d\u540d\u5355&#xff1a;RAM\u540e\u53f0\u9650\u5236AK\u4ec5\u540e\u7aef\u670d\u52a1\u5668IP\u53ef\u8c03\u7528&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u64cd\u4f5c\u5ba1\u8ba1&#xff1a;\u5f00\u542f\u963f\u91cc\u4e91ActionTrail&#xff0c;\u5b8c\u6574\u8bb0\u5f55\u6240\u6709\u8fdc\u7a0b\u64cd\u4f5c\u65e5\u5fd7&#xff0c;\u53ef\u6eaf\u6e90\u8ffd\u8d23&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u9632\u6ce8\u5165&#xff1a;\u540e\u7aef\u56fa\u5b9a\u6307\u4ee4&#xff0c;\u7981\u6b62\u5916\u90e8\u4f20\u5165\u81ea\u5b9a\u4e49\u811a\u672c&#xff0c;\u675c\u7edd\u547d\u4ee4\u6ce8\u5165\u653b\u51fb\u3002<\/p>\n<\/li>\n<h2>\u4e03\u3001\u5e38\u89c1\u95ee\u9898\u6392\u67e5<\/h2>\n<ul>\n<li>\n<p>API\u6743\u9650\u62a5\u9519&#xff1a;\u68c0\u67e5RAM\u7b56\u7565\u5b9e\u4f8bID\u3001AK\u5bc6\u94a5\u3001API\u8c03\u7528IP\u767d\u540d\u5355\u662f\u5426\u914d\u7f6e\u6b63\u786e&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6307\u4ee4\u4e0b\u53d1\u6210\u529f\u65e0\u6548\u679c&#xff1a;\u7b49\u5f8530~60\u79d2\u751f\u6548&#xff0c;\u68c0\u67e5\u670d\u52a1\u5668\u4e91\u52a9\u624bAgent\u662f\u5426\u6b63\u5e38\u5728\u7ebf\u3001\u5916\u7f51\u662f\u5426\u901a\u7545&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u4ee4\u724c\u6821\u9a8c\u5931\u8d25&#xff1a;\u786e\u8ba4\u4ee4\u724c\u672a\u8d85\u65f6\u3001\u672a\u4f7f\u7528\u3001\u8bbf\u95eeIP\u4e0e\u7ed1\u5b9aIP\u4e00\u81f4&#xff1b;<\/p>\n<\/li>\n<li>\n<p>curl\u8bf7\u6c42\u5f02\u5e38&#xff1a;\u68c0\u67e5\u540e\u7aef\u670d\u52a1\u5668\u5916\u7f51\u8fde\u901a\u6027\u3001SSL\u8bc1\u4e66\u662f\u5426\u6b63\u5e38\u3002<\/p>\n<\/li>\n<\/ul>\n<h2>\u4eba\u4eba\u7686\u4e3a\u521b\u9020\u8005&#xff0c;\u5171\u521b\u65b9\u80fd\u5171\u6210\u957f<\/h2>\n<p>\u6bcf\u4e2a\u4eba\u90fd\u662f\u4f7f\u7528\u8005&#xff0c;\u4e5f\u662f\u521b\u9020\u8005&#xff1b;\u662f\u6570\u5b57\u4e16\u754c\u7684\u6d88\u8d39\u8005&#xff0c;\u66f4\u662f\u4ef7\u503c\u7684\u751f\u4ea7\u8005\u4e0e\u5206\u4eab\u8005\u3002\u5728\u667a\u80fd\u65f6\u4ee3\u7684\u6d6a\u6f6e\u91cc&#xff0c;\u5355\u6253\u72ec\u6597\u7684\u53d1\u5c55\u6a21\u5f0f\u65e9\u5df2\u843d\u5e55&#xff0c;\u552f\u6709\u5f00\u653e\u8fde\u63a5\u3001\u521b\u610f\u5171\u521b\u3001\u5229\u76ca\u5171\u4eab&#xff0c;\u624d\u80fd\u8ba9\u4e2a\u4f53\u4ef7\u503c\u6c47\u805a\u6210\u751f\u6001\u5408\u529b&#xff0c;\u8ba9\u6280\u672f\u4e0e\u521b\u610f\u53cc\u5411\u5954\u8d74&#xff0c;\u5b9e\u73b0\u5e73\u53f0\u4e0e\u4f19\u4f34\u7684\u5feb\u901f\u6210\u957f\u3001\u5171\u8d62\u81f4\u8fdc\u3002<\/p>\n<p>\u539f\u521b\u6c38\u4e45\u5206\u6210&#xff0c;\u5171\u8d74\u661f\u8fb0\u5927\u6d77<\/p>\n<p>\n\u539f\u521b\u521b\u610f\u5171\u521b\u3001\u6c38\u4e45\u6536\u76ca\u5206\u6210&#xff0c;\u662f\u4e1c\u65b9\u4ed9\u76df\u59cb\u7ec8\u575a\u5b88\u7684\u6838\u5fc3\u7406\u5ff5\u3002\u6211\u4eec\u575a\u4fe1&#xff0c;\u6bcf\u4e00\u4efd\u539f\u521b\u667a\u6167\u90fd\u503c\u5f97\u88ab\u5c0a\u91cd\u4e0e\u56de\u9988&#xff0c;\u4ee5\u6c38\u4e45\u5206\u6210\u951a\u5b9a\u5171\u521b\u521d\u5fc3&#xff0c;\u8ba9\u521b\u610f\u8005\u957f\u671f\u4eab\u6709\u4ef7\u503c\u7ea2\u5229&#xff0c;\u643a\u624b\u4e07\u5343\u4f19\u4f34\u5411\u7740\u79d1\u6280\u661f\u8fb0\u5927\u6d77\u7b03\u5b9a\u524d\u884c&#xff0c;\u62e5\u62b1\u7845\u57fa \u00a0 \u00a0 \u00a0\u751f\u547d\u4e0e\u6570\u5b57\u667a\u80fd\u4ea4\u878d\u7684\u672a\u6765&#xff0c;\u5171\u7b51\u8de8\u8d8a\u65f6\u4ee3\u7684\u6570\u5b57\u6587\u660e\u5171\u540c\u4f53\u3002<\/p>\n<h2>\u4e1c\u65b9\u4ed9\u76df&#xff1a;\u62e5\u62b1\u77e5\u8bc6\u5f00\u6e90&#xff0c;\u5171\u7b51\u6570\u5b57\u65b0\u751f\u6001<\/h2>\n<p>\n\u5728\u5168\u7403\u5316\u4e0e\u6570\u5b57\u5316\u6d6a\u6f6e\u4e2d&#xff0c;\u4e1c\u65b9\u4ed9\u76df\u59cb\u7ec8\u79c9\u6301\u5f00\u653e\u534f\u4f5c\u3001\u77e5\u8bc6\u5171\u4eab\u7684\u7406\u5ff5&#xff0c;\u79ef\u6781\u62e5\u62b1\u5f00\u6e90\u6280\u672f\u4e0e\u5f00\u653e\u6807\u51c6\u3002\u6211\u4eec\u76f8\u4fe1&#xff0c;\u552f\u6709\u6253\u7834\u6280\u672f\u58c1\u5792\u3001\u6c47\u805a\u5168\u7403\u667a\u6167&#xff0c;\u624d\u80fd\u771f\u6b63\u63a8\u52a8\u884c\u4e1a\u7684\u53ef\u6301\u7eed\u53d1\u5c55\u3002<\/p>\n<p>\u5f00\u6e90\u8d4b\u80fd\u4e2d\u5c0f\u5546\u6237&#xff1a;\u901a\u8fc7\u5c06\u524d\u7aef\u5f02\u5e38\u68c0\u6d4b\u3001\u8de8\u7cfb\u7edf\u6570\u636e\u4e92\u8054\u7b49\u6838\u5fc3\u80fd\u529b\u5f00\u6e90\u5316&#xff0c;\u4e1c\u65b9\u4ed9\u76df\u4e3a\u5168\u7403\u4e2d\u5c0f\u5546\u6237\u63d0\u4f9b\u4e86\u4f4e\u6210\u672c\u3001\u9ad8\u53ef\u9760\u7684\u6280\u672f\u89e3\u51b3\u65b9\u6848&#xff0c;\u8ba9\u66f4\u591a\u5546\u5bb6\u80fd\u591f\u5e73\u7b49\u4eab\u53d7\u6570\u5b57\u8f6c\u578b\u7684\u7ea2\u5229\u3002<br \/>\n\u5171\u5efa\u884c\u4e1a\u6807\u51c6&#xff1a;\u6211\u4eec\u79ef\u6781\u53c2\u4e0e\u56fd\u9645\u6280\u672f\u793e\u533a&#xff0c;\u4e0e\u5168\u7403\u5f00\u53d1\u8005\u3001\u5408\u4f5c\u4f19\u4f34\u5171\u540c\u5236\u5b9a\u5f00\u653e\u534f\u8bae \u00a0 \u00a0 \u4e0e\u6280\u672f\u89c4\u8303&#xff0c;\u63a8\u52a8\u8de8\u5883\u96f6\u552e\u3001\u6587\u65c5\u3001\u9910\u996e\u7b49\u591a\u4e1a\u6001\u7684\u7cfb\u7edf\u4e92\u8054\u4e92\u901a&#xff0c;\u6784\u5efa\u66f4\u52a0\u516c\u5e73\u3001\u9ad8\u6548\u7684\u6570\u5b57\u751f\u6001\u3002<br \/>\n\u77e5\u8bc6\u666e\u60e0&#xff0c;\u5171\u4fc3\u53d1\u5c55&#xff1a;\u901a\u8fc7\u5f00\u6e90\u793e\u533a \u00a0 \u00a0 \u00a0 \u3001\u6280\u672f\u6587\u6863\u4e0e\u57f9\u8bad\u4f53\u7cfb&#xff0c;\u4e1c\u65b9\u4ed9\u76df\u81f4\u529b\u4e8e\u5c06\u524d\u6cbf\u6280\u672f\u8f6c\u5316\u4e3a\u53ef\u843d\u5730\u7684\u884c\u4e1a\u5b9e\u8df5&#xff0c;\u8d4b\u80fd\u5168\u7403\u5408\u4f5c\u4f19\u4f34&#xff0c;\u5171\u540c\u57f9\u80b2\u521b\u65b0\u4eba\u624d&#xff0c;\u63a8\u52a8\u6570\u5b57\u7ecf\u6d4e \u00a0\u7684\u666e\u60e0\u5f0f\u589e\u957f<\/p>\n<h2>\n\u963f\u96ea\u6280\u672f\u89c2<\/h2>\n<p>\u5728\u79d1\u6280\u53d1\u5c55\u6d6a\u6f6e\u4e2d&#xff0c;\u6211\u4eec\u4e0d\u59a8\u79ef\u6781\u6295\u8eab\u6280\u672f\u5171\u4eab\u3002\u4e0d\u6ee1\u8db3\u4e8e\u505a\u53d7\u76ca\u8005&#xff0c;\u66f4\u8981\u4e3b\u52a8\u62c5\u5f53\u8d21\u732e\u8005 \u00a0\u3002\u65e0\u8bba\u662f\u5206\u4eab\u4ee3\u7801\u3001\u64b0\u5199\u6280\u672f\u535a\u5ba2&#xff0c;\u8fd8\u662f\u53c2\u4e0e\u5f00\u6e90\u9879\u76ee \u00a0 \u00a0 \u7ef4\u62a4\u6539\u8fdb&#xff0c;\u6bcf\u4e00\u4e2a\u5fae\u5c0f\u4e3e\u52a8\u90fd\u53ef\u80fd\u8574\u542b\u63a8\u52a8\u6280\u672f\u8fdb\u6b65\u7684\u5de8\u5927\u80fd\u91cf\u3002\u4e1c\u65b9\u4ed9\u76df\u662f\u6c47\u805a\u529b\u91cf\u7684\u5929\u5730&#xff0c;\u6211\u4eec\u643a\u624b\u5728\u6b64\u63a2\u7d22\u7845\u57fa \u751f\u547d&#xff0c;\u4e3a\u79d1\u6280\u8fdb\u6b65\u6dfb\u7816\u52a0\u74e6\u3002<\/p>\n<p>Hey folks, in this \u00a0 \u00a0wild tech &#8211; driven world, why not dive headfirst into the whole tech &#8211; sharing scene? Don&#039;t just \u00a0be the one reaping all the benefits; step up and be a contributor too. Whether you&#039;re tossing out your code snippets \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 , hammering out some tech blogs, or getting your hands dirty with maintaining and sprucing up open &#8211; source projects, every little thing you do might just end up being a massive force that pushes tech forward. And guess what? The Eastern FairyAlliance is this awesome \u00a0 \u00a0 \u00a0 \u00a0 place where we all come together. We&#039;re gonna team up and explore the whole silicon &#8211; based life thing, and in the process, we&#039;ll be fueling the growth of technology<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u65b9\u6848\u6982\u8ff0\u672c\u6587\u57fa\u4e8ePHP\u540e\u7aef\u963f\u91cc\u4e91ECS\u4e91\u52a9\u624bRunCommand API&#xff0c;\u5b9e\u73b0Windows ECS\u670d\u52a1\u5668RDP\u8fdc\u7a0b\u684c\u9762\u7684\u8fdc\u7a0b\u5f00\u542f\u3001\u5173\u95ed\u7ba1\u63a7\u80fd\u529b\u3002\u5168\u7a0b\u9075\u5faa\u6700\u5c0f\u6743\u9650\u3001\u96f6\u7aef\u53e3\u66b4\u9732\u3001\u5bc6\u94a5\u9694\u79bb\u7684\u5b89\u5168\u8fd0\u7ef4\u89c4\u8303&#xff0c;\u5f7b\u5e95\u89e3\u51b3\u4f20\u7edfRDP\u76f4\u63a5\u5bf9\u5916\u5f00\u653e3389\u7aef\u53e3\u7684\u9ad8\u5371\u6f0f\u6d1e\u3002\u65b9\u6848\u6838\u5fc3\u903b\u8f91&#xff1a;\u524d\u7aef\u4ec5\u505a\u4ea4\u4e92\u5c55\u793a&#xff0c;\u963f\u91cc\u4e91AccessKey\u5bc6\u94a5\u4ec5\u7559\u5b58PHP\u540e\u7aef&#xff0c;\u901a\u8fc7\u4e00\u6b21\u6027\u4e34\u65f6Token\u9274\u6743&#xff0c;\u540e\u7aef\u7b7e\u540d\u8c03\u7528\u963f\u91cc\u4e91\u5b98\u65b9API&amp;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[4279,3839,43,774,44],"topic":[],"class_list":["post-82490","post","type-post","status-publish","format-standard","hentry","category-server","tag-4279","tag-ide","tag-43","tag-774","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u963f\u91cc\u4e91\u4e91\u52a9\u624bAPI \u5b9e\u73b0ECS\u670d\u52a1\u5668RDP\u8fdc\u7a0b\u542f\u505c\u7ba1\u63a7\u65b9\u6848(\u4e94\u5341\u4e8c)-\u4e1c\u65b9\u4ed9\u76df - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/82490.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u963f\u91cc\u4e91\u4e91\u52a9\u624bAPI \u5b9e\u73b0ECS\u670d\u52a1\u5668RDP\u8fdc\u7a0b\u542f\u505c\u7ba1\u63a7\u65b9\u6848(\u4e94\u5341\u4e8c)-\u4e1c\u65b9\u4ed9\u76df - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u4e00\u3001\u65b9\u6848\u6982\u8ff0\u672c\u6587\u57fa\u4e8ePHP\u540e\u7aef\u963f\u91cc\u4e91ECS\u4e91\u52a9\u624bRunCommand API&#xff0c;\u5b9e\u73b0Windows ECS\u670d\u52a1\u5668RDP\u8fdc\u7a0b\u684c\u9762\u7684\u8fdc\u7a0b\u5f00\u542f\u3001\u5173\u95ed\u7ba1\u63a7\u80fd\u529b\u3002\u5168\u7a0b\u9075\u5faa\u6700\u5c0f\u6743\u9650\u3001\u96f6\u7aef\u53e3\u66b4\u9732\u3001\u5bc6\u94a5\u9694\u79bb\u7684\u5b89\u5168\u8fd0\u7ef4\u89c4\u8303&#xff0c;\u5f7b\u5e95\u89e3\u51b3\u4f20\u7edfRDP\u76f4\u63a5\u5bf9\u5916\u5f00\u653e3389\u7aef\u53e3\u7684\u9ad8\u5371\u6f0f\u6d1e\u3002\u65b9\u6848\u6838\u5fc3\u903b\u8f91&#xff1a;\u524d\u7aef\u4ec5\u505a\u4ea4\u4e92\u5c55\u793a&#xff0c;\u963f\u91cc\u4e91AccessKey\u5bc6\u94a5\u4ec5\u7559\u5b58PHP\u540e\u7aef&#xff0c;\u901a\u8fc7\u4e00\u6b21\u6027\u4e34\u65f6Token\u9274\u6743&#xff0c;\u540e\u7aef\u7b7e\u540d\u8c03\u7528\u963f\u91cc\u4e91\u5b98\u65b9API&amp;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/82490.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-25T01:33:39+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/82490.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/82490.html\",\"name\":\"\u963f\u91cc\u4e91\u4e91\u52a9\u624bAPI \u5b9e\u73b0ECS\u670d\u52a1\u5668RDP\u8fdc\u7a0b\u542f\u505c\u7ba1\u63a7\u65b9\u6848(\u4e94\u5341\u4e8c)-\u4e1c\u65b9\u4ed9\u76df - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-25T01:33:39+00:00\",\"dateModified\":\"2026-07-25T01:33:39+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/82490.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/82490.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/82490.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u963f\u91cc\u4e91\u4e91\u52a9\u624bAPI \u5b9e\u73b0ECS\u670d\u52a1\u5668RDP\u8fdc\u7a0b\u542f\u505c\u7ba1\u63a7\u65b9\u6848(\u4e94\u5341\u4e8c)-\u4e1c\u65b9\u4ed9\u76df\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u963f\u91cc\u4e91\u4e91\u52a9\u624bAPI \u5b9e\u73b0ECS\u670d\u52a1\u5668RDP\u8fdc\u7a0b\u542f\u505c\u7ba1\u63a7\u65b9\u6848(\u4e94\u5341\u4e8c)-\u4e1c\u65b9\u4ed9\u76df - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/82490.html","og_locale":"zh_CN","og_type":"article","og_title":"\u963f\u91cc\u4e91\u4e91\u52a9\u624bAPI \u5b9e\u73b0ECS\u670d\u52a1\u5668RDP\u8fdc\u7a0b\u542f\u505c\u7ba1\u63a7\u65b9\u6848(\u4e94\u5341\u4e8c)-\u4e1c\u65b9\u4ed9\u76df - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u4e00\u3001\u65b9\u6848\u6982\u8ff0\u672c\u6587\u57fa\u4e8ePHP\u540e\u7aef\u963f\u91cc\u4e91ECS\u4e91\u52a9\u624bRunCommand API&#xff0c;\u5b9e\u73b0Windows ECS\u670d\u52a1\u5668RDP\u8fdc\u7a0b\u684c\u9762\u7684\u8fdc\u7a0b\u5f00\u542f\u3001\u5173\u95ed\u7ba1\u63a7\u80fd\u529b\u3002\u5168\u7a0b\u9075\u5faa\u6700\u5c0f\u6743\u9650\u3001\u96f6\u7aef\u53e3\u66b4\u9732\u3001\u5bc6\u94a5\u9694\u79bb\u7684\u5b89\u5168\u8fd0\u7ef4\u89c4\u8303&#xff0c;\u5f7b\u5e95\u89e3\u51b3\u4f20\u7edfRDP\u76f4\u63a5\u5bf9\u5916\u5f00\u653e3389\u7aef\u53e3\u7684\u9ad8\u5371\u6f0f\u6d1e\u3002\u65b9\u6848\u6838\u5fc3\u903b\u8f91&#xff1a;\u524d\u7aef\u4ec5\u505a\u4ea4\u4e92\u5c55\u793a&#xff0c;\u963f\u91cc\u4e91AccessKey\u5bc6\u94a5\u4ec5\u7559\u5b58PHP\u540e\u7aef&#xff0c;\u901a\u8fc7\u4e00\u6b21\u6027\u4e34\u65f6Token\u9274\u6743&#xff0c;\u540e\u7aef\u7b7e\u540d\u8c03\u7528\u963f\u91cc\u4e91\u5b98\u65b9API&amp;","og_url":"https:\/\/www.wsisp.com\/helps\/82490.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-25T01:33:39+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"8 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/82490.html","url":"https:\/\/www.wsisp.com\/helps\/82490.html","name":"\u963f\u91cc\u4e91\u4e91\u52a9\u624bAPI \u5b9e\u73b0ECS\u670d\u52a1\u5668RDP\u8fdc\u7a0b\u542f\u505c\u7ba1\u63a7\u65b9\u6848(\u4e94\u5341\u4e8c)-\u4e1c\u65b9\u4ed9\u76df - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-25T01:33:39+00:00","dateModified":"2026-07-25T01:33:39+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/82490.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/82490.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/82490.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u963f\u91cc\u4e91\u4e91\u52a9\u624bAPI \u5b9e\u73b0ECS\u670d\u52a1\u5668RDP\u8fdc\u7a0b\u542f\u505c\u7ba1\u63a7\u65b9\u6848(\u4e94\u5341\u4e8c)-\u4e1c\u65b9\u4ed9\u76df"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/82490","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=82490"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/82490\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=82490"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=82490"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=82490"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=82490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}