{"id":34937,"date":"2025-05-01T08:46:23","date_gmt":"2025-05-01T00:46:23","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/34937.html"},"modified":"2025-05-01T08:46:23","modified_gmt":"2025-05-01T00:46:23","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8%e6%9c%ac%e5%9c%b0%e9%83%a8%e7%bd%b2%e5%b0%8f%e6%99%ba%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%9a%e4%bb%8e%e6%ba%90%e7%a0%81%e5%88%b0%e5%85%a8%e6%a8%a1%e5%9d%97%e8%bf%90%e8%a1%8c","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/34937.html","title":{"rendered":"\u5982\u4f55\u5728\u672c\u5730\u90e8\u7f72\u5c0f\u667a\u670d\u52a1\u5668\uff1a\u4ece\u6e90\u7801\u5230\u5168\u6a21\u5757\u8fd0\u884c\u7684\u8be6\u7ec6\u6b65\u9aa4"},"content":{"rendered":"<h2>\u5c0f\u667a\u804a\u5929\u673a\u5668\u4eba\u672c\u5730\u540e\u53f0\u670d\u52a1\u5668\u6e90\u7801\u5168\u6a21\u5757\u90e8\u7f72<\/h2>\n<p>\u4f5c\u8005&#xff1a;\u6797\u7532\u9178 -\u4e0d\u662f\u5c0f\u5973\u5b50\u4e5f\u4e0d\u662f\u5973\u6c49\u5b50 \u662f\u5927\u5973\u5b50 \u66f4\u65b0\u65e5\u671f&#xff1a;2025\u5e744\u670829\u65e5<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250501004619-6812c45bd289f.png\" alt=\"\u6211\u89c9\u5f97\u65b0\u7684\u63a7\u5236\u53f0\u597d\u770b\u8036\" \/><\/p>\n<h3>&#x1f3af; \u524d\u8a00&#xff1a;\u4e3a\u4ec0\u4e48\u8981\u5199\u8fd9\u7bc7\u6559\u7a0b&#xff1f;<\/h3>\n<p>\u4e0a\u5468\u6309\u7167\u867e\u54e5\u5c0f\u667a\u670d\u52a1\u5668\u7684\u6559\u7a0b\u53bb\u90e8\u7f72\u672c\u5730\u540e\u53f0&#xff0c;\u6211\u7528\u7684\u662f\u672c\u5730\u6e90\u7801\u8fd0\u884c\u5168\u6a21\u5757\u7684\u65b9\u6cd5\u53bb\u90e8\u7f72&#xff0c;\u867d\u7136\u7167\u7740\u6587\u5b57\u6559\u7a0b\u53bb\u90e8\u7f72\u4e86&#xff0c;\u4f46\u662f\u6559\u7a0b\u4e00\u770b\u8981\u5b89\u88c5\u597d\u591a\u4e1c\u897f\u554a&#xff0c;\u6211\u662f\u4e00\u4e2a\u786c\u4ef6\u7684&#xff0c;\u5bf9\u4e8e\u670d\u52a1\u5668\u8fd9\u5757\u4e5f\u4e0d\u719f\u6089&#xff0c;\u4e00\u8def\u574e\u574e\u5777\u5777&#xff0c;\u8fd8\u597d\u501f\u52a9\u5404\u7c7bgpt\u89e3\u51b3\u4e86\u95ee\u9898\u3002\u611f\u8c22AI\u5de5\u5177&#x1f64f;\u3002\u5982\u679c\u4f60\u4e5f\u8ddf\u6211\u4e00\u6837\u770b\u7740\u6559\u7a0b\u6709\u4e9b\u4e0b\u4e0d\u53bb\u624b&#xff0c;\u6216\u8bb8\u4f60\u53ef\u4ee5\u53c2\u8003\u6211\u8fd9\u7bc7\u6587\u7ae0\u5f00\u59cb\u52a8\u624b&#xff0c;\u5e2e\u60a8\u5c11\u8d70\u4e00\u6b65\u5f2f\u8def\u3002&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250501004620-6812c45c020a1.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u672c\u6587\u5c06\u7528\u6700\u76f4\u767d\u7684\u8bed\u8a00&#043;\u56fe\u89e3&#xff0c;\u5e26\u4f60\u5b8c\u6210\u5168\u6a21\u5757\u90e8\u7f72&#xff01; \u6ce8&#xff1a;\u90e8\u7f72\u8fc7\u7a0b\u4e5f\u4e0d\u662f\u4e00\u6b21\u5c31\u80fd\u641e\u5b9a\u7684&#xff0c;\u51fa\u73b0\u95ee\u9898\u53ef\u4ee5\u5907\u6ce8\u4ea4\u6d41&#xff0c;\u6587\u7ae0\u662f\u7ecf\u8fc7\u9a8c\u8bc1\u540e\u624d\u5199\u7684&#xff0c;\u5982\u679c\u9519\u8bef\u8bf7\u6307\u6b63&#xff0c;\u6b22\u8fce\u4ea4\u6d41&#xff01;<\/p>\n<hr \/>\n<p>\u91c7\u7528\u672c\u5730\u6e90\u7801\u8fd0\u884c\u5168\u6a21\u5757\u7684\u597d\u5904\u662f&#xff0c;\u4f60\u53ef\u4ee5\u4f53\u9a8c\u6700\u5168\u7684\u5c0f\u667a\u5927\u6a21\u578b\u5404\u7c7b\u5de5\u5177\u3002 \u58f0\u660e&#xff0c;\u672c\u6587\u53c2\u8003\u4e86&#xff1a; \u5c0f\u667a\u6e90\u7801\u6587\u6863 \u672c\u5730\u6e90\u7801\u8fd0\u884c\u5168\u6a21\u5757\u6b65\u9aa4 \u5c0f\u667a\u786c\u4ef6\u6e90\u7801 \u4e0b\u9762\u8ddf\u7740\u867e\u54e5\u672c\u5730\u6e90\u7801\u8fd0\u884c\u5168\u6a21\u5757\u7684\u6d41\u7a0b\u6765\u5427&#xff01;<\/p>\n<h3>&#x1f4e6; \u73af\u5883\u603b\u89c8<\/h3>\n<table>\n<tr>\u7ec4\u4ef6\u7248\u672c\u7528\u9014<\/tr>\n<tbody>\n<tr>\n<td>Docker<\/td>\n<td>\u6700\u65b0\u7248<\/td>\n<td>\u5bb9\u5668\u5316\u90e8\u7f72\u6570\u636e\u5e93<\/td>\n<\/tr>\n<tr>\n<td>MySQL<\/td>\n<td>8.0&#043;<\/td>\n<td>\u6570\u636e\u5b58\u50a8<\/td>\n<\/tr>\n<tr>\n<td>Redis<\/td>\n<td>7.0&#043;<\/td>\n<td>\u7f13\u5b58\u670d\u52a1<\/td>\n<\/tr>\n<tr>\n<td>JDK<\/td>\n<td>21<\/td>\n<td>\u540e\u7aef\u8fd0\u884c\u73af\u5883<\/td>\n<\/tr>\n<tr>\n<td>Python<\/td>\n<td>3.10<\/td>\n<td>AI\u6a21\u578b\u63a8\u7406<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>&#x1f527; \u4e00\u3001\u5b89\u88c5MySQL\u6570\u636e\u5e93<\/h3>\n<h4>1. \u5148\u5b89\u88c5Docker<\/h4>\n<p>\u901a\u8fc7docker\u5b89\u8f6cMySQL\u3002\u8fd9\u91cc\u56e0\u4e3a\u6211\u662f\u6ca1\u6709MySQL&#xff0c;\u6240\u4ee5\u6211\u91c7\u53d6\u4e86\u4f7f\u7528Docker\u5b89\u88c5\u3002\u6211\u7528\u7684Docker\u662f\u5728\u5b98\u65b9\u4e0b\u8f7d\u7684&#xff0c;\u6211\u5e76\u6ca1\u6709\u6309\u7167\u4ed6\u4e0a\u9762\u7ed9\u7684\u65b9\u5f0f\u53bb\u5b89\u88c5&#xff0c;\u611f\u89c9\u770b\u7684\u4e0d\u6e05\u6670\u3002 &#xff08;1&#xff09;\u5b89\u88c5Docker\u6211\u662fwin11\u7cfb\u7edf&#xff0c;\u6211\u9009\u62e9\u4e86\u7b2c3\u4e2a\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250501004620-6812c45c16623.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> &#xff08;2&#xff09;\u5b89\u88c5\u7684\u65f6\u5019\u8bb0\u5f97\u8981\u5173\u95ed\u6240\u6709\u6740\u6bd2\u8f6f\u4ef6&#xff01;\u5173\u95ed\u6240\u6709\u9632\u706b\u5899&#xff01;\u5b89\u88c5\u7684\u65f6\u5019\u4f7f\u7528\u7ba1\u7406\u5458\u8fd0\u884c.exe\u6587\u4ef6&#xff0c;\u5b89\u88c5\u7684\u65f6\u5019\u6309\u7167\u9ed8\u8ba4\u9009\u62e9\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250501004620-6812c45c34b75.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>&#xff08;2&#xff09;\u5b89\u88c5\u597d\u540e\u5173\u95ed&#xff0c;\u7136\u540e\u91cd\u65b0\u7ba1\u7406\u5458\u8fd0\u884c\u6253\u5f00\u8f6f\u4ef6\u3002\u8fdb\u5165\u754c\u9762\u65f6Accept\u4e00\u4e0b\u6761\u6b3e&#xff0c;\u7136\u540eSkip\u8df3\u8fc7\u4ecb\u7ecd\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250501004620-6812c45c437f4.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> &#xff08;3&#xff09;Docker\u8bbe\u7f6e\u3002\u8fd9\u4e00\u6b65\u662f\u5728 Docker Desktop \u91cc\u5f00\u542f WSL 2 \u96c6\u6210&#xff0c;\u76ee\u7684\u662f\u8ba9 Docker \u53ef\u4ee5\u76f4\u63a5\u5728\u4f60\u7684 WSL 2&#xff08;\u4f8b\u5982 Ubuntu&#xff09;\u73af\u5883\u4e2d\u8fd0\u884c\u5bb9\u5668\u3002\u70b9\u51fb\u8bbe\u7f6e-&gt;Resources-&gt;WSL integration&#xff0c;\u7136\u540e\u6253\u5f00Ubuntu\u7684\u6309\u94ae&#xff0c;\u4e3a\u4e86\u8ba9\u4f60\u7684 Ubuntu WSL \u73af\u5883\u53ef\u4ee5\u76f4\u63a5\u7528 Docker\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250501004620-6812c45c6457a.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u8fd9\u91cc\u6211\u5f53\u65f6\u5b89\u88c5\u7684\u65f6\u5019\u6ca1\u6709\u51fa\u73b0Ubuntu\u7684\u6309\u94ae&#xff0c;\u662f\u56e0\u4e3a\u5f53\u65f6\u6211\u7684\u7cfb\u7edf\u5c1a\u672a\u5b89\u88c5\u4efb\u4f55WSL 2\u53d1\u884c\u7248\u3002\u5982\u679c\u4f60\u6ca1\u6709\u9047\u5230\u8fd9\u4e2a\u95ee\u9898\u53ef\u4ee5\u8df3\u8fc7\u8fd9\u91cc\u3002\u89e3\u51b3\u65b9\u6cd5&#xff1a; \u2460 \u5b89\u88c5WSL 2\u53d1\u884c\u7248<\/p>\n<p>wsl \u2013install<\/p>\n<p>\u2461\u5c06\u53d1\u884c\u7248\u8bbe\u7f6e\u4e3aWSL 2\u6a21\u5f0f<\/p>\n<p>wsl <span class=\"token operator\">&#8212;<\/span><span class=\"token function\">set-version<\/span> Ubuntu 2<\/p>\n<p>\u2462\u9a8c\u8bc1\u662f\u5426\u6210\u529f<\/p>\n<p>wsl <span class=\"token operator\">&#8212;<\/span>list \u2013verbose<\/p>\n<p>\u786e\u8ba4\u8f93\u51fa\u4e2d\u5305\u542bUbuntu\u4e14\u7248\u672c\u4e3aWSL 2\u3002\u7136\u540e\u5728\u5173\u95ed\u3001\u7ba1\u7406\u5458\u91cd\u542fDocker&#xff0c;\u5c31\u53ef\u4ee5\u770b\u5230\u8fd9\u91cc\u6709\u8fd9\u4e2aUbuntu\u9009\u9879\u4e86\u3002 &#xff08;4&#xff09;\u63a5\u4e0b\u6765\u3002\u5728Docker Desktop \u4e2d\u8bbe\u7f6e \u78c1\u76d8\u955c\u50cf\u5b58\u50a8\u4f4d\u7f6e&#xff0c;Docker Desktop \u4f1a\u628a\u6240\u6709\u7684\u6570\u636e&#xff08;\u5305\u62ec\u955c\u50cf\u3001\u5bb9\u5668\u3001\u5377&#xff09;\u5b58\u5728 C \u76d8&#xff0c;\u5982\u679c\u4e0d\u6539\u8def\u5f84&#xff0c;\u65f6\u95f4\u957f\u4e86 C \u76d8\u53ef\u80fd\u7206\u6ee1\u3002\u6211\u9009\u62e9\u4e86D\u76d8\u3002\u7136\u540e\u70b9\u51fbApply&amp;restart\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250501004620-6812c45c8e6cb.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/>\u7b49\u5f85\u5b89\u88c5\u597d\u540e&#xff0c;\u7ba1\u7406\u5458\u6253\u5f00Docker&#xff0c;\u8fd9\u6837\u5c31\u5b89\u88c5\u597d\u8fd9\u4e2a\u5927\u90e8\u5934\u3002<\/p>\n<h4>2. \u901a\u8fc7docker\u5b89\u8f6cMySQL<\/h4>\n<p>\u5b89\u88c5\u597d Docker \u540e&#xff0c;\u786e\u4fddDocker\u6253\u5f00\u7684\u72b6\u6001\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7 \u547d\u4ee4\u884c\u7ec8\u7aefPowerShell&#xff0c;\u901a\u8fc7docker\u5b89\u88c5mysql\u3002<\/p>\n<p>docker run <span class=\"token operator\">&#8212;<\/span>name xiaozhi<span class=\"token operator\">&#8211;<\/span>esp32<span class=\"token operator\">&#8211;<\/span>server<span class=\"token operator\">&#8211;<\/span>db <span class=\"token operator\">&#8211;<\/span>e MYSQL_ROOT_PASSWORD&#061;123456 <span class=\"token operator\">&#8211;<\/span>p 3306:3306 <span class=\"token operator\">&#8211;<\/span>e MYSQL_DATABASE&#061;xiaozhi_esp32_server <span class=\"token operator\">&#8211;<\/span>e MYSQL_INITDB_ARGS&#061;<span class=\"token string\">&#034;&#8211;character-set-server&#061;utf8mb4 &#8211;collation-server&#061;utf8mb4_unicode_ci&#034;<\/span> <span class=\"token operator\">&#8211;<\/span>d mysql:latest<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250501004620-6812c45cb9529.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u8fd9\u4e2a\u65f6\u5019\u4f60\u53ef\u4ee5\u770b\u5230\u5728Docker\u4e2d\u770b\u5230\u5f53\u524d\u7cfb\u7edf\u6b63\u5728\u8fd0\u884c\u4e00\u4e2aMySQL\u5bb9\u5668 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250501004620-6812c45ccd8e3.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>&#x1f527; \u4e8c\u3001\u5b89\u88c5redis<\/h3>\n<p>\u5982\u679c\u8fd8\u6ca1\u6709Redis&#xff0c;\u4f60\u53ef\u4ee5\u901a\u8fc7docker\u5b89\u88c5redis<\/p>\n<p>docker run <span class=\"token operator\">&#8212;<\/span>name xiaozhi<span class=\"token operator\">&#8211;<\/span>esp32<span class=\"token operator\">&#8211;<\/span>server<span class=\"token operator\">&#8211;<\/span>redis <span class=\"token operator\">&#8211;<\/span>d <span class=\"token operator\">&#8211;<\/span>p 6379:6379 redis<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250501004621-6812c45d03446.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u56de\u8f66\u4e4b\u540e&#xff0c;\u53ef\u4ee5\u770b\u5230redis\u542f\u52a8\u8fd0\u884c <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250501004621-6812c45d1feb0.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>&#x1f527; \u4e09\u3001\u8fd0\u884cmanager-api\u7a0b\u5e8f&#xff08;\u540e\u7aef\u670d\u52a1&#xff09;<\/h3>\n<h4>1. \u5b89\u88c5JDK21<\/h4>\n<p>\u2460 JDK\u4e0b\u8f7d\u7f51\u5740&#xff1a;Java \u3002\u6211\u662fwindow\u7cfb\u7d71\u884c4\u4f4d\u3002\u89e3\u538b\u540e&#xff0c;\u53ef\u5b89\u88c5\u5230D\u76d8\u3002D:\\\\JDK21_0_6 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250501004621-6812c45d49e27.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u2461 \u8bbe\u7f6eJDK\u7684path\u73af\u5883\u53d8\u91cf\u3002\u9996\u5148\u662fPath\u73af\u5883\u53d8\u91cf\u8bbe\u7f6e\u3002\u5728\u201c\u7cfb\u7edf\u53d8\u91cf\u201d\u533a\u57df\u627e\u5230\u5e76\u9009\u4e2d Path&#xff0c;\u7136\u540e\u70b9\u51fb\u201c\u7f16\u8f91\u201d\u3002 \u5728\u7f16\u8f91\u7a97\u53e3\u4e2d&#xff0c;\u70b9\u51fb\u201c\u65b0\u5efa\u201d&#xff0c;\u6dfb\u52a0\u4ee5\u4e0bJDK\u7684\u5b89\u88c5\u8def\u5f84 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250501004621-6812c45d6da7d.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u2462 \u8bbe\u7f6eJDK\u7684JAVA_HOME \u73af\u5883\u53d8\u91cf\u3002\u5728\u201c\u7cfb\u7edf\u53d8\u91cf\u201d\u90e8\u5206\u70b9\u51fb\u201c\u65b0\u5efa\u201d&#xff0c; \u53d8\u91cf\u540d&#xff1a;JAVA_HOME&#xff0c;\u53d8\u91cf\u503c&#xff1a;JDK \u5b89\u88c5\u8def\u5f84\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250501004621-6812c45d8aed4.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u2463 \u53ef\u4ee5\u6253\u5f00PowerShell&#xff0c;\u9a8c\u8bc1 JDK \u662f\u5426\u5b89\u88c5\u6210\u529f<\/p>\n<p>java <span class=\"token operator\">&#8211;<\/span>version<\/p>\n<p>\u5982\u679c\u8fd4\u56de\u7c7b\u4f3c\u4e0b\u9762\u7684\u7ed3\u679c&#xff0c;\u8bf4\u660e JDK \u5df2\u6b63\u786e\u5b89\u88c5<\/p>\n<p>java version <span class=\"token string\">&#034;21&#034;<\/span> 2025<span class=\"token operator\">&#8211;<\/span>03<span class=\"token operator\">&#8211;<\/span>21<br \/>\nJava<span class=\"token punctuation\">(<\/span>TM<span class=\"token punctuation\">)<\/span> SE Runtime Environment <span class=\"token punctuation\">(<\/span>build 21<span class=\"token operator\">&#043;<\/span>36<span class=\"token operator\">&#8211;<\/span>2239<span class=\"token punctuation\">)<\/span><br \/>\nJava HotSpot<span class=\"token punctuation\">(<\/span>TM<span class=\"token punctuation\">)<\/span> 64<span class=\"token operator\">&#8211;<\/span>Bit Server VM <span class=\"token punctuation\">(<\/span>build 21<span class=\"token operator\">&#043;<\/span>36<span class=\"token operator\">&#8211;<\/span>2239<span class=\"token punctuation\">,<\/span> mixed mode<span class=\"token punctuation\">)<\/span><\/p>\n<h4>2.\u5b89\u88c5Maven<\/h4>\n<p>\u2460 Maven \u538b\u7f29\u5305&#xff08;\u4e0b\u8f7d Maven \u7684\u4e8c\u8fdb\u5236 zip \u6587\u4ef6&#xff09;\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250501004621-6812c45da7090.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u2461\u89e3\u538b Maven \u5230 D \u76d8&#xff0c;\u4f8b\u5982&#xff1a;D:\\\\Apache\\\\Maven\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250501004621-6812c45dd3ae8.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u2462\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf \u2022 MAVEN_HOME&#xff1a;\u6307\u5411\u4f60\u89e3\u538b Maven \u7684\u76ee\u5f55&#xff08;\u4f8b\u5982&#xff1a;D:\\\\Apache\\\\Maven&#xff09;\u3002 \u2022 Path&#xff1a;\u5c06 Maven \u7684 bin \u76ee\u5f55\u6dfb\u52a0\u5230 Path \u73af\u5883\u53d8\u91cf\u4e2d&#xff08;\u4f8b\u5982&#xff1a;D:\\\\Apache\\\\Maven\\\\bin&#xff09;\u3002<\/p>\n<h4>3.\u5b89\u88c5Java\u73af\u5883\u76f8\u5173\u63d2\u4ef6<\/h4>\n<p>\u6253\u5f00 VSCode&#xff0c;\u5b89\u88c5 Java \u63d2\u4ef6&#xff08;\u4f8b\u5982&#xff1a;Java Extension Pack&#xff09;\u4ee5\u652f\u6301 Java \u5f00\u53d1 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250501004621-6812c45de83de.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>4.\u4f7f\u7528Vscode\u7f16\u7a0b\u5de5\u5177\u52a0\u8f7dmanager-api\u6a21\u5757<\/h4>\n<p>\u9996\u5148\u4f60\u9700\u8981\u53bb\u4e0b\u8f7d\u6e90\u7801 \u867e\u54e5\u6e90\u7801\u5730\u5740 \u89e3\u538b\u540e\u6309\u7167\u867e\u54e5\u7684\u6559\u7a0b\u4f60\u9700\u8981\u201c\u628a\u5b83\u91cd\u547d\u540d\u6210xiaozhi-esp32-server&#xff0c;\u6211\u628a\u5de5\u7a0b\u653e\u5728\u4e86E\u76d8&#xff0c;\u7136\u540e\u4f7f\u7528VScode\u6253\u5f00\u8def\u5f84\u201cE:\\\\xiaozhi-esp32-server\\\\main\\\\manager-api\u201d\u3002 \u2460\u6309\u7167\u867e\u54e5\u63d0\u4f9b\u7684\u914d\u7f6e&#xff0c;\u5c06\u6570\u636e\u5e93\u8fde\u63a5\u4fe1\u606f\u586b\u5165<\/p>\n<p>src<span class=\"token operator\">\/<\/span>main<span class=\"token operator\">\/<\/span>resources<span class=\"token operator\">\/<\/span>application<span class=\"token operator\">&#8211;<\/span>dev<span class=\"token punctuation\">.<\/span>yml\u4e2d&#xff1a;<br \/>\nspring<span class=\"token operator\">:<\/span><br \/>\n  datasource<span class=\"token operator\">:<\/span><br \/>\n    username<span class=\"token operator\">:<\/span> root<br \/>\npassword<span class=\"token operator\">:<\/span> <span class=\"token number\">123456<\/span><\/p>\n<p>\u2461 \u5728src\/main\/resources\/application-dev.yml\u4e2d\u914d\u7f6eRedis\u8fde\u63a5\u4fe1\u606f<\/p>\n<p>spring<span class=\"token operator\">:<\/span><br \/>\n    data<span class=\"token operator\">:<\/span><br \/>\n      redis<span class=\"token operator\">:<\/span><br \/>\n        host<span class=\"token operator\">:<\/span> localhost<br \/>\n        port<span class=\"token operator\">:<\/span> <span class=\"token number\">6379<\/span><br \/>\n        password<span class=\"token operator\">:<\/span><br \/>\n        database<span class=\"token operator\">:<\/span> <span class=\"token number\">0<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250501004622-6812c45e062eb.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>5.\u8fd0\u884cmanager-api\u7a0b\u5e8f<\/h4>\n<p>\u4e00\u5b9a\u8981\u786e\u4fdd\u4f60\u7684Docker\u662f\u6253\u5f00\u7684&#xff0c;\u8fd9\u4fe9\u662f\u5728\u8fd0\u884c\u7684\u60c5\u51b5\u4e0b&#xff0c;\u518d\u53bb\u8fd0\u884c\u7a0b\u5e8f\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250501004622-6812c45e48c45.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u5f53\u4f60\u770b\u5230\u8f93\u51fa\u65e5\u5fd7\u65f6&#xff0c;\u8bf4\u660e\u4f60\u7684manager-api\u542f\u52a8\u6210\u529f\u4e86\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250501004622-6812c45e72c8a.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>&#x1f527;\u56db\u3001\u8fd0\u884cmanager-web\u7a0b\u5e8f&#xff08;\u524d\u7aef\u63a7\u5236\u53f0&#xff09;<\/h3>\n<h4>1. \u5b89\u88c5nodejs<\/h4>\n<p>&#xff08;\u4e0b\u9762\u7684\u6b65\u9aa4\u90fd\u662f\u6309\u7167\u867e\u54e5\u7684\u6559\u7a0b\u6765\u7684&#xff09; nodejs\u7684\u5b89\u88c5\u5730\u5740&#xff1a;Node.js \u2014 \u5728\u4efb\u4f55\u5730\u65b9\u8fd0\u884c JavaScript<\/p>\n<h4>2. \u4f7f\u7528Vscode\u7f16\u7a0b\u5de5\u5177\u52a0\u8f7dmanager-web\u6a21\u5757<\/h4>\n<p>\u2460\u7ec8\u7aef\u547d\u4ee4\u8fdb\u5165manager-web\u76ee\u5f55\u4e0b\u3002<\/p>\n<p>npm install<\/p>\n<p>\u2461 \u542f\u52a8<\/p>\n<p>npm run serve<\/p>\n<p><img decoding=\"async\" src=\"2025-05-01olshlqq3lvi.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u2462 \u5230\u8fd9\u4e00\u6b65&#xff0c;\u8fd0\u884c\u6210\u529f\u540e&#xff0c;\u6253\u5f00\u667a\u63a7\u53f0&#xff0c;\u94fe\u63a5&#xff1a;http:\/\/127.0.0.1:8001&#xff0c;\u6ce8\u518c\u7b2c\u4e00\u4e2a\u7528\u6237\u3002\u7b2c\u4e00\u4e2a\u7528\u6237\u5373\u662f\u8d85\u7ea7\u7ba1\u7406\u5458&#xff0c;\u4ee5\u540e\u7684\u7528\u6237\u90fd\u662f\u666e\u901a\u7528\u6237\u3002\u7136\u540e\u5728\u91cc\u9762\u914d\u7f6e\u4f60\u7684LLM\u5bc6\u94a5\u3002\u8fd9\u4e00\u6b65\u53ef\u4ee5\u53bb\u7533\u8bf7\u963f\u91cc\u6216\u8005\u667a\u8c31\u7684\u5bc6\u94a5&#xff0c;\u7f51\u4e0a\u5f88\u591a&#xff0c;\u6211\u5c31\u4e0d\u63cf\u8ff0\u4e86\u3002 <img decoding=\"async\" src=\"2025-05-01xcq1jveuhc2.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u91cd\u8981&#xff1a;\u6ce8\u518c\u6210\u529f\u540e&#xff0c;\u4f7f\u7528\u8d85\u7ea7\u7ba1\u7406\u5458\u8d26\u53f7&#xff0c;\u767b\u5f55\u667a\u63a7\u53f0&#xff0c;\u5728\u9876\u90e8\u83dc\u5355\u627e\u5230\u6a21\u578b\u914d\u7f6e&#xff0c;\u7136\u540e\u5728\u5de6\u4fa7\u680f\u70b9\u51fb\u5927\u8bed\u8a00\u6a21\u578b&#xff0c;\u627e\u5230\u7b2c\u4e00\u6761\u6570\u636e\u667a\u8c31AI&#xff0c;\u70b9\u51fb\u4fee\u6539\u6309\u94ae&#xff0c; \u5f39\u51fa\u4fee\u6539\u6846\u540e&#xff0c;\u5c06\u4f60\u6ce8\u518c\u5230\u7684\u667a\u8c31AI\u7684\u5bc6\u94a5\u586b\u5199\u5230API\u5bc6\u94a5\u4e2d\u3002\u7136\u540e\u70b9\u51fb\u4fdd\u5b58\u3002\u7136\u540e\u7a97\u53e3\u522b\u5173\u95ed\u4e86\u3002 \u6ce8\u610f&#xff1a;\u91c7\u7528\u8c46\u5305\u8bed\u97f3\u8bc6\u522b\u8bf7\u770b&#xff0c;\u6ca1\u6709\u53ef\u8df3\u8fc7\u8fd9\u91cc\u3002\u4f60\u5982\u679c\u4f7f\u7528\u8c46\u5305\u7136\u540etts\u62a5\u9519\u7684\u8bdd&#xff0c;\u4f60\u5e94\u8be5\u662fvoice_type\u53c2\u6570\u51fa\u9519\u4e86\u3002\u522b\u95ee\u6211\u4e3a\u5565\u77e5\u9053\u2026 \u5982\u679c\u4f60\u5f00\u901a\u4e86\u8c46\u5305\u7684\u8bed\u97f3\u8bc6\u522b&#xff0c;\u7136\u540e\u6709\u8fd9\u4e9b\u53c2\u6570 <img decoding=\"async\" src=\"2025-05-011nn0mnghpxm.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u4f60\u53ef\u4ee5\u6309\u7167\u6211\u8fd9\u4e2a\u53c2\u6570\u53bb\u4fee\u6539\u8c46\u5305\u7684\u8bed\u97f3\u5408\u6210\u3002 <img decoding=\"async\" src=\"2025-05-01pti5jt4ywn5.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u7136\u540e\u8981\u8bb0\u5f97\u5728\u5916\u9762\u8fd9\u91cc\u97f3\u8272\u7ba1\u7406\u4fee\u6539\u53c2\u6570\u7f16\u7801&#xff0c;\u6839\u636e\u4f60\u5f00\u901a\u586b\u7684\u97f3\u8272\u53bb\u4fee\u6539 <img decoding=\"async\" src=\"2025-05-01uc4g3354l0h.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>&#x1f527;\u4e94\u3001\u5b89\u88c5Python\u73af\u5883<\/h3>\n<p>\u6211\u6309\u7167\u867e\u54e5\u7684\u6559\u7a0b\u4f7f\u7528 Conda \u521b\u5efa Python \u73af\u5883&#xff0c;\u8fd9\u4e00\u6b65\u662f\u4e3a\u672c\u5730\u5316\u8fd0\u884c\u7684\u8bed\u97f3\u4ea4\u4e92\u3001\u8bbe\u5907\u901a\u4fe1\u3001AI\u6a21\u578b\u63a8\u7406\u7b49\u5173\u952e\u529f\u80fd\u63d0\u4f9b\u9694\u79bb\u3001\u7a33\u5b9a\u7684Python\u8fd0\u884c\u65f6\u73af\u5883\u3002\u56e0\u6b64\u9700\u8981\u5148\u53bb\u5b89\u88c5Anaconda\u3002<\/p>\n<h4>1. \u5b89\u88c5\u6e05\u534e\u955c\u50cf\u6e90\u7684Anaconda<\/h4>\n<p>\u5c3d\u91cf\u5b89\u88c5Anaconda3-5.3.0\u540e\u9762\u7684\u7248\u672c&#xff0c;python\u7248\u672c3.6\u3002\u5b89\u88c5\u6211\u662f\u5b89\u88c5\u5728D\u76d8\u7684 <img decoding=\"async\" src=\"2025-05-01rvxdxitsued.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>2. \u901a\u8fc7conda_prompt\u8fd0\u884c\u6307\u4ee4<\/h4>\n<p>(1) \u4f7f\u7528\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c <img decoding=\"async\" src=\"2025-05-010qgonutzpga.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> &#xff08;2&#xff09;\u6267\u884c\u547d\u4ee4<\/p>\n<p>conda remove <span class=\"token operator\">&#8211;<\/span>n xiaozhi<span class=\"token operator\">&#8211;<\/span>esp32<span class=\"token operator\">&#8211;<\/span>server <span class=\"token operator\">&#8212;<\/span>all <span class=\"token operator\">&#8211;<\/span>y<br \/>\nconda create <span class=\"token operator\">&#8211;<\/span>n xiaozhi<span class=\"token operator\">&#8211;<\/span>esp32<span class=\"token operator\">&#8211;<\/span>server python&#061;3<span class=\"token punctuation\">.<\/span>10 <span class=\"token operator\">&#8211;<\/span>y<br \/>\nconda activate xiaozhi<span class=\"token operator\">&#8211;<\/span>esp32<span class=\"token operator\">&#8211;<\/span>server<\/p>\n<p><span class=\"token comment\"># \u6dfb\u52a0\u6e05\u534e\u6e90\u901a\u9053<\/span><br \/>\nconda config <span class=\"token operator\">&#8212;<\/span>add channels https:<span class=\"token operator\">\/<\/span><span class=\"token operator\">\/<\/span>mirrors<span class=\"token punctuation\">.<\/span>tuna<span class=\"token punctuation\">.<\/span>tsinghua<span class=\"token punctuation\">.<\/span>edu<span class=\"token punctuation\">.<\/span>cn<span class=\"token operator\">\/<\/span>anaconda<span class=\"token operator\">\/<\/span>pkgs<span class=\"token operator\">\/<\/span>main<br \/>\nconda config <span class=\"token operator\">&#8212;<\/span>add channels https:<span class=\"token operator\">\/<\/span><span class=\"token operator\">\/<\/span>mirrors<span class=\"token punctuation\">.<\/span>tuna<span class=\"token punctuation\">.<\/span>tsinghua<span class=\"token punctuation\">.<\/span>edu<span class=\"token punctuation\">.<\/span>cn<span class=\"token operator\">\/<\/span>anaconda<span class=\"token operator\">\/<\/span>pkgs<span class=\"token operator\">\/<\/span>free<br \/>\nconda config <span class=\"token operator\">&#8212;<\/span>add channels https:<span class=\"token operator\">\/<\/span><span class=\"token operator\">\/<\/span>mirrors<span class=\"token punctuation\">.<\/span>tuna<span class=\"token punctuation\">.<\/span>tsinghua<span class=\"token punctuation\">.<\/span>edu<span class=\"token punctuation\">.<\/span>cn<span class=\"token operator\">\/<\/span>anaconda<span class=\"token operator\">\/<\/span>cloud<span class=\"token operator\">\/<\/span>conda<span class=\"token operator\">&#8211;<\/span>forge<\/p>\n<p>conda install libopus <span class=\"token operator\">&#8211;<\/span>y<br \/>\nconda install ffmpeg <span class=\"token operator\">&#8211;<\/span>y<\/p>\n<p>\u5b89\u88c5libopus\u53ef\u80fd\u4f1a\u51fa\u73b0\u5982\u4e0b\u62a5\u9519&#xff1a; <img decoding=\"async\" src=\"2025-05-01dmzf0t14gob.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u4f60\u53ef\u4ee5\u5c1d\u8bd5&#xff1a;\u6307\u5b9aconda-forge\u5b89\u88c5 libopus\u4e3b\u8981\u5728conda-forge\u4ed3\u5e93\u4e2d&#xff0c;\u53ef\u4ee5\u6307\u5b9a\u4ececonda-forge\u5b89\u88c5&#xff1a;<\/p>\n<p>conda install <span class=\"token operator\">&#8211;<\/span>c conda<span class=\"token operator\">&#8211;<\/span>forge libopus <span class=\"token operator\">&#8211;<\/span>y<\/p>\n<p>\u4e0a\u9762\u7684\u547d\u4ee4\u90fd\u8981\u4e00\u6b65\u4e00\u6b65\u6267\u884c\u4e0b\u6765\u3002\u51fa\u73b0\u95ee\u9898&#xff0c;\u53ca\u65f6\u95eeAI\u3002 <img decoding=\"async\" src=\"2025-05-01xliuscmhmkk.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>&#x1f527;\u516d\u3001\u8fd0\u884c\u6e90\u7801\u4f9d\u8d56<\/h3>\n<h4>1. \u5b89\u88c5\u4f9d\u8d56<\/h4>\n<p><span class=\"token comment\"># \u7ee7\u7eed\u4f7f\u7528conda\u73af\u5883<\/span><br \/>\nconda activate xiaozhi<span class=\"token operator\">&#8211;<\/span>esp32<span class=\"token operator\">&#8211;<\/span>server<br \/>\n<span class=\"token comment\"># \u8fdb\u5165\u5230\u4f60\u7684\u9879\u76ee\u6839\u76ee\u5f55&#xff0c;\u518d\u8fdb\u5165main\/xiaozhi-server<\/span><br \/>\ncd main<span class=\"token operator\">\/<\/span>xiaozhi<span class=\"token operator\">&#8211;<\/span>server<br \/>\npip config <span class=\"token function\">set<\/span> global<span class=\"token punctuation\">.<\/span>index<span class=\"token operator\">&#8211;<\/span>url https:<span class=\"token operator\">\/<\/span><span class=\"token operator\">\/<\/span>mirrors<span class=\"token punctuation\">.<\/span>aliyun<span class=\"token punctuation\">.<\/span>com<span class=\"token operator\">\/<\/span>pypi<span class=\"token operator\">\/<\/span>simple<span class=\"token operator\">\/<\/span><br \/>\npip install <span class=\"token operator\">&#8211;<\/span>r requirements<span class=\"token punctuation\">.<\/span>txt<\/p>\n<p><img decoding=\"async\" src=\"2025-05-01o0zzaacdkn1.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>&#x1f527;\u4e03\u3001 \u4e0b\u8f7d\u8bed\u97f3\u8bc6\u522b\u6a21\u578b\u6587\u4ef6<\/h3>\n<p>\u8fd8\u662f\u6309\u7167\u867e\u54e5\u7684\u6559\u7a0b\u53bb\u4e0b\u8f7d\u8bed\u97f3\u8bc6\u522b\u6a21\u5757&#xff0c;\u7136\u540e\u4e0b\u8f7d\u540e\u628amodel.pt\u6587\u4ef6\u653e\u5728models\/SenseVoiceSmall\u76ee\u5f55\u4e0b\u7ebf\u8def \u767e\u5ea6\u7f51\u76d8\u4e0b\u8f7dSenseVoiceSmall \u63d0\u53d6\u7801:qvna<\/p>\n<h3>&#x1f527;\u516b\u3001 \u914d\u7f6e\u9879\u76ee\u6587\u4ef6<\/h3>\n<h4>1. \u590d\u5236server.secret\u53c2\u6570<\/h4>\n<p>\u4f7f\u7528 \u8d85\u7ea7\u7ba1\u7406\u5458\u8d26\u53f7 \u767b\u5f55\u7cfb\u7edf\u7ba1\u7406\u540e\u53f0&#xff08;\u667a\u63a7\u53f0&#xff09;&#xff0c;\u5728\u9876\u90e8\u83dc\u5355\u627e\u5230\u53c2\u6570\u7ba1\u7406&#xff08;\u53c2\u6570\u7f16\u7801\u4e3aserver.secret&#xff09;&#xff0c;\u627e\u5230\u5217\u8868\u4e2d\u7b2c\u4e00\u6761\u6570\u636e&#xff0c;\u53c2\u6570\u7f16\u7801\u662fserver.secret,\u5b83\u662f\u968f\u673a\u751f\u6210\u7684&#xff0c;\u6bcf\u6b21\u91cd\u65b0\u90e8\u7f72\u90fd\u4f1a\u968f\u673a\u751f\u6210&#xff0c;\u590d\u5236\u5b83\u5230\u53c2\u6570\u503c\u3002 <img decoding=\"async\" src=\"2025-05-011nqgh0vlo1b.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>2. \u914d\u7f6e.config.yaml\u6587\u4ef6<\/h4>\n<p>\u6253\u5f00\u6574\u4e00\u4e2a\u6e90\u7801\u6587\u4ef6&#xff0c;\u8fdb\u5165xiaozhi-server\u76ee\u5f55&#xff0c;\u68c0\u67e5\u662f\u5426\u5b58\u5728data\u6587\u4ef6\u5939&#xff0c;\u5982\u679c\u6ca1\u6709data\u76ee\u5f55&#xff0c;\u8bf7\u624b\u52a8\u521b\u5efa\u3002\u5982\u679c data \u76ee\u5f55\u4e0b\u6ca1\u6709 .config.yaml \u6587\u4ef6&#xff0c;\u6267\u884c\u4ee5\u4e0b\u64cd\u4f5c&#xff1a; \u5c06 xiaozhi-server \u76ee\u5f55\u4e0b\u7684 config_from_api.yaml \u590d\u5236\u5230 data \u76ee\u5f55\u3002\u91cd\u547d\u540d\u590d\u5236\u7684\u6587\u4ef6\u4e3a .config.yaml <img decoding=\"async\" src=\"2025-05-012yyjf5krp1k.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u5c06\u590d\u5236\u7684server.secret\u503c\u7c98\u8d34\u5230secret\u5b57\u6bb5\u4e2d\u3002 <img decoding=\"async\" src=\"2025-05-010zkwszhsrqx.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>&#x1f527;\u4e5d\u3001 \u8fd0\u884cxiaozhi-esp32-server\u9879\u76ee<\/h3>\n<h4>1.\u8fd0\u884c\u672c\u5730\u670d\u52a1\u7aef<\/h4>\n<p>\u5728\u521a\u521a\u5b89\u88c5\u4f9d\u8d56\u7684\u73af\u5883\u4e0b\u7ee7\u7eed\u6267\u884c<\/p>\n<p><span class=\"token comment\"># \u786e\u4fdd\u5728xiaozhi-server\u76ee\u5f55\u4e0b\u6267\u884c<\/span><br \/>\nconda activate xiaozhi<span class=\"token operator\">&#8211;<\/span>esp32<span class=\"token operator\">&#8211;<\/span>server<br \/>\npython app<span class=\"token punctuation\">.<\/span>py<\/p>\n<p><img decoding=\"async\" src=\"2025-05-01ccccabgqrii.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u5982\u679c\u51fa\u73b0\u4e0a\u9762\u7684\u7ed3\u679c&#xff0c;\u8868\u793a\u4f60\u7684server\u7aef\u5df2\u7ecf\u90e8\u7f72\u597d\u4e86\u3002\u63a5\u4e0b\u6765\u5c31\u662f\u8ddf\u5c0f\u667a\u786c\u4ef6\u7684\u7ed3\u5408\u3002\u6ce8\u610f\u770b\u8fd4\u56de\u7684ws:\/\/xxx.xx.xx.xx:8000\/xiaozhi\/v1\/&#xff0c;\u5176\u4e2dxxx.xx.xx.xx\u5c31\u662f\u4f60\u672c\u5730\u7684\u5730\u5740&#xff0c;\u540e\u9762\u90fd\u4f1a\u7528\u5230\u3002<\/p>\n<h4>2.\u786c\u4ef6\u63a5\u53e3\u66f4\u65b0<\/h4>\n<p>\u63a5\u4e0b\u6765\u4f60\u53ef\u4ee5\u53bb\u5728\u667a\u63a7\u53f0\u66f4\u65b0\u786c\u4ef6\u63a5\u53e3\u3002 \u2460\u4f7f\u7528\u8d85\u7ea7\u7ba1\u7406\u5458\u8d26\u53f7&#xff0c;\u767b\u5f55\u667a\u63a7\u53f0&#xff0c;\u5728\u9876\u90e8\u83dc\u5355\u627e\u5230\u53c2\u6570\u7ba1\u7406&#xff0c;\u627e\u5230\u53c2\u6570\u7f16\u7801\u662fserver.websocket&#xff0c;\u8f93\u5165\u4f60\u7684Websocket\u63a5\u53e3\u3002 \u2461\u4f7f\u7528\u8d85\u7ea7\u7ba1\u7406\u5458\u8d26\u53f7&#xff0c;\u767b\u5f55\u667a\u63a7\u53f0&#xff0c;\u5728\u9876\u90e8\u83dc\u5355\u627e\u5230\u53c2\u6570\u7ba1\u7406&#xff0c;\u627e\u5230\u6570\u7f16\u7801\u662fserver.ota&#xff0c;\u8f93\u5165\u4f60\u7684OTA\u63a5\u53e3\u3002 \u4e0d\u77e5\u9053\u4e3a\u5565\u6211\u6ca1\u627e\u5230&#xff0c;\u6240\u4ee5\u6211\u901a\u8fc7\u624b\u52a8\u65b0\u589e\u4e86\u8fd9\u4e24\u4e2a\u53c2\u6570 <img decoding=\"async\" src=\"2025-05-015cutb1crq0d.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>&#x1f527;\u5341\u3001 \u5c0f\u667a\u786c\u4ef6\u70e7\u5f55<\/h3>\n<p>\u6253\u5f00\u5c0f\u667a\u7684\u786c\u4ef6\u6e90\u7801\u7a0b\u5e8f\u3002<\/p>\n<li>OTA\u63a5\u53e3\u66f4\u65b0<\/li>\n<p>http<span class=\"token operator\">:<\/span><span class=\"token comment\">\/\/\u4f60\u7535\u8111\u5c40\u57df\u7f51\u7684ip:8002\/xiaozhi\/ota\/<\/span><\/p>\n<li>Websocket\u63a5\u53e3\u66f4\u65b0<\/li>\n<p>ws<span class=\"token operator\">:<\/span><span class=\"token comment\">\/\/\u4f60\u7535\u8111\u5c40\u57df\u7f51\u7684ip:8000\/xiaozhi\/v1\/<\/span><\/p>\n<p>\u8fd9\u91cc\u6211\u662f\u5199\u5728Kconfig.projbuild\u6587\u4ef6\u91cc\u9762&#xff0c;\u540e\u9762\u914d\u7f6e\u7684\u65f6\u5019\u4f1a\u6839\u636e\u8fd9\u4e2a\u6587\u4ef6\u53bb\u66f4\u65b0\u3002\u8bb0\u5f97\u4fdd\u5b58 <img decoding=\"async\" src=\"2025-05-01gmfuibbnztl.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u4f60\u53ef\u4ee5\u70b9\u51fb\u4e0b\u65b9\u7684\u8bbe\u7f6e\u90a3\u91cc&#xff0c;\u67e5\u770b\u53f3\u8fb9\u914d\u7f6e\u6709\u6ca1\u6709\u66f4\u65b0\u5230&#xff0c;\u6ca1\u6709\u95ee\u9898\u53ef\u4ee5\u4e0b\u8f7d\u5230\u5c0f\u667a\u786c\u4ef6\u4e86\u3002 <img decoding=\"async\" src=\"2025-05-01y3kejmf2lph.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u786c\u4ef6\u70e7\u5f55\u6210\u529f\u540e&#xff0c;\u6839\u636e\u5c4f\u5e55\u64ad\u62a5\u7684\u8bbe\u5907\u7801\u586b\u5199\u5230\u63a7\u5236\u53f0\u3002\u70b9\u51fb\u667a\u80fd\u4f53\u7ba1\u7406&#xff0c;\u8fd8\u6ca1\u65b0\u5efa\u667a\u80fd\u4f53\u7684\u8bdd&#xff0c;\u5c31\u65b0\u5efa\u4e00\u4e2a&#xff0c;\u7136\u540e\u586b\u5199\u8bbe\u5907\u7ba1\u7406&#xff0c;\u7ed1\u5b9a\u64ad\u62a5\u76846\u4f4d\u9a8c\u8bc1\u7801\u3002 <img decoding=\"async\" src=\"2025-05-01rjbwvfjxgya.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"2025-05-015w1mevq4bke.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u7136\u540e\u70b9\u51fb\u786c\u4ef6\u91cd\u542f\u8bbe\u5907\u3002\u63a5\u4e0b\u6765\u5c31\u662f\u89c1\u8bc1\u5947\u8ff9\u7684\u65f6\u5019\u3002 <img decoding=\"async\" src=\"2025-05-0122abkfd0zoa.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>\u603b\u7ed3&#xff1a;<\/h2>\n<p>\u901a\u8fc7\u4e0a\u8ff0\u6b65\u9aa4&#xff0c;\u4f60\u5df2\u7ecf\u6210\u529f\u5728\u672c\u5730\u90e8\u7f72\u4e86\u5c0f\u667a\u670d\u52a1\u5668\u3002\u65e0\u8bba\u662f\u540e\u7aef\u670d\u52a1\u7684\u7ba1\u7406\u3001\u524d\u7aef\u63a7\u5236\u53f0\u7684\u64cd\u4f5c&#xff0c;\u8fd8\u662f\u8bed\u97f3\u4ea4\u4e92\u4e0e\u786c\u4ef6\u63a7\u5236\u7684\u96c6\u6210&#xff0c;\u90fd\u53ef\u4ee5\u5728\u672c\u5730\u73af\u5883\u4e2d\u5b8c\u6210\u3002\u8fd9\u79cd\u90e8\u7f72\u65b9\u5f0f\u7ed9\u5f00\u53d1\u8005\u63d0\u4f9b\u4e86\u6781\u5927\u7684\u7075\u6d3b\u6027&#xff0c;\u540c\u65f6\u4e5f\u5e2e\u52a9\u4f60\u66f4\u6df1\u5165\u5730\u7406\u89e3\u6574\u4e2a\u7cfb\u7edf\u7684\u5de5\u4f5c\u6d41\u7a0b\u3002\u5e0c\u671b\u672c\u6587\u80fd\u5e2e\u52a9\u4f60\u5c11\u8d70\u5f2f\u8def&#xff0c;\u987a\u5229\u642d\u5efa\u8d77\u5c5e\u4e8e\u81ea\u5df1\u7684\u667a\u80fd\u786c\u4ef6\u7cfb\u7edf\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb719\u6b21\uff0c\u70b9\u8d5e22\u6b21\uff0c\u6536\u85cf7\u6b21\u3002\u901a\u8fc7\u5c06\u5c0f\u667a\u670d\u52a1\u5668\u6e90\u7801\u90e8\u7f72\u5728\u672c\u5730\uff0c\u4f60\u4e0d\u4ec5\u80fd\u4f53\u9a8c\u5230\u6700\u5168\u7684\u529f\u80fd\u6a21\u5757\uff0c\u8fd8\u80fd\u591f\u6839\u636e\u5b9e\u9645\u9700\u6c42\u8fdb\u884c\u4e2a\u6027\u5316\u914d\u7f6e\uff0c\u4f18\u5316\u7cfb\u7edf\u7684\u8fd0\u884c\u6548\u7387\u3002\u672c\u6587\u5c06\u4e3a\u4f60\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5229\u7528\u672c\u5730\u6e90\u7801\u5168\u6a21\u5757\u90e8\u7f72\u5c0f\u667a\u670d\u52a1\u5668\u7684\u6b65\u9aa4\uff0c\u5c24\u5176\u9002\u5408\u786c\u4ef6\u5f00\u53d1\u8005\u3001AI\u6280\u672f\u7231\u597d\u8005\u548c\u90a3\u4e9b\u5e0c\u671b\u6df1\u5165\u4e86\u89e3\u667a\u80fd\u786c\u4ef6\u90e8\u7f72\u8fc7\u7a0b\u7684\u7528\u6237\u3002<\/p>\n","protected":false},"author":2,"featured_media":34917,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[2966,2965,43,44],"topic":[],"class_list":["post-34937","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-2966","tag-2965","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5982\u4f55\u5728\u672c\u5730\u90e8\u7f72\u5c0f\u667a\u670d\u52a1\u5668\uff1a\u4ece\u6e90\u7801\u5230\u5168\u6a21\u5757\u8fd0\u884c\u7684\u8be6\u7ec6\u6b65\u9aa4 - \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\/34937.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u5728\u672c\u5730\u90e8\u7f72\u5c0f\u667a\u670d\u52a1\u5668\uff1a\u4ece\u6e90\u7801\u5230\u5168\u6a21\u5757\u8fd0\u884c\u7684\u8be6\u7ec6\u6b65\u9aa4 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb719\u6b21\uff0c\u70b9\u8d5e22\u6b21\uff0c\u6536\u85cf7\u6b21\u3002\u901a\u8fc7\u5c06\u5c0f\u667a\u670d\u52a1\u5668\u6e90\u7801\u90e8\u7f72\u5728\u672c\u5730\uff0c\u4f60\u4e0d\u4ec5\u80fd\u4f53\u9a8c\u5230\u6700\u5168\u7684\u529f\u80fd\u6a21\u5757\uff0c\u8fd8\u80fd\u591f\u6839\u636e\u5b9e\u9645\u9700\u6c42\u8fdb\u884c\u4e2a\u6027\u5316\u914d\u7f6e\uff0c\u4f18\u5316\u7cfb\u7edf\u7684\u8fd0\u884c\u6548\u7387\u3002\u672c\u6587\u5c06\u4e3a\u4f60\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5229\u7528\u672c\u5730\u6e90\u7801\u5168\u6a21\u5757\u90e8\u7f72\u5c0f\u667a\u670d\u52a1\u5668\u7684\u6b65\u9aa4\uff0c\u5c24\u5176\u9002\u5408\u786c\u4ef6\u5f00\u53d1\u8005\u3001AI\u6280\u672f\u7231\u597d\u8005\u548c\u90a3\u4e9b\u5e0c\u671b\u6df1\u5165\u4e86\u89e3\u667a\u80fd\u786c\u4ef6\u90e8\u7f72\u8fc7\u7a0b\u7684\u7528\u6237\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/34937.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-01T00:46:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250501004619-6812c45bd289f.png\" \/>\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=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/34937.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/34937.html\",\"name\":\"\u5982\u4f55\u5728\u672c\u5730\u90e8\u7f72\u5c0f\u667a\u670d\u52a1\u5668\uff1a\u4ece\u6e90\u7801\u5230\u5168\u6a21\u5757\u8fd0\u884c\u7684\u8be6\u7ec6\u6b65\u9aa4 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-01T00:46:23+00:00\",\"dateModified\":\"2025-05-01T00:46:23+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/34937.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/34937.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/34937.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5982\u4f55\u5728\u672c\u5730\u90e8\u7f72\u5c0f\u667a\u670d\u52a1\u5668\uff1a\u4ece\u6e90\u7801\u5230\u5168\u6a21\u5757\u8fd0\u884c\u7684\u8be6\u7ec6\u6b65\u9aa4\"}]},{\"@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":"\u5982\u4f55\u5728\u672c\u5730\u90e8\u7f72\u5c0f\u667a\u670d\u52a1\u5668\uff1a\u4ece\u6e90\u7801\u5230\u5168\u6a21\u5757\u8fd0\u884c\u7684\u8be6\u7ec6\u6b65\u9aa4 - \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\/34937.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u5728\u672c\u5730\u90e8\u7f72\u5c0f\u667a\u670d\u52a1\u5668\uff1a\u4ece\u6e90\u7801\u5230\u5168\u6a21\u5757\u8fd0\u884c\u7684\u8be6\u7ec6\u6b65\u9aa4 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb719\u6b21\uff0c\u70b9\u8d5e22\u6b21\uff0c\u6536\u85cf7\u6b21\u3002\u901a\u8fc7\u5c06\u5c0f\u667a\u670d\u52a1\u5668\u6e90\u7801\u90e8\u7f72\u5728\u672c\u5730\uff0c\u4f60\u4e0d\u4ec5\u80fd\u4f53\u9a8c\u5230\u6700\u5168\u7684\u529f\u80fd\u6a21\u5757\uff0c\u8fd8\u80fd\u591f\u6839\u636e\u5b9e\u9645\u9700\u6c42\u8fdb\u884c\u4e2a\u6027\u5316\u914d\u7f6e\uff0c\u4f18\u5316\u7cfb\u7edf\u7684\u8fd0\u884c\u6548\u7387\u3002\u672c\u6587\u5c06\u4e3a\u4f60\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5229\u7528\u672c\u5730\u6e90\u7801\u5168\u6a21\u5757\u90e8\u7f72\u5c0f\u667a\u670d\u52a1\u5668\u7684\u6b65\u9aa4\uff0c\u5c24\u5176\u9002\u5408\u786c\u4ef6\u5f00\u53d1\u8005\u3001AI\u6280\u672f\u7231\u597d\u8005\u548c\u90a3\u4e9b\u5e0c\u671b\u6df1\u5165\u4e86\u89e3\u667a\u80fd\u786c\u4ef6\u90e8\u7f72\u8fc7\u7a0b\u7684\u7528\u6237\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/34937.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-01T00:46:23+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250501004619-6812c45bd289f.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/34937.html","url":"https:\/\/www.wsisp.com\/helps\/34937.html","name":"\u5982\u4f55\u5728\u672c\u5730\u90e8\u7f72\u5c0f\u667a\u670d\u52a1\u5668\uff1a\u4ece\u6e90\u7801\u5230\u5168\u6a21\u5757\u8fd0\u884c\u7684\u8be6\u7ec6\u6b65\u9aa4 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-01T00:46:23+00:00","dateModified":"2025-05-01T00:46:23+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/34937.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/34937.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/34937.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u5728\u672c\u5730\u90e8\u7f72\u5c0f\u667a\u670d\u52a1\u5668\uff1a\u4ece\u6e90\u7801\u5230\u5168\u6a21\u5757\u8fd0\u884c\u7684\u8be6\u7ec6\u6b65\u9aa4"}]},{"@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\/34937","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=34937"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/34937\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/34917"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=34937"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=34937"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=34937"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=34937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}