{"id":109187,"date":"2026-09-23T14:57:10","date_gmt":"2026-09-23T06:57:10","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/109187.html"},"modified":"2026-09-23T14:57:10","modified_gmt":"2026-09-23T06:57:10","slug":"%e4%b8%aa%e4%ba%ba%e5%be%ae%e4%bf%a1api%e6%8e%a5%e5%8f%a3%e5%a6%82%e4%bd%95%e9%87%8d%e6%96%b0%e5%ae%9a%e4%b9%89%e5%be%ae%e4%bf%a1%e5%8a%9f%e8%83%bd%e8%b0%83%e7%94%a8%e6%96%b9%e5%bc%8f%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/109187.html","title":{"rendered":"\u4e2a\u4eba\u5fae\u4fe1API\u63a5\u53e3\u5982\u4f55\u91cd\u65b0\u5b9a\u4e49\u5fae\u4fe1\u529f\u80fd\u8c03\u7528\u65b9\u5f0f\uff1f"},"content":{"rendered":"<p>\u4f20\u7edf\u5fae\u4fe1\u529f\u80fd\u8c03\u7528\u65b9\u5f0f\u662f&#034;\u5ba2\u6237\u7aef\u2192\u5fae\u4fe1\u670d\u52a1\u5668\u2192\u5bf9\u7aef\u5ba2\u6237\u7aef&#034;\u7684\u5c01\u95ed\u94fe\u8def\u2014\u2014\u6d88\u606f\u53ea\u80fd\u5728\u5ba2\u6237\u7aef\u4ea7\u751f\u3001\u884c\u4e3a\u53ea\u80fd\u5728\u5ba2\u6237\u7aef\u54cd\u5e94\u3001\u5386\u53f2\u53ea\u80fd\u5728\u5ba2\u6237\u7aef\u67e5\u9605\u3002\u5916\u90e8\u4e1a\u52a1\u7cfb\u7edf\u65e0\u6cd5\u4ecb\u5165\u8fd9\u6761\u94fe\u8def&#xff0c;&#034;\u63a5\u5165\u5fae\u4fe1&#034;\u957f\u671f\u7b49\u540c\u4e8e&#034;\u9006\u5411\u534f\u8bae&#034;\u3002Eyun API\u628a\u8fd9\u6761\u5c01\u95ed\u94fe\u8def\u6253\u5f00\u4e3a\u5f00\u53d1\u8005\u53ef\u8c03\u7528\u76843\u5c42\u8c03\u7528\u6a21\u578b&#xff0c;\u91cd\u65b0\u5b9a\u4e49\u4e86\u5fae\u4fe1\u529f\u80fd\u7684\u8c03\u7528\u65b9\u5f0f\u3002\u63a5\u53e3\u89c4\u8303\u5bf9\u7167 Eyun\u5f00\u53d1\u6587\u6863\u3002<\/p>\n<h3 id=\"\u7b2c\u4e00\u5c42\uff1a\u540c\u6b65\u8c03\u7528\u5c42\u2014\u2014\u5f00\u53d1\u8005\u4e3b\u52a8\u53d1\u8d77http\u8bf7\u6c42\">\u7b2c\u4e00\u5c42&#xff1a;\u540c\u6b65\u8c03\u7528\u5c42\u2014\u2014\u5f00\u53d1\u8005\u4e3b\u52a8\u53d1\u8d77HTTP\u8bf7\u6c42<\/h3>\n<p>\u5f00\u53d1\u8005\u7cfb\u7edf\u4e3b\u52a8\u5411Eyun\u53d1\u8d77HTTP\u8bf7\u6c42\u8c03\u7528\u63a5\u53e3\u3002\u4ee5sendText\u4e3a\u4f8b\u7684\u5b8c\u6574\u94fe\u8def\u662f&#xff1a;\u7ec4\u88c5POST JSON {wId, Token, toUser, content} \u2192 \u63d0\u4ea4Eyun \u2192 \u540c\u6b65\u7b49\u5f85\u54cd\u5e94 \u2192 code&#061;1000 \u786e\u8ba4\u9001\u8fbe\u3002\u8fd9\u79cd\u8c03\u7528\u65b9\u5f0f\u7c7b\u4f3c\u6570\u636e\u5e93\u5199\u5165\u6216\u7b2c\u4e09\u65b9\u652f\u4ed8\u4e0b\u5355\u2014\u2014\u8bf7\u6c42\u5373\u751f\u6548&#xff0c;\u54cd\u5e94\u5373\u7ed3\u8bba\u3002<\/p>\n<ul>\n<li>\n<p>\u8c03\u7528\u65b9\u5411&#xff1a;\u5f00\u53d1\u8005 \u2192 Eyun<\/p>\n<\/li>\n<li>\n<p>\u8c03\u7528\u6a21\u5f0f&#xff1a;\u8bf7\u6c42-\u54cd\u5e94<\/p>\n<\/li>\n<li>\n<p>\u5ef6\u8fdf\u7279\u5f81&#xff1a;\u901a\u5e38 &lt;500ms \u540c\u6b65\u8fd4\u56de<\/p>\n<\/li>\n<li>\n<p>\u9002\u7528\u573a\u666f&#xff1a;\u5373\u65f6\u53d1\u9001\u6587\u672c\/\u56fe\u7247\/\u6587\u4ef6&#xff0c;\u4e1a\u52a1\u7cfb\u7edf\u5373\u65f6\u89e6\u53d1\u52a8\u4f5c<\/p>\n<\/li>\n<li>\n<p>\u6280\u672f\u7ea6\u675f&#xff1a;1002 \u9274\u6743\u5931\u8d25\u9700\u5237\u65b0Token\u91cd\u8bd5&#xff1b;1004 \u9650\u9891\u9700\u9000\u907f3\u79d2\u540e\u91cd\u53d1<\/p>\n<\/li>\n<\/ul>\n<p>\u7ea6\u675f\u8981\u70b9&#xff1a;\u540c\u6b65\u8c03\u7528\u5c42\u7684\u74f6\u9888\u4e0d\u5728\u7f51\u7edc\u5ef6\u8fdf\u800c\u5728\u9891\u7387\u9650\u5236\u30021004 \u4e0d\u662f\u9519\u8bef\u800c\u662f\u8282\u6d41\u4fe1\u53f7&#xff0c;\u5fc5\u987b\u5b9e\u73b0\u6307\u6570\u9000\u907f\u800c\u975e\u7b80\u5355\u91cd\u8bd5\u30021002 \u5fc5\u987b\u81ea\u52a8\u5237\u65b0Token\u800c\u975e\u629b\u9519\u544a\u8b66\u2014\u2014Token\u5931\u6548\u662f\u5e38\u6001&#xff0c;\u81ea\u52a8\u6062\u590d\u94fe\u8def\u6bd4\u544a\u8b66\u4e2d\u65ad\u66f4\u53ef\u9760\u3002<\/p>\n<h3 id=\"\u7b2c\u4e8c\u5c42\uff1a\u5f02\u6b65\u56de\u8c03\u5c42\u2014\u2014eyun\u4e3b\u52a8\u63a8\u9001\u4e8b\u4ef6\u5230\u5f00\u53d1\u8005\u7cfb\u7edf\">\u7b2c\u4e8c\u5c42&#xff1a;\u5f02\u6b65\u56de\u8c03\u5c42\u2014\u2014Eyun\u4e3b\u52a8\u63a8\u9001\u4e8b\u4ef6\u5230\u5f00\u53d1\u8005\u7cfb\u7edf<\/h3>\n<p>\u7528\u6237\u5728\u5fae\u4fe1\u5185\u7684\u884c\u4e3a\u89e6\u53d1\u4e8b\u4ef6&#xff0c;Eyun\u901a\u8fc7Webhook\u4e3b\u52a8\u5411\u5f00\u53d1\u8005\u7cfb\u7edfPOST\u56de\u8c03JSON {eventType, fromUser, content, msgId, wId}&#xff0c;\u5f00\u53d1\u80055\u79d2\u5185\u8fd4\u56deHTTP 200\u8868\u793a\u63a5\u6536&#xff0c;\u4e1a\u52a1\u903b\u8f91\u5f02\u6b65\u5904\u7406\u3002\u8fd9\u79cd\u8c03\u7528\u65b9\u5f0f\u7c7b\u4f3cGitHub Webhook\u6216Stripe\u56de\u8c03\u2014\u2014\u4e8b\u4ef6\u9a71\u52a8&#xff0c;\u56de\u8c03\u5373\u89e6\u53d1\u3002<\/p>\n<ul>\n<li>\n<p>\u8c03\u7528\u65b9\u5411&#xff1a;Eyun \u2192 \u5f00\u53d1\u8005<\/p>\n<\/li>\n<li>\n<p>\u8c03\u7528\u6a21\u5f0f&#xff1a;\u4e8b\u4ef6\u9a71\u52a8<\/p>\n<\/li>\n<li>\n<p>\u5ef6\u8fdf\u7279\u5f81&#xff1a;\u5b9e\u65f6\u63a8\u9001&#xff0c;5\u79d2\u5185\u5fc5\u987bACK<\/p>\n<\/li>\n<li>\n<p>\u9002\u7528\u573a\u666f&#xff1a;\u63a5\u6536\u7528\u6237\u6d88\u606f\u3001\u597d\u53cb\u6dfb\u52a0\u3001\u7fa4\u4e8b\u4ef6\u3001\u72b6\u6001\u53d8\u66f4\u7b494\u7c7b\u4e8b\u4ef6\u56de\u8c03<\/p>\n<\/li>\n<li>\n<p>\u6280\u672f\u7ea6\u675f&#xff1a;5\u79d2\u8d85\u65f6\u5f3a\u5236\u5f02\u6b65\u5904\u7406&#xff1b;3\u6b21\u91cd\u8bd5\u4fdd\u8bc1\u5230\u8fbe&#xff1b;msgId \u5e42\u7b49\u9632\u91cd\u590d<\/p>\n<\/li>\n<\/ul>\n<p>\u7ea6\u675f\u8981\u70b9&#xff1a;5\u79d2\u8d85\u65f6\u662f\u5f02\u6b65\u56de\u8c03\u5c42\u7684\u786c\u7ea6\u675f\u3002\u590d\u6742\u4e1a\u52a1\u903b\u8f91&#xff08;\u5982AI\u63a8\u7406\u3001\u5ba1\u6279\u6d41\u8f6c&#xff09;\u8017\u65f6\u8fdc\u8d855\u79d2&#xff0c;\u5fc5\u987b\u57285\u79d2\u5185\u8fd4\u56de200\u7a7a\u54cd\u5e94&#xff0c;\u4e1a\u52a1\u5904\u7406\u8d70\u5f02\u6b65\u961f\u5217\u30023\u6b21\u91cd\u8bd5\u673a\u5236\u4e0b\u91cd\u590d\u56de\u8c03\u662f\u5e38\u6001\u2014\u2014msgId \u5fc5\u987b\u4f5c\u4e3a\u5e42\u7b49\u952e&#xff0c;\u540c\u4e00msgId\u4e8c\u6b21\u5230\u8fbe\u76f4\u63a5\u4e22\u5f03&#xff0c;\u907f\u514d\u91cd\u590d\u5904\u7406\u653e\u5927\u6210\u4e1a\u52a1\u4e8b\u6545\u3002<\/p>\n<h3 id=\"\u7b2c\u4e09\u5c42\uff1a\u62c9\u53d6\u8865\u5145\u5c42\u2014\u2014\u5f00\u53d1\u8005\u4e3b\u52a8\u62c9\u53d6\u5386\u53f2\u6570\u636e\u8865\u56de\u8c03\u4e0d\u8db3\">\u7b2c\u4e09\u5c42&#xff1a;\u62c9\u53d6\u8865\u5145\u5c42\u2014\u2014\u5f00\u53d1\u8005\u4e3b\u52a8\u62c9\u53d6\u5386\u53f2\u6570\u636e\u8865\u56de\u8c03\u4e0d\u8db3<\/h3>\n<p>\u5b9e\u65f6\u56de\u8c03\u53ea\u80fd\u611f\u77e5&#034;\u73b0\u5728\u53d1\u751f&#034;\u7684\u4e8b\u4ef6&#xff0c;\u9057\u6f0f\u7684\u5386\u53f2\u4e0a\u4e0b\u6587\u9700\u901a\u8fc7\u62c9\u53d6\u63a5\u53e3\u8865\u5145\u3002\u6d88\u606f\u8bb0\u5f55\u63a5\u53e3\u6309\u65f6\u95f4\/\u7c7b\u578b\/\u5bf9\u8c61\u7b5b\u9009\u62c9\u5386\u53f2\u6d88\u606f&#xff0c;\u8054\u7cfb\u4eba\u540c\u6b65\u63a5\u53e3\u62c9\u597d\u53cb\u5217\u8868\u3002\u8fd9\u79cd\u8c03\u7528\u65b9\u5f0f\u7c7b\u4f3c\u6570\u636e\u5e93\u5206\u9875\u67e5\u8be2\u6216Elasticsearch\u68c0\u7d22\u2014\u2014\u6279\u91cf\u62c9\u53d6&#043;\u6e38\u6807\u5206\u9875&#043;\u589e\u91cf\u540c\u6b65\u3002<\/p>\n<ul>\n<li>\n<p>\u8c03\u7528\u65b9\u5411&#xff1a;\u5f00\u53d1\u8005 \u2192 Eyun&#xff08;\u62c9\u53d6&#xff09;<\/p>\n<\/li>\n<li>\n<p>\u8c03\u7528\u6a21\u5f0f&#xff1a;\u6279\u91cf\u62c9\u53d6 &#043; \u589e\u91cf\u6e38\u6807<\/p>\n<\/li>\n<li>\n<p>\u5ef6\u8fdf\u7279\u5f81&#xff1a;\u5206\u9875\u62c9\u53d6&#xff0c;\u5355\u6b21\u6beb\u79d2\u7ea7<\/p>\n<\/li>\n<li>\n<p>\u9002\u7528\u573a\u666f&#xff1a;\u8865\u5145\u5386\u53f2\u5bf9\u8bdd\u4e0a\u4e0b\u6587\u3001\u540c\u6b65\u8054\u7cfb\u4eba\u5217\u8868\u3001\u5bf9\u8d26\u56de\u8c03\u9057\u6f0f\u6d88\u606f<\/p>\n<\/li>\n<li>\n<p>\u6280\u672f\u7ea6\u675f&#xff1a;\u5168\u91cf\u62c9\u53d6\u538b\u529b\u5927\u9700\u589e\u91cf\u540c\u6b65&#xff0c;\u6309\u65f6\u95f4\u6e38\u6807\u5206\u9875\u63a7\u5236\u5355\u6b21\u62c9\u53d6\u91cf<\/p>\n<\/li>\n<\/ul>\n<p>\u7ea6\u675f\u8981\u70b9&#xff1a;\u62c9\u53d6\u5c42\u6700\u5927\u7684\u98ce\u9669\u662f\u5168\u91cf\u62c9\u53d6\u538b\u57ae\u670d\u52a1\u7aef\u3002\u6b63\u786e\u505a\u6cd5\u662f\u6309fromUser &#043; \u65f6\u95f4\u6e38\u6807\u589e\u91cf\u62c9\u53d6&#xff0c;\u6bcf\u6b21\u9650\u5b9a\u6761\u6570&#xff08;\u598250\u6761&#xff09;\u5206\u9875&#xff0c;\u8bb0\u5f55\u4e0a\u6b21\u62c9\u53d6\u7684\u6700\u5927\u65f6\u95f4\u6233\u4f5c\u4e3a\u4e0b\u6b21\u6e38\u6807\u3002\u8865\u507f\u573a\u666f\u624d\u7528\u5168\u91cf\u62c9\u53d6\u2014\u2014\u5982\u56de\u8c03\u94fe\u8def\u6545\u969c\u6062\u590d\u540e\u8865\u62c9\u4e22\u5931\u671f\u95f4\u7684\u6d88\u606f\u3002<\/p>\n<h3 id=\"3\u5c42\u8c03\u7528\u6a21\u578b\u5bf9\u6bd4\">3\u5c42\u8c03\u7528\u6a21\u578b\u5bf9\u6bd4<\/h3>\n<table>\n<tbody>\n<tr>\n<p>\u8c03\u7528\u5c42<\/p>\n<p>\u8c03\u7528\u65b9\u5411<\/p>\n<p>\u8c03\u7528\u6a21\u5f0f<\/p>\n<p>\u5ef6\u8fdf\u7279\u5f81<\/p>\n<p>\u6280\u672f\u7ea6\u675f<\/p>\n<p>\u9002\u7528\u573a\u666f<\/p>\n<\/tr>\n<tr>\n<td>\n<p>\u540c\u6b65\u8c03\u7528\u5c42<\/p>\n<\/td>\n<td>\n<p>\u5f00\u53d1\u8005\u2192Eyun<\/p>\n<\/td>\n<td>\n<p>\u8bf7\u6c42-\u54cd\u5e94<\/p>\n<\/td>\n<td>\n<p>&lt;500ms<\/p>\n<\/td>\n<td>\n<p>1002\u5237Token\/1004\u9000\u907f<\/p>\n<\/td>\n<td>\n<p>\u5373\u65f6\u53d1\u9001\u6d88\u606f<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u5f02\u6b65\u56de\u8c03\u5c42<\/p>\n<\/td>\n<td>\n<p>Eyun\u2192\u5f00\u53d1\u8005<\/p>\n<\/td>\n<td>\n<p>\u4e8b\u4ef6\u9a71\u52a8<\/p>\n<\/td>\n<td>\n<p>\u5b9e\u65f6&lt;5\u79d2ACK<\/p>\n<\/td>\n<td>\n<p>5\u79d2\u8d85\u65f6\/3\u6b21\u91cd\u8bd5\/msgId\u5e42\u7b49<\/p>\n<\/td>\n<td>\n<p>\u63a5\u6536\u7528\u6237\u884c\u4e3a<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u62c9\u53d6\u8865\u5145\u5c42<\/p>\n<\/td>\n<td>\n<p>\u5f00\u53d1\u8005\u2192Eyun<\/p>\n<\/td>\n<td>\n<p>\u6279\u91cf\u6e38\u6807<\/p>\n<\/td>\n<td>\n<p>\u5206\u9875\u6beb\u79d2\u7ea7<\/p>\n<\/td>\n<td>\n<p>\u589e\u91cf\u6e38\u6807\/\u5206\u9875\u63a7\u5236<\/p>\n<\/td>\n<td>\n<p>\u5386\u53f2\u4e0a\u4e0b\u6587\u8865\u5145<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"3\u5c42\u8c03\u7528\u6a21\u578b\u8def\u7531\u6846\u67b6\">3\u5c42\u8c03\u7528\u6a21\u578b\u8def\u7531\u6846\u67b6<\/h3>\n<p>def route_call(intent, ctx):<br \/>\n    &#034;&#034;&#034;\u6309\u8c03\u7528\u610f\u56fe\u8def\u7531\u5230\u5bf9\u5e94\u8c03\u7528\u5c42&#034;&#034;&#034;<br \/>\n    if intent in (&#034;send_text&#034;, &#034;send_image&#034;, &#034;send_file&#034;):<br \/>\n        # \u540c\u6b65\u8c03\u7528\u5c42&#xff1a;\u5373\u65f6\u53d1\u9001<br \/>\n        resp &#061; post_eyun(intent, payload&#061;{&#034;wId&#034;: ctx[&#034;wid&#034;], &#034;token&#034;: ctx[&#034;token&#034;], &#034;toUser&#034;: ctx[&#034;user&#034;], &#034;content&#034;: ctx[&#034;content&#034;]})<br \/>\n        if resp[&#034;code&#034;] &#061;&#061; 1000:<br \/>\n            return {&#034;layer&#034;: &#034;sync&#034;, &#034;status&#034;: &#034;sent&#034;}<br \/>\n        if resp[&#034;code&#034;] &#061;&#061; 1002:<br \/>\n            ctx[&#034;token&#034;] &#061; refresh_token(ctx[&#034;wid&#034;]); return route_call(intent, ctx)<br \/>\n        if resp[&#034;code&#034;] &#061;&#061; 1004:<br \/>\n            sleep(3); return route_call(intent, ctx)  # \u9000\u907f\u91cd\u8bd5<br \/>\n    if intent in (&#034;msg_received&#034;, &#034;friend_added&#034;, &#034;group_event&#034;, &#034;status_change&#034;):<br \/>\n        # \u5f02\u6b65\u56de\u8c03\u5c42&#xff1a;5\u79d2\u5185ACK&#xff0c;\u4e1a\u52a1\u5f02\u6b65<br \/>\n        ack_200(); enqueue(async_handle, ctx); return {&#034;layer&#034;: &#034;async&#034;, &#034;status&#034;: &#034;acked&#034;}<br \/>\n    if intent &#061;&#061; &#034;fetch_history&#034;:<br \/>\n        # \u62c9\u53d6\u8865\u5145\u5c42&#xff1a;\u6309\u65f6\u95f4\u6e38\u6807\u589e\u91cf\u62c9\u53d6<br \/>\n        msgs &#061; pull_history(fromUser&#061;ctx[&#034;user&#034;], cursor&#061;ctx[&#034;cursor&#034;], limit&#061;50)<br \/>\n        return {&#034;layer&#034;: &#034;pull&#034;, &#034;data&#034;: msgs, &#034;next_cursor&#034;: msgs[-1][&#034;ts&#034;]}<br \/>\n    raise ValueError(&#034;unknown intent&#034;) <\/p>\n<p>\u6846\u67b6\u6309\u8c03\u7528\u610f\u56fe\u5206\u53d1\u5230\u4e09\u5c42\u2014\u2014\u53d1\u9001\u7c7b\u8d70\u540c\u6b65\u8c03\u7528\u5c42&#xff08;\u542b1002\/1004\u81ea\u6108&#xff09;\u3001\u56de\u8c03\u7c7b\u8d70\u5f02\u6b65\u56de\u8c03\u5c42&#xff08;\u5148ACK\u540e\u5165\u961f&#xff09;\u3001\u8865\u5168\u7c7b\u8d70\u62c9\u53d6\u8865\u5145\u5c42&#xff08;\u6e38\u6807\u5206\u9875&#xff09;\u3002\u4e09\u5c42\u804c\u8d23\u5206\u79bb&#xff0c;\u907f\u514d\u5728\u4e00\u5c42\u6df7\u5408\u5904\u7406\u5bfc\u81f4\u8d85\u65f6\u6216\u91cd\u590d\u3002code&#061;1001 \u53c2\u6570\u9519\u8bef\u76f4\u63a5\u544a\u8b66\u800c\u975e\u91cd\u8bd5&#xff0c;\u907f\u514d\u9519\u8bef\u53c2\u6570\u88ab\u65e0\u9650\u9000\u907f\u3002<\/p>\n<h3 id=\"3\u5c42\u534f\u540c\u7684\u5ef6\u4f38\">3\u5c42\u534f\u540c\u7684\u5ef6\u4f38<\/h3>\n<p>3\u5c42\u8c03\u7528\u6a21\u578b\u8986\u76d6\u4e86&#034;\u5373\u65f6\u64cd\u4f5c &#043; \u4e8b\u4ef6\u611f\u77e5 &#043; \u5386\u53f2\u8865\u5145&#034;\u5b8c\u6574\u80fd\u529b\u57df\u2014\u2014\u540c\u6b65\u8c03\u7528\u5c42\u6267\u884c\u5373\u65f6\u52a8\u4f5c\u3001\u5f02\u6b65\u56de\u8c03\u5c42\u611f\u77e5\u5b9e\u65f6\u4e8b\u4ef6\u3001\u62c9\u53d6\u8865\u5145\u5c42\u8865\u5168\u5386\u53f2\u4e0a\u4e0b\u6587\u3002\u4e09\u5c42\u4e0d\u662f\u5e76\u5217\u800c\u662f\u534f\u540c&#xff1a;\u62c9\u53d6\u5c42\u8865\u5168\u7684\u5386\u53f2\u6d88\u606f\u8ba9\u540c\u6b65\u5c42\u7684\u56de\u590d\u66f4\u6709\u4e0a\u4e0b\u6587\u3001\u8ba9\u5f02\u6b65\u5c42\u7684\u4e8b\u4ef6\u5904\u7406\u66f4\u6709\u8bb0\u5fc6\u3002\u5f00\u53d1\u8005\u6309\u573a\u666f\u9009\u62e9\u8c03\u7528\u5c42\u800c\u975e\u6df7\u5408\u4f7f\u7528\u2014\u2014\u53d1\u9001\u8d70\u540c\u6b65\u3001\u611f\u77e5\u8d70\u5f02\u6b65\u3001\u8865\u5168\u8d70\u62c9\u53d6&#xff0c;\u4e09\u5c42\u5404\u53f8\u5176\u804c\u3002<\/p>\n<p>\u4ece\u843d\u5730\u770b&#xff0c;\u65b0\u63a5\u5165Eyun\u7684\u9879\u76ee\u5efa\u8bae\u5148\u8dd1\u901a\u540c\u6b65\u8c03\u7528\u5c42\u7684sendText\u95ed\u73af&#xff0c;\u518d\u8865\u5f02\u6b65\u56de\u8c03\u5c42\u7684Webhook\u63a5\u6536&#xff0c;\u6700\u540e\u63a5\u62c9\u53d6\u8865\u5145\u5c42\u505a\u4e0a\u4e0b\u6587\u589e\u5f3a\u3002\u4e09\u5c42\u6e10\u8fdb\u5f0f\u63a5\u5165&#xff0c;\u907f\u514d\u4e00\u6b21\u6027\u642d\u5efa\u4e09\u5c42\u67b6\u6784\u5bfc\u81f4\u5de5\u7a0b\u590d\u6742\u5ea6\u8fc7\u8f7d\u3002\u591awId\u5b9e\u4f8b\u7ba1\u7406\u5728 Eyun\u5e73\u53f0 \u64cd\u4f5c&#xff0c;\u6bcf\u5b9e\u4f8b\u7684\u4e09\u5c42\u8c03\u7528\u94fe\u8def\u72ec\u7acb\u7ef4\u62a4\u3002\u4ece\u8d8b\u52bf\u770b&#xff0c;\u4e09\u5c42\u8c03\u7528\u6a21\u578b\u4f1a\u968f\u4e8b\u4ef6\u7c7b\u578b\u6269\u5c55\u6301\u7eed\u6f14\u5316\u2014\u2014\u5f53\u524d4\u7c7b\u4e8b\u4ef6\u56de\u8c03\u8986\u76d6\u6d88\u606f\/\u597d\u53cb\/\u7fa4\/\u72b6\u6001&#xff0c;\u672a\u6765\u65b0\u589e\u4e8b\u4ef6\u7c7b\u578b\u65f6\u5f02\u6b65\u56de\u8c03\u5c42\u7684\u8def\u7531\u5206\u53d1\u903b\u8f91\u4f1a\u6269\u5c55&#xff0c;\u4f46\u4e09\u5c42\u6846\u67b6\u672c\u8eab\u7a33\u5b9a\u4e0d\u53d8&#xff0c;\u65b0\u589e\u80fd\u529b\u4f5c\u4e3a\u5f02\u6b65\u5c42\u7684\u4e8b\u4ef6\u5b50\u7c7b\u578b\u63a5\u5165\u5373\u53ef&#xff0c;\u65e0\u9700\u91cd\u6784\u8c03\u7528\u6a21\u578b\u3002\u63a5\u53e3\u80fd\u529b\u4ee5 Eyun\u5f00\u53d1\u6587\u6863 \u4e3a\u51c6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f20\u7edf\u5fae\u4fe1\u529f\u80fd\u8c03\u7528\u65b9\u5f0f\u662f\\&#8221;\u5ba2\u6237\u7aef\u2192\u5fae\u4fe1\u670d\u52a1\u5668\u2192\u5bf9\u7aef\u5ba2\u6237\u7aef\\&#8221;\u7684\u5c01\u95ed\u94fe\u8def\u2014\u2014\u6d88\u606f\u53ea\u80fd\u5728\u5ba2\u6237\u7aef\u4ea7\u751f\u3001\u884c\u4e3a\u53ea\u80fd\u5728\u5ba2\u6237\u7aef\u54cd\u5e94\u3001\u5386\u53f2\u53ea\u80fd\u5728\u5ba2\u6237\u7aef\u67e5\u9605\u3002\u5916\u90e8\u4e1a\u52a1\u7cfb\u7edf\u65e0\u6cd5\u4ecb\u5165\u8fd9\u6761\u94fe\u8def&#xff0c;\\&#8221;\u63a5\u5165\u5fae\u4fe1\\&#8221;\u957f\u671f\u7b49\u540c\u4e8e\\&#8221;\u9006\u5411\u534f\u8bae\\&#8221;\u3002Eyun API\u628a\u8fd9\u6761\u5c01\u95ed\u94fe\u8def\u6253\u5f00\u4e3a\u5f00\u53d1\u8005\u53ef\u8c03\u7528\u76843\u5c42\u8c03\u7528\u6a21\u578b&#xff0c;\u91cd\u65b0\u5b9a\u4e49\u4e86\u5fae\u4fe1\u529f\u80fd\u7684\u8c03\u7528\u65b9\u5f0f\u3002\u63a5\u53e3\u89c4\u8303\u5bf9\u7167 Eyun\u5f00\u53d1\u6587\u6863\u3002<br \/>\n\u7b2c\u4e00\u5c42&#xff1a;\u540c\u6b65\u8c03\u7528\u5c42\u2014\u2014\u5f00\u53d1\u8005\u4e3b\u52a8\u53d1\u8d77HTTP\u8bf7\u6c42<br \/>\n\u5f00\u53d1\u8005\u7cfb\u7edf\u4e3b\u52a8\u5411Eyun\u53d1\u8d77HTTP\u8bf7\u6c42\u8c03\u7528\u63a5\u53e3\u3002\u4ee5s<\/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":[99,323,1645,43,4403],"topic":[],"class_list":["post-109187","post","type-post","status-publish","format-standard","hentry","category-server","tag-java","tag-323","tag-1645","tag-43","tag-4403"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4e2a\u4eba\u5fae\u4fe1API\u63a5\u53e3\u5982\u4f55\u91cd\u65b0\u5b9a\u4e49\u5fae\u4fe1\u529f\u80fd\u8c03\u7528\u65b9\u5f0f\uff1f - \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\/109187.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4e2a\u4eba\u5fae\u4fe1API\u63a5\u53e3\u5982\u4f55\u91cd\u65b0\u5b9a\u4e49\u5fae\u4fe1\u529f\u80fd\u8c03\u7528\u65b9\u5f0f\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u4f20\u7edf\u5fae\u4fe1\u529f\u80fd\u8c03\u7528\u65b9\u5f0f\u662f&quot;\u5ba2\u6237\u7aef\u2192\u5fae\u4fe1\u670d\u52a1\u5668\u2192\u5bf9\u7aef\u5ba2\u6237\u7aef&quot;\u7684\u5c01\u95ed\u94fe\u8def\u2014\u2014\u6d88\u606f\u53ea\u80fd\u5728\u5ba2\u6237\u7aef\u4ea7\u751f\u3001\u884c\u4e3a\u53ea\u80fd\u5728\u5ba2\u6237\u7aef\u54cd\u5e94\u3001\u5386\u53f2\u53ea\u80fd\u5728\u5ba2\u6237\u7aef\u67e5\u9605\u3002\u5916\u90e8\u4e1a\u52a1\u7cfb\u7edf\u65e0\u6cd5\u4ecb\u5165\u8fd9\u6761\u94fe\u8def&#xff0c;&quot;\u63a5\u5165\u5fae\u4fe1&quot;\u957f\u671f\u7b49\u540c\u4e8e&quot;\u9006\u5411\u534f\u8bae&quot;\u3002Eyun API\u628a\u8fd9\u6761\u5c01\u95ed\u94fe\u8def\u6253\u5f00\u4e3a\u5f00\u53d1\u8005\u53ef\u8c03\u7528\u76843\u5c42\u8c03\u7528\u6a21\u578b&#xff0c;\u91cd\u65b0\u5b9a\u4e49\u4e86\u5fae\u4fe1\u529f\u80fd\u7684\u8c03\u7528\u65b9\u5f0f\u3002\u63a5\u53e3\u89c4\u8303\u5bf9\u7167 Eyun\u5f00\u53d1\u6587\u6863\u3002 \u7b2c\u4e00\u5c42&#xff1a;\u540c\u6b65\u8c03\u7528\u5c42\u2014\u2014\u5f00\u53d1\u8005\u4e3b\u52a8\u53d1\u8d77HTTP\u8bf7\u6c42 \u5f00\u53d1\u8005\u7cfb\u7edf\u4e3b\u52a8\u5411Eyun\u53d1\u8d77HTTP\u8bf7\u6c42\u8c03\u7528\u63a5\u53e3\u3002\u4ee5s\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/109187.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-23T06:57:10+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\/109187.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/109187.html\",\"name\":\"\u4e2a\u4eba\u5fae\u4fe1API\u63a5\u53e3\u5982\u4f55\u91cd\u65b0\u5b9a\u4e49\u5fae\u4fe1\u529f\u80fd\u8c03\u7528\u65b9\u5f0f\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-23T06:57:10+00:00\",\"dateModified\":\"2026-09-23T06:57:10+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/109187.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/109187.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/109187.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4e2a\u4eba\u5fae\u4fe1API\u63a5\u53e3\u5982\u4f55\u91cd\u65b0\u5b9a\u4e49\u5fae\u4fe1\u529f\u80fd\u8c03\u7528\u65b9\u5f0f\uff1f\"}]},{\"@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":"\u4e2a\u4eba\u5fae\u4fe1API\u63a5\u53e3\u5982\u4f55\u91cd\u65b0\u5b9a\u4e49\u5fae\u4fe1\u529f\u80fd\u8c03\u7528\u65b9\u5f0f\uff1f - \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\/109187.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4e2a\u4eba\u5fae\u4fe1API\u63a5\u53e3\u5982\u4f55\u91cd\u65b0\u5b9a\u4e49\u5fae\u4fe1\u529f\u80fd\u8c03\u7528\u65b9\u5f0f\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u4f20\u7edf\u5fae\u4fe1\u529f\u80fd\u8c03\u7528\u65b9\u5f0f\u662f\"\u5ba2\u6237\u7aef\u2192\u5fae\u4fe1\u670d\u52a1\u5668\u2192\u5bf9\u7aef\u5ba2\u6237\u7aef\"\u7684\u5c01\u95ed\u94fe\u8def\u2014\u2014\u6d88\u606f\u53ea\u80fd\u5728\u5ba2\u6237\u7aef\u4ea7\u751f\u3001\u884c\u4e3a\u53ea\u80fd\u5728\u5ba2\u6237\u7aef\u54cd\u5e94\u3001\u5386\u53f2\u53ea\u80fd\u5728\u5ba2\u6237\u7aef\u67e5\u9605\u3002\u5916\u90e8\u4e1a\u52a1\u7cfb\u7edf\u65e0\u6cd5\u4ecb\u5165\u8fd9\u6761\u94fe\u8def&#xff0c;\"\u63a5\u5165\u5fae\u4fe1\"\u957f\u671f\u7b49\u540c\u4e8e\"\u9006\u5411\u534f\u8bae\"\u3002Eyun API\u628a\u8fd9\u6761\u5c01\u95ed\u94fe\u8def\u6253\u5f00\u4e3a\u5f00\u53d1\u8005\u53ef\u8c03\u7528\u76843\u5c42\u8c03\u7528\u6a21\u578b&#xff0c;\u91cd\u65b0\u5b9a\u4e49\u4e86\u5fae\u4fe1\u529f\u80fd\u7684\u8c03\u7528\u65b9\u5f0f\u3002\u63a5\u53e3\u89c4\u8303\u5bf9\u7167 Eyun\u5f00\u53d1\u6587\u6863\u3002 \u7b2c\u4e00\u5c42&#xff1a;\u540c\u6b65\u8c03\u7528\u5c42\u2014\u2014\u5f00\u53d1\u8005\u4e3b\u52a8\u53d1\u8d77HTTP\u8bf7\u6c42 \u5f00\u53d1\u8005\u7cfb\u7edf\u4e3b\u52a8\u5411Eyun\u53d1\u8d77HTTP\u8bf7\u6c42\u8c03\u7528\u63a5\u53e3\u3002\u4ee5s","og_url":"https:\/\/www.wsisp.com\/helps\/109187.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-23T06:57:10+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\/109187.html","url":"https:\/\/www.wsisp.com\/helps\/109187.html","name":"\u4e2a\u4eba\u5fae\u4fe1API\u63a5\u53e3\u5982\u4f55\u91cd\u65b0\u5b9a\u4e49\u5fae\u4fe1\u529f\u80fd\u8c03\u7528\u65b9\u5f0f\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-23T06:57:10+00:00","dateModified":"2026-09-23T06:57:10+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/109187.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/109187.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/109187.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4e2a\u4eba\u5fae\u4fe1API\u63a5\u53e3\u5982\u4f55\u91cd\u65b0\u5b9a\u4e49\u5fae\u4fe1\u529f\u80fd\u8c03\u7528\u65b9\u5f0f\uff1f"}]},{"@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\/109187","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=109187"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/109187\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=109187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=109187"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=109187"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=109187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}