{"id":19754,"date":"2026-03-11T16:45:40","date_gmt":"2026-03-11T08:45:40","guid":{"rendered":"https:\/\/blog.ywdevops.cn\/?p=19754"},"modified":"2026-03-12T10:06:53","modified_gmt":"2026-03-12T02:06:53","slug":"openclaw-3","status":"publish","type":"post","link":"https:\/\/blog.ywdevops.cn\/index.php\/2026\/03\/11\/openclaw-3\/","title":{"rendered":"Openclaw\u914d\u7f6e\u98de\u4e66"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u9996\u5148\u5728openclaw\u4e0a\u5b89\u88c5\u98de\u4e66\u63d2\u4ef6\uff0c\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#\u4f7f\u7528openclaw\u767b\u5f55\u673a\u5668\uff0c\u4e0d\u8981\u7528root\nopenclaw plugins install @m1heng-clawd\/feishu<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">1\u3001\u767b\u5f55\u98de\u4e66\u5f00\u53d1\u8005\u540e\u53f0\uff0c\u70b9\u51fb\u521b\u5efa\u4f01\u4e1a\u81ea\u5efa\u5e94\u7528\uff0c\u5728\u51ed\u8bc1\u548c\u57fa\u7840\u4fe1\u606f\u4f4d\u7f6e\uff0c\u4fdd\u7559ID\u548csecret\uff0c\u540e\u7eed\u7528\uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"654\" height=\"267\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/7-5.png\" alt=\"\" class=\"wp-image-19755\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/7-5.png 654w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/7-5-300x122.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/7-5-600x245.png 600w\" sizes=\"auto, (max-width: 654px) 100vw, 654px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">2\u3001\u5728\u6dfb\u52a0\u5e94\u7528\u80fd\u529b\u4f4d\u7f6e\uff0c\u6dfb\u52a0\u673a\u5668\u4eba\uff0c\u5e76\u914d\u7f6e\u4e2a\u540d\u5b57\uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"653\" height=\"293\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/8-3.png\" alt=\"\" class=\"wp-image-19756\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/8-3.png 653w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/8-3-300x135.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/8-3-600x269.png 600w\" sizes=\"auto, (max-width: 653px) 100vw, 653px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">3\u3001\u5728openclaw\u4e2d\u6267\u884c\u547d\u4ee4\u6dfb\u52a0\u98de\u4e66\u914d\u7f6e\uff0c\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>openclaw config set channels.feishu.appId \"\u98de\u4e66 app id\"\r\n\ropenclaw config set channels.feishu.appSecret \"\u98de\u4e66 app secret\"\r\n\ropenclaw config set channels.feishu.enabled true\r\n\r# \u63a8\u8350\u4f7f\u7528 websocket\r\nopenclaw config set channels.feishu.connectionMode websocket\r\n\ropenclaw config set channels.feishu.dmPolicy pairing\r\n\ropenclaw config set channels.feishu.groupPolicy allowlist\r\n\ropenclaw config set channels.feishu.requireMention true<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u9700\u8981\u5728\u7fa4\u804a\u4e2d\u652f\u6301\u3002\u4f60\u53ef\u4ee5\u521b\u5efa\u98de\u4e66\u7fa4\u804a\uff0c\u7136\u540e\u628a\u673a\u5668\u4eba\u5e94\u7528\u62c9\u8fdb\u7fa4\u91cc\uff0c\u4f46\u662f\u4e0a\u9762\u7684\u914d\u7f6e\u5c31\u9700\u8981\u505a\u4fee\u6539\u4e86\uff0c\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u8fd9\u4e2a\u914d\u7f6e\u517c\u5bb9\u4e0a\u9762\u7684\u914d\u7f6e\r\nopenclaw config set channels.feishu.dmPolicy open   #\u4efb\u4f55\u4eba\u90fd\u53ef\u4ee5\u79c1\u804aopenclaw\r\nopenclaw config set channels.feishu.groupPolicy open  #\u652f\u6301\u7fa4\u804a\n\r#\u5f53\u4f60\u8bbe\u7f6e dmPolicy: \"open\" \u65f6\uff0c\u5fc5\u987b\u540c\u65f6\u58f0\u660e allowFrom\uff0c\u8fd9\u662f\u4e00\u4e2a\u5b89\u5168\u4fdd\u62a4\u673a\u5236\nopenclaw config set channels.feishu.allowFrom &#91;'*']<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u540e\u91cd\u542fgateway,\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>openclaw gateway restart<\/code><\/pre>\n\n\n\n<p class=\"has-luminous-vivid-amber-background-color has-background wp-block-paragraph\">\u5b9e\u9645\u4e0a\u53ef\u4ee5\u901a\u8fc7\u98de\u4e66\u7ed9Openclaw\u53d1\u6d88\u606f\uff0c\u8ba9Openclaw\u81ea\u5df1\u4fee\u6539Openclaw.json\u6587\u4ef6\u5e76\u91cd\u542f\uff0c\u89c1\u6587\u7ae0\u6700\u540e<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">4\u3001\u91cd\u542f\u5b8c\u6210\u540e\u56de\u5230\u98de\u4e66\uff0c\u627e\u5230\u300c\u4e8b\u4ef6\u548c\u56de\u8c03\u300d\uff0c\u9009\u62e9\u957f\u8fde\u63a5\u6a21\u5f0f\uff0c\u5982\u4e0b\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"651\" height=\"343\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/9-2.png\" alt=\"\" class=\"wp-image-19760\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/9-2.png 651w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/9-2-300x158.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/9-2-600x316.png 600w\" sizes=\"auto, (max-width: 651px) 100vw, 651px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">5\u3001\u5982\u679c\u914d\u7f6e\u6210\u529f\uff0c\u8bf4\u660e\u8fde\u63a5\u5df2\u5efa\u7acb\u3002\u7ee7\u7eed\u4e0b\u9762\u7684\u914d\u7f6e\uff0c\u6dfb\u52a0\u4e8b\u4ef6\uff0c\u9009\u62e9\u300c\u63a5\u6536\u6d88\u606f\u300d\u4e8b\u4ef6\uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"656\" height=\"514\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/10-2.png\" alt=\"\" class=\"wp-image-19763\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/10-2.png 656w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/10-2-300x235.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/10-2-600x470.png 600w\" sizes=\"auto, (max-width: 656px) 100vw, 656px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e8b\u4ef6\u6dfb\u52a0\u5b8c\u6210\u4e4b\u540e\uff0c\u8fd8\u9700\u8981\u5f00\u901a\u6743\u9650\uff0c\u641c\u7d22\u4ee5\u4e0b\u6743\u9650\u5168\u90e8\u52fe\u9009\uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"650\" height=\"256\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/11-2.png\" alt=\"\" class=\"wp-image-19764\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/11-2.png 650w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/11-2-300x118.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/11-2-600x236.png 600w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"642\" height=\"311\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/12-1.png\" alt=\"\" class=\"wp-image-19765\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/12-1.png 642w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/12-1-300x145.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/12-1-600x291.png 600w\" sizes=\"auto, (max-width: 642px) 100vw, 642px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"649\" height=\"275\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/13.png\" alt=\"\" class=\"wp-image-19766\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/13.png 649w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/13-300x127.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/13-600x254.png 600w\" sizes=\"auto, (max-width: 649px) 100vw, 649px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">6\u3001\u7136\u540e\u521b\u5efa\u7248\u672c\u5e76\u53d1\u5e03\uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"651\" height=\"248\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/14-1.png\" alt=\"\" class=\"wp-image-19767\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/14-1.png 651w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/14-1-300x114.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/14-1-600x229.png 600w\" sizes=\"auto, (max-width: 651px) 100vw, 651px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"653\" height=\"315\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/15.png\" alt=\"\" class=\"wp-image-19768\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/15.png 653w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/15-300x145.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/15-600x289.png 600w\" sizes=\"auto, (max-width: 653px) 100vw, 653px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">7\u3001\u53d1\u5e03\u5b8c\u6210\u540e\uff0c\u56de\u5230\u98de\u4e66\u5ba2\u6237\u7aef\uff0c\u53ef\u4ee5\u770b\u5230\u5e94\u7528\u5df2\u4e0a\u7ebf\uff0c\u70b9\u51fb\u6253\u5f00\u5e94\u7528\uff0c\u53d1\u9001\u6d88\u606f\uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"649\" height=\"337\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/20.png\" alt=\"\" class=\"wp-image-19779\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/20.png 649w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/20-300x156.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/20-600x312.png 600w\" sizes=\"auto, (max-width: 649px) 100vw, 649px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u51fa\u73b0\u4e0a\u8ff0\u5185\u5bb9\uff0c\u8bf4\u660edmpolicy\u6ca1\u6709\u8bbe\u7f6e\u4e3aopen\uff0c\u5c31\u9700\u8981\u5728openclaw\u4e0a\u6279\u51c6\u98de\u4e66\u548cOpenclaw\u7684\u914d\u5bf9\u8bf7\u6c42\uff0c\u6267\u884c\u5982\u4e0b\u547d\u4ee4\u5373\u53ef\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>openclaw pairing approve feishu 95H9UXDB<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6279\u51c6\u540e\u5c31\u53ef\u4ee5\u5728\u98de\u4e66\u4e2d\u7ed9openclaw\u53d1\u6d88\u606f\u4e86\uff0c\u540e\u7eed\u53ef\u4ee5\u901a\u8fc7\u98de\u4e66\u7ed9openclaw\u53d1\u6d88\u606f\uff0c\u8ba9\u5b83\u81ea\u5df1\u4fee\u6539openclaw.json\u6587\u4ef6\uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"649\" height=\"313\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/18-1.png\" alt=\"\" class=\"wp-image-19780\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/18-1.png 649w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/18-1-300x145.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/18-1-600x289.png 600w\" sizes=\"auto, (max-width: 649px) 100vw, 649px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"643\" height=\"288\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/17-1.png\" alt=\"\" class=\"wp-image-19781\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/17-1.png 643w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/17-1-300x134.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/17-1-600x269.png 600w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"650\" height=\"196\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/19-1.png\" alt=\"\" class=\"wp-image-19782\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/19-1.png 650w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/19-1-300x90.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2026\/03\/19-1-600x181.png 600w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u9996\u5148\u5728openclaw\u4e0a\u5b89\u88c5\u98de\u4e66\u63d2\u4ef6\uff0c\u5982\u4e0b\uff1a 1\u3001\u767b\u5f55\u98de\u4e66\u5f00\u53d1\u8005\u540e\u53f0\uff0c\u70b9\u51fb\u521b\u5efa\u4f01\u4e1a\u81ea\u5efa\u5e94\u7528\uff0c\u5728\u51ed\u8bc1\u548c\u57fa\u7840\u4fe1\u606f\u4f4d [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[],"class_list":["post-19754","post","type-post","status-publish","format-standard","hentry","category-linux"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":8}},"_links":{"self":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts\/19754","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/comments?post=19754"}],"version-history":[{"count":14,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts\/19754\/revisions"}],"predecessor-version":[{"id":19786,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts\/19754\/revisions\/19786"}],"wp:attachment":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/media?parent=19754"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/categories?post=19754"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/tags?post=19754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}