{"id":121396,"date":"2026-11-02T17:32:43","date_gmt":"2026-11-02T09:32:43","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/121396.html"},"modified":"2026-11-02T17:32:43","modified_gmt":"2026-11-02T09:32:43","slug":"%e5%9c%a8%e8%87%aa%e5%8a%a8%e5%8c%96%e8%84%9a%e6%9c%ac%e4%b8%ad%e8%b0%83%e7%94%a8%e8%af%ad%e9%9f%b3%e5%90%88%e6%88%90%ef%bc%88%e6%96%87%e6%9c%ac%e8%bd%ac%e5%a3%b0%e9%9f%b3%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/121396.html","title":{"rendered":"\u5728\u81ea\u52a8\u5316\u811a\u672c\u4e2d\u8c03\u7528\u8bed\u97f3\u5408\u6210\uff08\u6587\u672c\u8f6c\u58f0\u97f3\uff09"},"content":{"rendered":"<p>\u81ea\u52a8\u5316\u811a\u672c\u91cc\u52a0\u8bed\u97f3\u64ad\u62a5&#xff0c;\u8fd9\u4ef6\u4e8b\u672c\u8eab\u4e0d\u590d\u6742&#xff0c;\u4f46\u5bb9\u6613\u505a\u504f\u3002\u5f88\u591a\u4eba\u7b2c\u4e00\u53cd\u5e94\u662f\u53bb\u627e\u4e00\u4e2a\u201c\u529f\u80fd\u4e30\u5bcc\u201d\u7684 TTS \u670d\u52a1&#xff0c;\u7533\u8bf7 Key\u3001\u8c03 HTTP \u63a5\u53e3\u3001\u5904\u7406\u97f3\u9891\u6d41\u3001\u518d\u60f3\u529e\u6cd5\u8ba9\u8bbe\u5907\u64ad\u653e\u51fa\u6765\u3002\u8fd9\u6761\u8def\u5f84\u5728\u79fb\u52a8\u7aef\u81ea\u52a8\u5316\u573a\u666f\u91cc\u4f1a\u5f15\u5165\u4e00\u8fde\u4e32\u4e0d\u5fc5\u8981\u7684\u53d8\u91cf&#xff1a;\u7f51\u7edc\u5ef6\u8fdf\u3001\u9274\u6743\u5931\u6548\u3001\u97f3\u9891\u683c\u5f0f\u517c\u5bb9\u3001\u64ad\u653e\u5668\u72b6\u6001\u7ba1\u7406\u3002\u51b0\u72d0\u7684 tts \u5bf9\u8c61\u9009\u62e9\u4e86\u53e6\u4e00\u6761\u8def\u2014\u2014\u628a\u8fd9\u4e9b\u95ee\u9898\u5168\u90e8\u6536\u8d70&#xff0c;\u53ea\u66b4\u9732\u4e24\u4e2a\u65b9\u6cd5\u3002<\/p>\n<p>\u5b98\u65b9\u6587\u6863\u7684\u63cf\u8ff0\u5f88\u514b\u5236&#xff0c;\u53ea\u6709 play \u548c stop \u4e24\u4e2a\u5165\u53e3&#xff0c;play \u63a5\u53d7\u4e00\u4e2a\u5b57\u7b26\u4e32&#xff0c;stop \u4e0d\u63a5\u53d7\u4efb\u4f55\u53c2\u6570\u3002\u6ca1\u6709\u97f3\u8272\u9009\u62e9&#xff0c;\u6ca1\u6709\u8bed\u901f\u8c03\u8282&#xff0c;\u6ca1\u6709 SSML&#xff0c;\u4e5f\u6ca1\u6709\u5f02\u6b65\u56de\u8c03\u3002\u8868\u9762\u4e0a\u770b\u662f\u529f\u80fd\u5c11&#xff0c;\u5b9e\u9645\u4e0a\u662f\u5728\u81ea\u52a8\u5316\u811a\u672c\u8fd9\u4e2a\u7279\u5b9a\u8bed\u5883\u4e0b\u505a\u51fa\u7684\u5408\u7406\u88c1\u526a&#xff1a;\u72b6\u6001\u64ad\u62a5\u3001\u5f02\u5e38\u544a\u8b66\u3001\u8fdb\u5ea6\u63d0\u793a\u8fd9\u7c7b\u9700\u6c42&#xff0c;\u6838\u5fc3\u8bc9\u6c42\u662f\u201c\u8ba9\u8bbe\u5907\u5728\u4eba\u4e0d\u5728\u65c1\u8fb9\u7684\u65f6\u5019\u628a\u8bdd\u8bf4\u51fa\u6765\u201d&#xff0c;\u800c\u4e0d\u662f\u505a\u8bed\u97f3\u4ea7\u54c1\u3002\u529f\u80fd\u8d8a\u5c11&#xff0c;\u811a\u672c\u91cc\u7684\u786e\u5b9a\u6027\u5c31\u8d8a\u9ad8\u3002<\/p>\n<p>\u7406\u89e3\u8fd9\u4e00\u70b9&#xff0c;\u540e\u7eed\u7684\u7528\u6cd5\u624d\u4e0d\u5bb9\u6613\u8d70\u504f\u3002<\/p>\n<h3>\u4e24\u4e2a\u65b9\u6cd5\u80cc\u540e\u7684\u884c\u4e3a\u7ea6\u5b9a<\/h3>\n<p>tts.play(text) \u6700\u5173\u952e\u7684\u884c\u4e3a\u4e0d\u662f\u201c\u628a\u6587\u672c\u53d8\u6210\u58f0\u97f3\u201d&#xff0c;\u800c\u662f\u5b83\u7684\u4e2d\u65ad\u8bed\u4e49&#xff1a;\u8fde\u7eed\u8c03\u7528\u65f6&#xff0c;\u540e\u4e00\u6b21\u64ad\u653e\u4f1a\u81ea\u52a8\u4e2d\u65ad\u524d\u4e00\u6b21\u5c1a\u672a\u5b8c\u6210\u7684\u8bed\u97f3&#xff0c;\u4e0d\u9700\u8981\u624b\u52a8\u8c03\u7528 stop \u6765\u6e05\u7406\u3002\u8fd9\u6761\u89c4\u5219\u76f4\u63a5\u51b3\u5b9a\u4e86\u811a\u672c\u91cc\u8bed\u97f3\u8c03\u7528\u7684\u7f16\u6392\u65b9\u5f0f\u3002<\/p>\n<p>\u5b83\u540c\u65f6\u4e5f\u610f\u5473\u7740 tts.play \u4e0d\u662f\u963b\u585e\u7684\u3002\u4f20\u5165\u6587\u672c\u540e&#xff0c;\u65b9\u6cd5\u7acb\u5373\u8fd4\u56de&#xff0c;\u8bed\u97f3\u5728\u5e95\u5c42\u5f02\u6b65\u64ad\u653e\u3002\u5982\u679c\u7d27\u63a5\u7740\u6267\u884c sleep(2000)&#xff0c;\u8fd9\u4e24\u79d2\u91cc\u8bed\u97f3\u53ef\u80fd\u8fd8\u5728\u64ad&#xff0c;\u4e5f\u53ef\u80fd\u5df2\u7ecf\u7ed3\u675f&#xff0c;\u53d6\u51b3\u4e8e\u6587\u672c\u957f\u5ea6\u548c\u8bbe\u5907 TTS \u5f15\u64ce\u7684\u5408\u6210\u901f\u5ea6\u3002\u811a\u672c\u903b\u8f91\u4e0d\u80fd\u5047\u8bbe tts.play \u4e4b\u540e\u8bed\u97f3\u4f1a\u201c\u8bf4\u5b8c\u518d\u5f80\u4e0b\u8d70\u201d\u3002<\/p>\n<p>tts.stop() \u5219\u662f\u4e00\u4e2a\u65e0\u526f\u4f5c\u7528\u7684\u7ec8\u6b62\u6307\u4ee4&#xff0c;\u6ca1\u6709\u8bed\u97f3\u5728\u64ad\u7684\u65f6\u5019\u8c03\u7528\u5b83\u4e0d\u4f1a\u62a5\u9519&#xff0c;\u6240\u4ee5\u53ef\u4ee5\u653e\u5728 finally \u5757\u6216\u8005\u5f02\u5e38\u5904\u7406\u7684\u7edf\u4e00\u6e05\u7406\u8def\u5f84\u91cc&#xff0c;\u4e0d\u5fc5\u5148\u5224\u65ad\u5f53\u524d\u662f\u5426\u6709\u64ad\u653e\u5728\u8fdb\u884c\u3002<\/p>\n<p>\u53e6\u4e00\u4e2a\u5bb9\u6613\u88ab\u5ffd\u7565\u7684\u7ec6\u8282\u662f\u8fd0\u884c\u73af\u5883&#xff1a;\u51b0\u72d0\u7684 TTS \u5b8c\u5168\u5728\u672c\u5730\u5b8c\u6210&#xff0c;\u4e0d\u7ecf\u8fc7\u7f51\u7edc\u8bf7\u6c42&#xff0c;\u6ca1\u6709\u8c03\u7528\u9891\u7387\u9650\u5236\u3002\u8fd9\u542c\u8d77\u6765\u50cf\u662f\u9526\u4e0a\u6dfb\u82b1&#xff0c;\u4f46\u5728\u81ea\u52a8\u5316\u811a\u672c\u91cc\u610f\u4e49\u5f88\u5927\u2014\u2014\u79bb\u7ebf\u8bbe\u5907\u3001\u5f31\u7f51\u73af\u5883\u3001\u6216\u8005\u9700\u8981\u9ad8\u9891\u89e6\u53d1\u64ad\u62a5\u7684\u5faa\u73af\u4efb\u52a1&#xff0c;\u90fd\u4e0d\u4f1a\u56e0\u4e3a TTS \u800c\u589e\u52a0\u65b0\u7684\u5931\u8d25\u70b9\u3002<\/p>\n<h3>\u5728\u811a\u672c\u91cc\u7f16\u6392\u8bed\u97f3&#xff1a;\u4ece\u201c\u80fd\u64ad\u201d\u5230\u201c\u64ad\u5f97\u5bf9\u201d<\/h3>\n<p>\u6700\u76f4\u63a5\u7684\u7528\u6cd5\u662f\u5728\u811a\u672c\u7684\u5173\u952e\u8282\u70b9\u5404\u63d2\u4e00\u53e5&#xff1a;<\/p>\n<p>function main() {<br \/>\n    tts.play(&#039;\u811a\u672c\u542f\u52a8&#xff0c;\u5f00\u59cb\u6267\u884c\u767b\u5f55\u6d41\u7a0b&#039;);<br \/>\n    \/\/ \u2026 \u767b\u5f55\u64cd\u4f5c \u2026<br \/>\n    tts.play(&#039;\u767b\u5f55\u5b8c\u6210&#xff0c;\u8fdb\u5165\u6570\u636e\u91c7\u96c6&#039;);<br \/>\n    \/\/ \u2026 \u91c7\u96c6\u64cd\u4f5c \u2026<br \/>\n    tts.play(&#039;\u91c7\u96c6\u7ed3\u675f&#xff0c;\u5171\u5904\u7406 12 \u6761\u8bb0\u5f55&#039;);<br \/>\n}<\/p>\n<p>\u8fd9\u6837\u5199\u5728 demo \u91cc\u6ca1\u6709\u95ee\u9898&#xff0c;\u653e\u5230\u771f\u5b9e\u811a\u672c\u91cc\u5374\u4f1a\u9047\u5230\u4e00\u4e2a\u5f88\u5b9e\u9645\u7684\u95ee\u9898&#xff1a;\u5982\u679c\u4e24\u4e2a tts.play \u4e4b\u95f4\u7684\u64cd\u4f5c\u8017\u65f6\u8f83\u77ed&#xff0c;\u7b2c\u4e00\u53e5\u8fd8\u6ca1\u64ad\u5b8c&#xff0c;\u7b2c\u4e8c\u53e5\u5c31\u4f1a\u628a\u5b83\u5207\u6389\u3002\u7528\u6237\u542c\u5230\u7684\u53ef\u80fd\u662f\u534a\u622a\u201c\u767b\u5f55\u5b8c\u6210\u201d\u7d27\u63a5\u7740\u201c\u91c7\u96c6\u7ed3\u675f\u201d&#xff0c;\u4fe1\u606f\u53cd\u800c\u53d8\u5f97\u788e\u7247\u5316\u3002<\/p>\n<p>\u89e3\u51b3\u65b9\u5f0f\u4e0d\u662f\u8ba9 tts.play \u53d8\u6210\u963b\u585e\u7684\u2014\u2014\u5b83\u505a\u4e0d\u5230\u2014\u2014\u800c\u662f\u5728\u8c03\u7528\u4fa7\u52a0\u4e00\u5c42\u65f6\u5e8f\u63a7\u5236\u3002\u4e00\u4e2a\u52a1\u5b9e\u7684\u505a\u6cd5\u662f\u7ed9\u64ad\u62a5\u70b9\u4e4b\u95f4\u7559\u51fa\u4e0e\u8bed\u97f3\u65f6\u957f\u5339\u914d\u7684\u95f4\u9694&#xff0c;\u6216\u8005\u66f4\u7a33\u59a5\u5730&#xff0c;\u7528\u4e00\u4e2a\u7b80\u5355\u7684\u64ad\u62a5\u961f\u5217\u6765\u4e32\u884c\u5316&#xff1a;<\/p>\n<p>function speakSafely(text, waitMs) {<br \/>\n    tts.play(text);<br \/>\n    if (waitMs &amp;&amp; waitMs &gt; 0) {<br \/>\n        sleep(waitMs);<br \/>\n    }<br \/>\n}<\/p>\n<p>function main() {<br \/>\n    speakSafely(&#039;\u5f00\u59cb\u6267\u884c\u6279\u91cf\u7b7e\u5230&#039;, 2200);<br \/>\n    \/\/ \u2026 \u7b7e\u5230\u5faa\u73af \u2026<br \/>\n    speakSafely(&#039;\u7b7e\u5230\u5b8c\u6210&#xff0c;\u5171\u5904\u7406 8 \u4e2a\u8d26\u53f7&#039;, 2600);<br \/>\n    speakSafely(&#039;\u63a5\u4e0b\u6765\u6267\u884c\u6570\u636e\u5bfc\u51fa&#039;, 2200);<br \/>\n    \/\/ \u2026 \u5bfc\u51fa\u64cd\u4f5c \u2026<br \/>\n    speakSafely(&#039;\u5168\u90e8\u4efb\u52a1\u7ed3\u675f&#039;, 1800);<br \/>\n}<\/p>\n<p>waitMs \u7684\u53d6\u503c\u4e0d\u9700\u8981\u7cbe\u786e\u3002\u4e2d\u6587 TTS \u7684\u8bed\u901f\u5927\u81f4\u5728\u6bcf\u79d2\u56db\u5230\u4e94\u4e2a\u5b57\u5de6\u53f3&#xff0c;\u4e00\u53e5\u5341\u4e2a\u5b57\u5de6\u53f3\u7684\u77ed\u63d0\u793a&#xff0c;\u4e24\u5343\u6beb\u79d2\u662f\u4e00\u4e2a\u5408\u7406\u7684\u4fdd\u5b88\u4f30\u8ba1\u3002\u5982\u679c\u6587\u672c\u66f4\u957f&#xff0c;\u76f8\u5e94\u4e0a\u8c03\u3002\u8fd9\u4e2a\u53c2\u6570\u7684\u672c\u8d28\u662f\u7528\u65f6\u95f4\u6362\u786e\u5b9a\u6027&#xff0c;\u4ee3\u4ef7\u662f\u811a\u672c\u6574\u4f53\u65f6\u957f\u4f1a\u7565\u5fae\u589e\u52a0&#xff0c;\u6362\u6765\u7684\u662f\u64ad\u62a5\u5185\u5bb9\u7684\u5b8c\u6574\u5ea6\u3002<\/p>\n<p>\u5982\u679c\u811a\u672c\u7684\u67d0\u4e2a\u5206\u652f\u9700\u8981\u7528\u6237\u7acb\u523b\u542c\u5230\u8b66\u793a&#xff0c;\u800c\u4e0d\u662f\u7b49\u524d\u4e00\u53e5\u64ad\u5b8c&#xff0c;\u90a3\u4e48 tts.stop() \u5c31\u5e94\u8be5\u88ab\u663e\u5f0f\u8c03\u7528&#xff1a;<\/p>\n<p>function alertCritical(message) {<br \/>\n    tts.stop();<br \/>\n    tts.play(message);<br \/>\n}<\/p>\n<p>function main() {<br \/>\n    tts.play(&#039;\u6b63\u5728\u6267\u884c\u5e38\u89c4\u5de1\u68c0&#xff0c;\u8bf7\u7a0d\u5019&#039;);<br \/>\n    \/\/ \u2026 \u5de1\u68c0\u8fc7\u7a0b\u4e2d\u68c0\u6d4b\u5230\u5f02\u5e38 \u2026<br \/>\n    if (batteryLevel &lt; 10) {<br \/>\n        alertCritical(&#039;\u7535\u91cf\u8fc7\u4f4e&#xff0c;\u8bf7\u7acb\u5373\u8fde\u63a5\u5145\u7535\u5668&#039;);<br \/>\n    }<br \/>\n}<\/p>\n<p>\u8fd9\u91cc tts.stop() \u7684\u4f5c\u7528\u4e0d\u662f\u201c\u4f18\u96c5\u5730\u505c\u6b62\u201d&#xff0c;\u800c\u662f\u201c\u6e05\u7a7a\u5f53\u524d\u64ad\u62a5\u961f\u5217&#xff0c;\u8ba9\u6700\u9ad8\u4f18\u5148\u7ea7\u7684\u6d88\u606f\u7acb\u523b\u5360\u636e\u8bed\u97f3\u901a\u9053\u201d\u3002\u5728\u5f02\u5e38\u544a\u8b66\u573a\u666f\u4e0b&#xff0c;\u8fd9\u4e2a\u884c\u4e3a\u6bd4\u7b49\u5f85\u524d\u4e00\u53e5\u64ad\u5b8c\u518d\u64ad\u4e0b\u4e00\u53e5\u66f4\u7b26\u5408\u4f7f\u7528\u8005\u7684\u9884\u671f\u3002<\/p>\n<h3>\u548c toast\u3001console.log \u7684\u5206\u5de5<\/h3>\n<p>\u51b0\u72d0\u811a\u672c\u91cc\u540c\u65f6\u5b58\u5728\u89c6\u89c9\u548c\u8bed\u97f3\u4e24\u79cd\u53cd\u9988\u901a\u9053&#xff0c;\u5b83\u4eec\u4e0d\u5e94\u8be5\u4e92\u76f8\u66ff\u4ee3&#xff0c;\u4e5f\u4e0d\u5e94\u8be5\u91cd\u590d\u540c\u4e00\u53e5\u8bdd\u3002\u4e00\u4e2a\u7a33\u5b9a\u7684\u5206\u5de5\u65b9\u5f0f\u662f&#xff1a;<\/p>\n<ul>\n<li>\n<p>tts.play \u8d1f\u8d23\u201c\u4eba\u5728\u5fd9\u522b\u7684\u4e8b\u60c5\u65f6\u9700\u8981\u88ab\u901a\u77e5\u5230\u7684\u4fe1\u606f\u201d&#xff1a;\u4efb\u52a1\u5f00\u59cb\u3001\u5173\u952e\u8282\u70b9\u5b8c\u6210\u3001\u5f02\u5e38\u53d1\u751f\u3002<\/p>\n<\/li>\n<li>\n<p>toast \u8d1f\u8d23\u201c\u4eba\u6b63\u5728\u770b\u5c4f\u5e55\u65f6\u53ef\u4ee5\u5feb\u901f\u626b\u4e00\u773c\u7684\u77ed\u72b6\u6001\u201d&#xff1a;\u5f53\u524d\u70b9\u51fb\u4e86\u4ec0\u4e48\u3001\u7b2c\u51e0\u6b65\u6267\u884c\u4e2d\u3002<\/p>\n<\/li>\n<li>\n<p>console.log \u8d1f\u8d23\u201c\u4e8b\u540e\u6392\u67e5\u65f6\u9700\u8981\u8fd8\u539f\u7684\u4e0a\u4e0b\u6587\u201d&#xff1a;\u5177\u4f53\u53c2\u6570\u3001\u8fd4\u56de\u503c\u3001\u8017\u65f6\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u4e09\u8005\u5404\u53f8\u5176\u804c&#xff0c;\u811a\u672c\u7684\u53ef\u89c2\u6d4b\u6027\u4f1a\u660e\u663e\u597d\u4e8e\u5168\u90e8\u5806\u5728\u8bed\u97f3\u91cc\u6216\u8005\u5168\u90e8\u53ea\u5199\u65e5\u5fd7\u3002\u5c24\u5176\u9700\u8981\u6ce8\u610f\u7684\u662f&#xff0c;\u4e0d\u8981\u628a\u8c03\u8bd5\u4fe1\u606f\u4e5f\u585e\u8fdb tts.play\u2014\u2014\u8bed\u97f3\u901a\u9053\u662f\u7a00\u7f3a\u7684\u6ce8\u610f\u529b\u8d44\u6e90&#xff0c;\u9891\u7e41\u7684\u65e0\u5173\u64ad\u62a5\u4f1a\u8ba9\u4eba\u5f88\u5feb\u5bf9\u8bed\u97f3\u63d0\u793a\u8131\u654f\u3002<\/p>\n<h3>\u6587\u672c\u5185\u5bb9\u7684\u4e00\u4e9b\u5b9e\u9645\u7ea6\u675f<\/h3>\n<p>\u867d\u7136\u51b0\u72d0 TTS \u5728\u63a5\u53e3\u5c42\u9762\u63a5\u53d7\u4efb\u610f\u5b57\u7b26\u4e32&#xff0c;\u4f46\u5b9e\u9645\u64ad\u653e\u6548\u679c\u4ecd\u7136\u53d7\u8bbe\u5907\u672c\u5730 TTS \u5f15\u64ce\u7684\u5f71\u54cd\u3002\u6807\u70b9\u7b26\u53f7\u7684\u5904\u7406\u3001\u4e2d\u82f1\u6587\u6df7\u8bfb\u7684\u6d41\u7545\u5ea6\u3001\u6570\u5b57\u548c\u5355\u4f4d\u7684\u8bfb\u6cd5&#xff0c;\u5728\u4e0d\u540c Android \u8bbe\u5907\u4e0a\u5e76\u4e0d\u5b8c\u5168\u4e00\u81f4\u3002\u8fd9\u4e0d\u662f\u51b0\u72d0\u7684\u95ee\u9898&#xff0c;\u800c\u662f\u201c\u8c03\u7528\u672c\u5730\u5f15\u64ce\u201d\u8fd9\u4e00\u8bbe\u8ba1\u8def\u5f84\u7684\u56fa\u6709\u5c5e\u6027\u3002<\/p>\n<p>\u5728\u811a\u672c\u91cc\u80fd\u505a\u7684\u662f\u5c3d\u91cf\u8ba9\u4f20\u5165\u7684\u6587\u672c\u5bf9\u672c\u5730\u5f15\u64ce\u53cb\u597d&#xff1a;\u907f\u514d emoji \u548c\u751f\u50fb\u7684\u63a7\u5236\u5b57\u7b26&#xff0c;\u82f1\u6587\u5355\u8bcd\u4e4b\u95f4\u4fdd\u7559\u7a7a\u683c&#xff0c;\u6570\u5b57\u548c\u5355\u4f4d\u4e4b\u95f4\u4e0d\u8981\u7c98\u8fde\u3002\u957f\u6587\u672c\u7684\u5b9e\u8df5\u9608\u503c\u5927\u81f4\u5728\u51e0\u767e\u5b57\u4ee5\u5185&#xff0c;\u518d\u957f\u7684\u8bdd&#xff0c;\u5373\u4f7f\u5f15\u64ce\u80fd\u5408\u6210&#xff0c;tts.play \u4e4b\u540e\u7684\u811a\u672c\u65f6\u5e8f\u4e5f\u4f1a\u53d8\u5f97\u96be\u4ee5\u9884\u4f30\u3002\u5982\u679c\u786e\u5b9e\u9700\u8981\u64ad\u62a5\u4e00\u6bb5\u8f83\u957f\u7684\u5185\u5bb9&#xff0c;\u62c6\u6210\u591a\u4e2a\u77ed\u53e5\u3001\u7528\u961f\u5217\u95f4\u9694\u4e32\u884c\u64ad\u653e&#xff0c;\u6bd4\u4e00\u6b21\u6027\u4f20\u5165\u4e00\u4e2a\u5927\u5b57\u7b26\u4e32\u66f4\u53ef\u63a7\u3002<\/p>\n<p>\u8fd8\u6709\u4e00\u4e2a\u5bb9\u6613\u88ab\u5ffd\u7565\u7684\u8fb9\u754c&#xff1a;\u7a7a\u5b57\u7b26\u4e32\u3002tts.play(&#039;&#039;) \u4e0d\u4f1a\u62a5\u9519&#xff0c;\u4e5f\u4e0d\u4f1a\u6709\u4efb\u4f55\u6548\u679c&#xff0c;\u4f46\u5b83\u4f1a\u53c2\u4e0e\u4e2d\u65ad\u8bed\u4e49\u2014\u2014\u5982\u679c\u524d\u4e00\u53e5\u6b63\u5728\u64ad&#xff0c;\u4e00\u4e2a\u7a7a\u7684 play(&#039;&#039;) \u8c03\u7528\u540c\u6837\u4f1a\u628a\u5b83\u5207\u65ad\u3002\u6240\u4ee5\u5728\u62fc\u63a5\u52a8\u6001\u6587\u672c\u65f6&#xff0c;\u5982\u679c\u53d8\u91cf\u53ef\u80fd\u4e3a\u7a7a&#xff0c;\u6700\u597d\u5728\u8c03\u7528\u524d\u505a\u4e00\u6b21\u975e\u7a7a\u5224\u65ad&#xff0c;\u907f\u514d\u65e0\u610f\u4e2d\u201c\u9759\u9ed8\u5730\u201d\u6390\u6389\u6b63\u5728\u64ad\u62a5\u7684\u5185\u5bb9\u3002<\/p>\n<h3>\u4e00\u4e2a\u5e26\u4fdd\u62a4\u7684\u64ad\u62a5\u5c01\u88c5<\/h3>\n<p>\u628a\u4e0a\u9762\u8ba8\u8bba\u7684\u51e0\u4e2a\u70b9\u6536\u5728\u4e00\u8d77&#xff0c;\u53ef\u4ee5\u5728\u811a\u672c\u91cc\u52a0\u4e00\u4e2a\u8f7b\u91cf\u7684\u5c01\u88c5&#xff0c;\u8ba9\u4e1a\u52a1\u4ee3\u7801\u4e0d\u5fc5\u6bcf\u6b21\u624b\u52a8\u5904\u7406\u4e2d\u65ad\u548c\u95f4\u9694&#xff1a;<\/p>\n<p>var _lastSpeakEnd &#061; 0;<\/p>\n<p>function speak(text, opts) {<br \/>\n    if (!text || text.trim() &#061;&#061;&#061; &#039;&#039;) {<br \/>\n        return;<br \/>\n    }<\/p>\n<p>    var minGap &#061; (opts &amp;&amp; opts.minGap) || 0;<br \/>\n    var now &#061; new Date().getTime();<br \/>\n    var elapsed &#061; now &#8211; _lastSpeakEnd;<\/p>\n<p>    if (minGap &gt; 0 &amp;&amp; elapsed &lt; minGap) {<br \/>\n        sleep(minGap &#8211; elapsed);<br \/>\n    }<\/p>\n<p>    tts.play(text);<br \/>\n    _lastSpeakEnd &#061; new Date().getTime();<br \/>\n}<\/p>\n<p>function speakUrgent(text) {<br \/>\n    if (!text || text.trim() &#061;&#061;&#061; &#039;&#039;) {<br \/>\n        return;<br \/>\n    }<br \/>\n    tts.stop();<br \/>\n    tts.play(text);<br \/>\n}<\/p>\n<p>function main() {<br \/>\n    speak(&#039;\u81ea\u52a8\u5316\u811a\u672c\u5df2\u542f\u52a8&#039;, { minGap: 2200 });<br \/>\n    \/\/ \u2026 \u4e1a\u52a1\u64cd\u4f5c \u2026<br \/>\n    speak(&#039;\u7b2c\u4e00\u9636\u6bb5\u5904\u7406\u5b8c\u6210&#039;, { minGap: 2200 });<\/p>\n<p>    try {<br \/>\n        \/\/ \u2026 \u53ef\u80fd\u5931\u8d25\u7684\u64cd\u4f5c \u2026<br \/>\n    } catch (e) {<br \/>\n        speakUrgent(&#039;\u6267\u884c\u5f02\u5e38&#xff0c;\u811a\u672c\u5373\u5c06\u7ec8\u6b62&#039;);<br \/>\n        console.error(e);<br \/>\n        return;<br \/>\n    }<\/p>\n<p>    speak(&#039;\u5168\u90e8\u6d41\u7a0b\u6b63\u5e38\u7ed3\u675f&#039;, { minGap: 1800 });<br \/>\n}<\/p>\n<p>speak \u5904\u7406\u5e38\u89c4\u64ad\u62a5&#xff0c;\u7528 minGap \u5728\u4e24\u6b21\u8c03\u7528\u4e4b\u95f4\u63d2\u5165\u5fc5\u8981\u7684\u95f4\u9694&#xff0c;_lastSpeakEnd \u8bb0\u5f55\u4e0a\u4e00\u6b21\u5b9e\u9645\u8c03\u7528\u7684\u65f6\u95f4\u70b9&#xff0c;\u907f\u514d\u5728\u7d27\u51d1\u5faa\u73af\u91cc\u53cd\u590d\u89e6\u53d1\u4e2d\u65ad\u3002speakUrgent \u53ea\u505a\u4e00\u4ef6\u4e8b&#xff1a;\u6e05\u7a7a\u5f53\u524d\u64ad\u62a5&#xff0c;\u8ba9\u7d27\u6025\u6d88\u606f\u7acb\u523b\u88ab\u542c\u5230\u3002\u4e24\u4e2a\u51fd\u6570\u90fd\u8fc7\u6ee4\u7a7a\u6587\u672c&#xff0c;\u9632\u6b62\u8fb9\u754c\u60c5\u51b5\u4e0b\u7684\u610f\u5916\u4e2d\u65ad\u3002<\/p>\n<p>\u8fd9\u5957\u5c01\u88c5\u6ca1\u6709\u8bd5\u56fe\u628a tts \u53d8\u6210\u66f4\u201c\u5f3a\u5927\u201d\u7684\u4e1c\u897f&#xff0c;\u53ea\u662f\u5728\u4e24\u4e2a\u539f\u59cb\u65b9\u6cd5\u4e4b\u4e0a\u8865\u5145\u4e86\u81ea\u52a8\u5316\u811a\u672c\u771f\u6b63\u9700\u8981\u7684\u65f6\u5e8f\u786e\u5b9a\u6027\u3002\u51b0\u72d0 TTS \u7684\u8bbe\u8ba1\u53d6\u5411\u4e5f\u6b63\u5728\u4e8e\u6b64&#xff1a;\u5b83\u4e0d\u63d0\u4f9b\u4e30\u5bcc\u7684\u5408\u6210\u53c2\u6570&#xff0c;\u4e0d\u6784\u5efa\u97f3\u9891\u6d41\u6c34\u7ebf&#xff0c;\u800c\u662f\u628a\u201c\u8ba9\u8bbe\u5907\u8bf4\u51fa\u5f53\u524d\u72b6\u6001\u201d\u8fd9\u4ef6\u4e8b\u538b\u7f29\u6210\u4e00\u4e2a\u51e0\u4e4e\u4e0d\u4f1a\u5931\u8d25\u7684\u672c\u5730\u8c03\u7528&#xff0c;\u628a\u590d\u6742\u5ea6\u7559\u7ed9\u811a\u672c\u4f5c\u8005\u53bb\u7528\u6700\u5c11\u7684\u4ee3\u7801\u63a7\u5236\u8282\u594f\u3002\u5bf9\u4e8e\u72b6\u6001\u64ad\u62a5\u3001\u5f02\u5e38\u544a\u8b66\u3001\u65e0\u969c\u788d\u8f85\u52a9\u8fd9\u4e9b\u81ea\u52a8\u5316\u573a\u666f\u800c\u8a00&#xff0c;\u8fd9\u79cd\u514b\u5236\u6bd4\u529f\u80fd\u5806\u53e0\u66f4\u5b9e\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u81ea\u52a8\u5316\u811a\u672c\u91cc\u52a0\u8bed\u97f3\u64ad\u62a5&#xff0c;\u8fd9\u4ef6\u4e8b\u672c\u8eab\u4e0d\u590d\u6742&#xff0c;\u4f46\u5bb9\u6613\u505a\u504f\u3002\u5f88\u591a\u4eba\u7b2c\u4e00\u53cd\u5e94\u662f\u53bb\u627e\u4e00\u4e2a\u201c\u529f\u80fd\u4e30\u5bcc\u201d\u7684 TTS \u670d\u52a1&#xff0c;\u7533\u8bf7 Key\u3001\u8c03 HTTP \u63a5\u53e3\u3001\u5904\u7406\u97f3\u9891\u6d41\u3001\u518d\u60f3\u529e\u6cd5\u8ba9\u8bbe\u5907\u64ad\u653e\u51fa\u6765\u3002\u8fd9\u6761\u8def\u5f84\u5728\u79fb\u52a8\u7aef\u81ea\u52a8\u5316\u573a\u666f\u91cc\u4f1a\u5f15\u5165\u4e00\u8fde\u4e32\u4e0d\u5fc5\u8981\u7684\u53d8\u91cf&#xff1a;\u7f51\u7edc\u5ef6\u8fdf\u3001\u9274\u6743\u5931\u6548\u3001\u97f3\u9891\u683c\u5f0f\u517c\u5bb9\u3001\u64ad\u653e\u5668\u72b6\u6001\u7ba1\u7406\u3002\u51b0\u72d0\u7684 tts \u5bf9\u8c61\u9009\u62e9\u4e86\u53e6\u4e00\u6761\u8def\u2014\u2014\u628a\u8fd9\u4e9b\u95ee\u9898\u5168\u90e8\u6536\u8d70&#xff0c;\u53ea\u66b4\u9732\u4e24\u4e2a\u65b9\u6cd5\u3002\u5b98\u65b9\u6587\u6863\u7684\u63cf\u8ff0\u5f88\u514b\u5236&#xff0c;\u53ea\u6709 play \u548c<\/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":[395,1395,44],"topic":[],"class_list":["post-121396","post","type-post","status-publish","format-standard","hentry","category-server","tag-395","tag-1395","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5728\u81ea\u52a8\u5316\u811a\u672c\u4e2d\u8c03\u7528\u8bed\u97f3\u5408\u6210\uff08\u6587\u672c\u8f6c\u58f0\u97f3\uff09 - \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\/121396.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728\u81ea\u52a8\u5316\u811a\u672c\u4e2d\u8c03\u7528\u8bed\u97f3\u5408\u6210\uff08\u6587\u672c\u8f6c\u58f0\u97f3\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u81ea\u52a8\u5316\u811a\u672c\u91cc\u52a0\u8bed\u97f3\u64ad\u62a5&#xff0c;\u8fd9\u4ef6\u4e8b\u672c\u8eab\u4e0d\u590d\u6742&#xff0c;\u4f46\u5bb9\u6613\u505a\u504f\u3002\u5f88\u591a\u4eba\u7b2c\u4e00\u53cd\u5e94\u662f\u53bb\u627e\u4e00\u4e2a\u201c\u529f\u80fd\u4e30\u5bcc\u201d\u7684 TTS \u670d\u52a1&#xff0c;\u7533\u8bf7 Key\u3001\u8c03 HTTP \u63a5\u53e3\u3001\u5904\u7406\u97f3\u9891\u6d41\u3001\u518d\u60f3\u529e\u6cd5\u8ba9\u8bbe\u5907\u64ad\u653e\u51fa\u6765\u3002\u8fd9\u6761\u8def\u5f84\u5728\u79fb\u52a8\u7aef\u81ea\u52a8\u5316\u573a\u666f\u91cc\u4f1a\u5f15\u5165\u4e00\u8fde\u4e32\u4e0d\u5fc5\u8981\u7684\u53d8\u91cf&#xff1a;\u7f51\u7edc\u5ef6\u8fdf\u3001\u9274\u6743\u5931\u6548\u3001\u97f3\u9891\u683c\u5f0f\u517c\u5bb9\u3001\u64ad\u653e\u5668\u72b6\u6001\u7ba1\u7406\u3002\u51b0\u72d0\u7684 tts \u5bf9\u8c61\u9009\u62e9\u4e86\u53e6\u4e00\u6761\u8def\u2014\u2014\u628a\u8fd9\u4e9b\u95ee\u9898\u5168\u90e8\u6536\u8d70&#xff0c;\u53ea\u66b4\u9732\u4e24\u4e2a\u65b9\u6cd5\u3002\u5b98\u65b9\u6587\u6863\u7684\u63cf\u8ff0\u5f88\u514b\u5236&#xff0c;\u53ea\u6709 play \u548c\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/121396.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-02T09:32:43+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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/121396.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/121396.html\",\"name\":\"\u5728\u81ea\u52a8\u5316\u811a\u672c\u4e2d\u8c03\u7528\u8bed\u97f3\u5408\u6210\uff08\u6587\u672c\u8f6c\u58f0\u97f3\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-11-02T09:32:43+00:00\",\"dateModified\":\"2026-11-02T09:32:43+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/121396.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/121396.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/121396.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728\u81ea\u52a8\u5316\u811a\u672c\u4e2d\u8c03\u7528\u8bed\u97f3\u5408\u6210\uff08\u6587\u672c\u8f6c\u58f0\u97f3\uff09\"}]},{\"@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":"\u5728\u81ea\u52a8\u5316\u811a\u672c\u4e2d\u8c03\u7528\u8bed\u97f3\u5408\u6210\uff08\u6587\u672c\u8f6c\u58f0\u97f3\uff09 - \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\/121396.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5728\u81ea\u52a8\u5316\u811a\u672c\u4e2d\u8c03\u7528\u8bed\u97f3\u5408\u6210\uff08\u6587\u672c\u8f6c\u58f0\u97f3\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u81ea\u52a8\u5316\u811a\u672c\u91cc\u52a0\u8bed\u97f3\u64ad\u62a5&#xff0c;\u8fd9\u4ef6\u4e8b\u672c\u8eab\u4e0d\u590d\u6742&#xff0c;\u4f46\u5bb9\u6613\u505a\u504f\u3002\u5f88\u591a\u4eba\u7b2c\u4e00\u53cd\u5e94\u662f\u53bb\u627e\u4e00\u4e2a\u201c\u529f\u80fd\u4e30\u5bcc\u201d\u7684 TTS \u670d\u52a1&#xff0c;\u7533\u8bf7 Key\u3001\u8c03 HTTP \u63a5\u53e3\u3001\u5904\u7406\u97f3\u9891\u6d41\u3001\u518d\u60f3\u529e\u6cd5\u8ba9\u8bbe\u5907\u64ad\u653e\u51fa\u6765\u3002\u8fd9\u6761\u8def\u5f84\u5728\u79fb\u52a8\u7aef\u81ea\u52a8\u5316\u573a\u666f\u91cc\u4f1a\u5f15\u5165\u4e00\u8fde\u4e32\u4e0d\u5fc5\u8981\u7684\u53d8\u91cf&#xff1a;\u7f51\u7edc\u5ef6\u8fdf\u3001\u9274\u6743\u5931\u6548\u3001\u97f3\u9891\u683c\u5f0f\u517c\u5bb9\u3001\u64ad\u653e\u5668\u72b6\u6001\u7ba1\u7406\u3002\u51b0\u72d0\u7684 tts \u5bf9\u8c61\u9009\u62e9\u4e86\u53e6\u4e00\u6761\u8def\u2014\u2014\u628a\u8fd9\u4e9b\u95ee\u9898\u5168\u90e8\u6536\u8d70&#xff0c;\u53ea\u66b4\u9732\u4e24\u4e2a\u65b9\u6cd5\u3002\u5b98\u65b9\u6587\u6863\u7684\u63cf\u8ff0\u5f88\u514b\u5236&#xff0c;\u53ea\u6709 play \u548c","og_url":"https:\/\/www.wsisp.com\/helps\/121396.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-11-02T09:32:43+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/121396.html","url":"https:\/\/www.wsisp.com\/helps\/121396.html","name":"\u5728\u81ea\u52a8\u5316\u811a\u672c\u4e2d\u8c03\u7528\u8bed\u97f3\u5408\u6210\uff08\u6587\u672c\u8f6c\u58f0\u97f3\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-11-02T09:32:43+00:00","dateModified":"2026-11-02T09:32:43+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/121396.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/121396.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/121396.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5728\u81ea\u52a8\u5316\u811a\u672c\u4e2d\u8c03\u7528\u8bed\u97f3\u5408\u6210\uff08\u6587\u672c\u8f6c\u58f0\u97f3\uff09"}]},{"@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\/121396","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=121396"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/121396\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=121396"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=121396"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=121396"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=121396"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}