{"id":5755,"date":"2025-03-23T13:24:00","date_gmt":"2025-03-23T05:24:00","guid":{"rendered":"https:\/\/www.baishitou.cn\/?p=5755"},"modified":"2025-03-27T08:23:23","modified_gmt":"2025-03-27T00:23:23","slug":"dedebiz%e6%99%ba%e8%83%bd%e5%8a%a9%e6%89%8b%e5%ae%89%e8%a3%85%e5%9b%be%e6%96%87%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/www.baishitou.cn\/5755.html","title":{"rendered":"DedeBIZ\u667a\u80fd\u52a9\u624b\u5b89\u88c5\u56fe\u6587\u6559\u7a0b"},"content":{"rendered":"

DedeBIZ\u667a\u80fd\u52a9\u624b\uff08DedeBIZ AI Assistant\uff09\u662fDedeBIZ\u7cfb\u7edf\u5b9e\u73b0\u7ad9\u70b9\u667a\u80fd\u5316\u642d\u5efa\u7684\u6838\u5fc3\u5de5\u5177\uff0c\u652f\u6301OpenAI\u6807\u51c6\u63a5\u53e3\u534f\u8bae\uff0c\u53ef\u65e0\u7f1d\u63a5\u5165 deepseek\u3001\u901a\u4e49\u5343\u95ee\u3001\u8c46\u5305\u7b49\u591a\u79cdAI\u5927\u6a21\u578b\u3002\u7cfb\u7edf\u91c7\u7528 PHP + Go \u6280\u672f\u67b6\u6784\uff0c\u517c\u987e\u9ad8\u6548\u6027\u4e0e\u7528\u6237\u4f53\u9a8c\uff0c\u5e2e\u52a9\u7528\u6237\u5feb\u901f\u6784\u5efa\u667a\u80fd\u5316\u7ad9\u70b9\uff0c\u63d0\u9ad8\u7ad9\u70b9\u5185\u5bb9\u751f\u4ea7\u4e0e\u4f18\u5316\u6548\u7387\u3002\uff08\u6ce8\uff1a\u652f\u6301V6.5\u53ca\u4ee5\u4e0a\u7248\u672c\uff09<\/span><\/p>\n

DedeBIZ\u667a\u80fd\u52a9\u624b\u529f\u80fd\u7279\u70b9<\/h3>\n
\n
\n
\n
\u5185\u5bb9\u667a\u80fd\u5316<\/h5>\n

\u652f\u6301\u667a\u80fd\u6dfb\u52a0\u680f\u76ee\u3001\u6279\u91cf\u6784\u5efa\u7ad9\u70b9\u7ed3\u6784\u3001\u667a\u80fd\u751f\u6210\u548c\u4f18\u5316\u6587\u6863\uff0c\u52a9\u529b\u9ad8\u6548\u5185\u5bb9\u7ba1\u7406\u3002<\/p>\n<\/div>\n<\/div>\n<\/div>\n

\n
\n
\n
\u5927\u6a21\u578b\u7ba1\u7406<\/h5>\n

\u652f\u6301\u81ea\u5b9a\u4e49\u63a5\u5165\u5404\u7c7bAI\u5927\u6a21\u578b\u53ca\u4e0d\u540c\u7248\u672c\uff0c\u8f7b\u677e\u9002\u914d\u65b0\u5174\u5927\u6a21\u578b\uff0c\u786e\u4fdd\u7cfb\u7edf\u6301\u7eed\u4f18\u5316\u5347\u7ea7\u3002<\/p>\n<\/div>\n<\/div>\n<\/div>\n

\n
\n
\n
\u63d0\u793a\u8bcd\u7ba1\u7406<\/h5>\n

\u5185\u7f6e\u667a\u80fd\u52a9\u624b\u529f\u80fd\uff0c\u53ef\u4f18\u5316\u6216\u65b0\u589e\u63d0\u793a\u8bcd\uff0c\u6df1\u5ea6\u6316\u6398AI\u80fd\u529b\uff0c\u63d0\u9ad8\u7ad9\u70b9\u6784\u5efa\u8d28\u91cf\u3002<\/p>\n<\/div>\n<\/div>\n<\/div>\n

\n
\n
\n
\u8c03\u7528\u65e5\u5fd7<\/h5>\n

\u63d0\u4f9b\u8be6\u7ec6AI\u8c03\u7528\u8bb0\u5f55\uff0c\u5305\u62ec\u64cd\u4f5c\u65e5\u5fd7\u548cToken\u6d88\u8017\uff0c\u65b9\u4fbf\u5206\u6790\u4f18\u5316AI\u4f7f\u7528\u7b56\u7565\u3002<\/p>\n<\/div>\n<\/div>\n<\/div>\n

\u667a\u80fd\u52a9\u624b\u670d\u52a1\u7ec4\u4ef6\u91c7\u7528 Go \u8bed\u8a00\u5f00\u53d1\uff0c\u5b8c\u5168\u514d\u8d39\u3002\u4e0b\u8f7d\u5e76\u8fdb\u884c\u7b80\u5355\u914d\u7f6e\u540e\uff0c\u5373\u53ef\u4e3a DedeBIZ \u7cfb\u7edf\u8d4b\u80fd\u667a\u80fd\u5316\u4f53\u9a8c\u3002\u8bf7\u6839\u636e\u60a8\u7684\u5e73\u53f0\u9009\u62e9\u76f8\u5e94\u7684\u7ec4\u4ef6\u8fdb\u884c\u90e8\u7f72\u4e0e\u914d\u7f6e\u3002<\/p>\n

\u4e0b\u8f7d\u5730\u5740\uff1aDedeBIZ\u667a\u80fd\u52a9\u624b\u670d\u52a1\u7ec4\u4ef6<\/a><\/p>\n

DedeBIZ\u667a\u80fd\u52a9\u624b\u5b89\u88c5\u51c6\u5907<\/h3>\n

\u5728\u4f7f\u7528AI\u52a9\u624b\u4e4b\u524d\uff0c\u8bf7\u786e\u4fdd\u5df2\u7ecf\u5b89\u88c5\u5e76\u914d\u7f6e\u4e86DedeBIZ\u7cfb\u7edf\uff0c\u5e76\u786e\u4fddDedeBIZ\u7cfb\u7edf\u7248\u672c\u4e3av6.5\u53ca\u4ee5\u4e0a\u3002<\/p>\n

\u5982\u679c\u60a8\u662fDedeBIZ\u8001\u7248\u672c\u7528\u6237\uff0c\u8bf7\u5347\u7ea7\u5230v6.5\u53ca\u4ee5\u4e0a\u7248\u672c\uff0c\u4ee5\u4fdd\u8bc1\u517c\u5bb9\u6027\uff0c\u5e76\u8fdb\u5165[\u7cfb\u7edf\u8bbe\u7f6e]-[\u667a\u80fd\u8bbe\u7f6e]\uff0c\u786e\u4fdd\u6b63\u786e\u7684\u8bbe\u7f6e\u4e86\u901a\u4fe1\u5bc6\u94a5\uff08cfg_ai_apikey\uff09\u3002<\/p>\n

\u6211\u4eec\u5efa\u8baeAI\u52a9\u624b\u88ab\u5b89\u88c5\u5728DedeBIZ\u540c\u4e00\u4e2a\u670d\u52a1\u5668\u4e0a\uff0c\u4ee5\u907f\u514d\u8de8\u670d\u52a1\u5668\u901a\u4fe1\u7684\u989d\u5916\u5f00\u9500\u3002<\/p>\n

\u76ee\u524dAI\u52a9\u624b\u652f\u6301Windows\u548cLinux\u7cfb\u7edf\uff0c\u63a8\u8350\u4f7f\u7528Windows\u7cfb\u7edf\uff0cLinux\u7cfb\u7edf\u8bf7\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u8fdb\u884c\u9002\u914d\u3002<\/p>\n

\u6211\u8fd9\u91cc\u4ee5\u76ee\u524d\u7ad9\u957f\u6700\u5e38\u7528\u7684\u5b9d\u5854\u9762\u677f\u4e3a\u4f8b\uff0c\u8fdb\u884c\u5b89\u88c5\u3002\u5982\u679c\u4f60\u670d\u52a1\u5668\u6ca1\u6709\u5b89\u88c5\u9762\u677f\u5de5\u5177\u3002\u8bf7\u6839\u636e\u5b98\u65b9\u7684\u5b89\u88c5\u6559\u7a0b\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n

\u7b2c\u4e00\u6b65<\/h2>\n

\u65b0\u5efa\u4e00\u4e2a\u7f51\u7ad9\u76ee\u5f55\uff0c\u5f53\u7136\uff0c\u4e5f\u53ef\u4ee5\u76f4\u63a5\u5728\u7ad9\u70b9WWWROOT\u6839\u76ee\u5f55\u4e0b\u65b0\u5efa\u4e00\u4e2a\u76ee\u5f55\u3002\u5982\u4e0b\u56fe\uff1a<\/p>\n

 <\/p>\n

\"\"<\/a><\/p>\n

\u6211\u8fd9\u91cc\u5c31\u76f4\u63a5\u65b0\u5efa\u4e00\u4e2a\u7ad9\u70b9\uff0c\u5982\u4e0b\u56fe<\/p>\n

\"\"<\/a><\/p>\n

\u57df\u540d\u90e8\u5206\uff0c\u53ef\u4ee5\u586b\u4f60\u670d\u52a1\u5668IP\uff0c\u6216\u8005\u662f\u7ed1\u5b9a\u4e00\u4e2a\u57df\u540d\u3002\u6211\u8fd9\u91cc\u662f\u628a\u4e00\u4e2a\u4e8c\u7ea7\u57df\u540d\u89e3\u6790\u5230\u8fd9\u4e2aIP\u4e0a\u4e86\uff0c\u6240\u4ee5\u76f4\u63a5\u586b\u4e86\u57df\u540d\uff0c\u4e0b\u9762\u7684FTP\uff0c\u6570\u636e\u5e93\u5565\u7684\u90fd\u4e0d\u7528\u521b\u5efa\u3002PHP\u7248\u672c\u80fd\u7528\u6700\u65b0\u7684\u5c31\u7528\u6700\u65b0\u7684\uff0cDEDEBIZ\u73b0\u5728\u4e0d\u652f\u6301\u4f4e\u7248\u672c\u7684PHP\u4e86\u3002<\/p>\n

\u521b\u5efa\u5b8c\u7ad9\u70b9\u540e\uff0c\u628a\u7ad9\u70b9\u76ee\u5f55\u4e0b\u9ed8\u8ba4\u751f\u6210\u7684\u9996\u9875\u53ca404\u9519\u8bef\u9875\u9762\u6587\u4ef6\u5220\u9664\u6389\uff0c\u628a\u521a\u624d\u4e0b\u8f7d\u7684\u6587\u4ef6\u4e0a\u4f20\u5230\u8fd9\u4e2a\u76ee\u5f55\uff0c\u4e0a\u4f20\u5b8c\u540e\u7684\u6587\u4ef6\u5982\u4e0b\u56fe\uff1a<\/p>\n

\"\"<\/a><\/p>\n

\u7b2c\u4e8c\u6b65<\/h2>\n

\u5efa\u7acb\u4e00\u4e2aGO\u9879\u76ee\uff0c\u6211\u4eec\u5e73\u65f6\u5efa\u7acb\u7684\u7ad9\u90fd\u662fPHP\u9879\u76ee\uff0c\u73b0\u5728\u9700\u8981\u521b\u5efa\u4e00\u4e2aGO\u9879\u76ee\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n

\"\"<\/a><\/p>\n

\u70b9\u51fb\u6dfb\u52a0\u540e\u5f39\u51fa\u4e0b\u9762\u7a97\u53e3<\/p>\n

\"\"<\/a><\/p>\n

\u9879\u76ee\u6267\u884c\u6587\u4ef6\u9009\u62e9\u6211\u4eec\u521a\u624d\u4e0a\u4f20\u76ee\u5f55\u91cc\u9762\u7684DEDEBIZAIA\u8fd9\u4e2a\u6587\u4ef6\uff0c\u5982\u4e0b\u56fe<\/p>\n

\"\"<\/a><\/p>\n

\u786e\u5b9a\u540e\uff0c\u5176\u4ed6\u9009\u9879\u4f1a\u81ea\u52a8\u586b\u5145\uff0c\u7aef\u53e3\u586b\u9ed8\u8ba4\u76848087\uff0c\u5982\u679c\u9700\u8981\u4fee\u6539\u7aef\u53e3\uff0c\u53ef\u4ee5\u5b89\u88c5\u5b8c\u6210\u540e\u518d\u4fee\u6539\uff0c\u5f00\u673a\u542f\u52a8\u9009\u4e2d\u3002<\/p>\n

\"\"<\/a><\/p>\n

\u7136\u540e\u786e\u5b9a\uff0c\u8fd9\u6837\u6211\u4eec\u7684GO\u9879\u76ee\u521b\u5efa\u5b8c\u6bd5\u3002<\/p>\n

\"\"<\/a><\/p>\n

\u5982\u679c\u65b0\u5efa\u5b8c\u6210\u540e\uff0c\u72b6\u6001\u662f\u505c\u6b62\u7684\uff0c\u6216\u8005\u662f\u51fa\u73b0\u4e0b\u9762\u9519\u8bef\uff0c<\/p>\n

\"\"<\/a><\/p>\n

\u6709\u53ef\u80fd\u662f\u6587\u4ef6\u6743\u9650\u4e0d\u591f\uff0c\u628a\u521a\u4e0a\u4f20\u7684\u90a3\u51e0\u4e2a\u6587\u4ef6\u7684\u6743\u9650\u8bbe\u7f6e\u4e3a755\u3002<\/p>\n

\u7b2c\u4e09\u6b65<\/h2>\n

\u5728\u6d4f\u89c8\u5668\u91cc\u8f93\u5165\u521a\u624d\u7ed1\u5b9a\u7684\u57df\u540d+\u7aef\u53e3\uff0c\u6216\u8005\u662fIP+\u7aef\u53e3\u3002\u5982\u679c\u662f\u51fa\u73b0\u662f\u4e0b\u9762\u753b\u9762\u7684\u8bdd\uff0c\u8bf4\u660e\u5b89\u88c5\u6210\u529f\u3002<\/p>\n

\"\"<\/a><\/p>\n

\u6211\u7b2c\u4e00\u6b21\u7528\u7684\u9999\u6e2f\u670d\u52a1\u5668\u6d4b\u8bd5\u7684\uff0c\u5b89\u88c5\u90fd\u6b63\u5e38\uff0c\u7b2c\u4e8c\u6b21\u7528\u56fd\u5185\u7684\u963f\u91cc\u4e91\u6d4b\u8bd5\uff0c\u53d1\u73b0\u5230\u8fd9\u4e00\u6b65\u540e\u8f93\u5165IP\u6216\u8005\u57df\u540d\u90fd\u6253\u4e0d\u5f00\uff0c\u51fa\u73b0502\u9519\u8bef\u3002\u6700\u540e\u624d\u60f3\u8d77\uff0c\u963f\u91cc\u4e91\u7684\u670d\u52a1\u5668\u5982\u679c\u8981\u65b0\u589e\u52a0\u7aef\u53e3\uff0c\u9700\u8981\u5728\u5b89\u5168\u7ec4\u91cc\u6dfb\u52a0\u653e\u884c\u624d\u884c\uff0c\u5728\u963f\u91cc\u4e91\u7684\u5b89\u5168\u7ec4\u91cc\u9762\u6dfb\u52a08087\u7aef\u53e3\u540e\u8bbf\u95ee\u6b63\u5e38\u4e86\u3002<\/p>\n

\u7136\u540e\u8f93\u5165\u4f60\u9700\u8981\u7528\u5230\u8fd9\u4e2a\u52a9\u624b\u529f\u80fd\u7684\u7f51\u7ad9\u7684\u6570\u636e\u5e93\u4fe1\u606f\uff0c\u8fdb\u884c\u5b89\u88c5\u5c31\u884c\u4e86\u3002\u521d\u59cb\u5316\u540e\uff0c\u4f1a\u51fa\u73b0\u4e0b\u9762\u7a97\u53e3\uff0c<\/p>\n

\"\"<\/a><\/p>\n

\u8fd9\u65f6\u5019\u5219\u91cd\u542fAI\u52a9\u624b\u670d\u52a1\uff0c\u5373\u53ef\u5b8c\u6210AI\u52a9\u624b\u670d\u52a1\u7684\u5b89\u88c5\u3002<\/p>\n

\"\"<\/a><\/p>\n

\u6211\u4eec\u6765\u6d4b\u8bd5\u4e00\u4e0b\u4e0e\u7f51\u7ad9\u8fde\u63a5\u6b63\u5e38\u4e0d\uff0c\u6253\u5f00\u7f51\u7ad9\u540e\u53f0\uff0c\u540e\u53f0\u9762\u677f-\u7cfb\u7edf\u8bbe\u7f6e-\u667a\u80fd\u8bbe\u7f6e\uff0c\u70b9\u51fb\u68c0\u6d4b\uff0c\u8fde\u63a5\u6210\u529f\uff0c\u6b63\u5e38\u3002<\/p>\n

\"\"<\/a><\/p>\n

\u6ce8\u610f\uff1a\u5982\u679c\u8fde\u63a5\u4e0d\u6210\u529f\uff0c\u68c0\u67e5\u670d\u52a1\u5668\u5730\u5740\u8fd9\u4e00\u680f\u91cc\u7684\u5185\u5bb9\uff0c\u4ed6\u9ed8\u8ba4\u7684\u662fhttp:\/\/localhost:8087\/,\u4f60\u9700\u8981\u4fee\u6539\u4e3a\u4f60\u670d\u52a1\u5668\u7684IP\u6216\u8005\u57df\u540d+\u7aef\u53e3\u3002<\/p>\n

\u5230\u8fd9\u91cc\uff0c\u8fd9\u4e2a\u9879\u76ee\u5c31\u5b89\u88c5\u5b8c\u6210\u4e86\u3002\u6211\u4ee5\u6700\u65b0\u7684\u5230\u5904\u90fd\u5728\u5439\u7684deepseek\u4e3a\u4f8b\uff0c\u770b\u770b\u6548\u679c\u5982\u4f55\u3002<\/p>\n

\u4f7f\u7528\u8fd9\u4e9b\u6a21\u578b\uff0c\u4f60\u5f97\u6709\u4ed6\u4eec\u7684API Key\uff0c\u6211\u4e13\u95e8\u5728deepseek\u5145\u503c\u4e86\uff0c\u751f\u6210\u4e86\u4e00\u4e2akey\u7528\u4e8e\u6d4b\u8bd5<\/p>\n

\"\"<\/a><\/p>\n

\u6dfb\u52a0\u4e00\u7bc7\u6587\u7ae0\uff0c\u6587\u7ae0\u7f16\u8f91\u7a97\u53e3\uff0c\u70b9\u51fb\u53f3\u4e0a\u89d2\u667a\u80fd\u52a9\u624b\uff0c\u8f93\u5165\u4f60\u7684\u8981\u6c42\u3002\u7136\u540e\u70b9\u51fbAI\u751f\u6210\u3002<\/p>\n

\"\"<\/a><\/p>\n

\u53d1\u73b0\uff0c\u5b83\u5f97\u4e00\u4f1a\u53cd\u5e94\uff0c\u624d\u4f1a\u751f\u6210\u6587\u5b57\uff0c\u5e94\u8be5\u662f\u5b83\u5f97\u601d\u8003\u4e00\u4f1a\u3002<\/p>\n

\"\"<\/a><\/p>\n

\u5982\u679c\u6362\u6210\u8c46\u5305\uff0c\u6216\u8005\u5343\u95ee\uff0c\u53cd\u5e94\u5e94\u8be5\u5c31\u4e0d\u4f1a\u8fd9\u4e48\u6162\u3002\u5927\u5bb6\u6162\u6162\u6478\u7d22\u5427\u3002<\/p>\n

\u9700\u8981\u4fee\u6539\u7aef\u53e3\u7684\u8bdd\uff0c\u9996\u5148\u6253\u5f00GO\u9879\u76ee\u4e0b\u7684dedebiz.toml\u8fd9\u4e2a\u6587\u4ef6\uff0c\u4fee\u6539\u6210\u81ea\u5df1\u9700\u8981\u7684\u7aef\u53e3\uff0c\u76f4\u63a5\u5728\u8bbe\u7f6e\u91cc\u9762\u4fee\u6539\u662f\u4e0d\u8d77\u4f5c\u7528\u7684\u3002\u5df2\u7ecf\u5411\u5b98\u65b9\u7684\u53cd\u5e94\u4e86\uff0c\u540e\u7eed\u4f1a\u4fee\u590d\u3002<\/p>\n

END<\/p>\n","protected":false},"excerpt":{"rendered":"

DedeBIZ\u667a\u80fd\u52a9\u624b\uff08DedeBIZ AI Assistant\uff09\u662fDedeBIZ\u7cfb\u7edf\u5b9e\u73b0\u7ad9\u70b9\u667a\u80fd\u5316\u642d\u5efa\u7684\u6838\u5fc3 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[1754,1777,1776],"class_list":["post-5755","post","type-post","status-publish","format-standard","hentry","category-web","tag-dedebiz","tag-1777","tag-1776"],"_links":{"self":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/5755","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/comments?post=5755"}],"version-history":[{"count":0,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/5755\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/media?parent=5755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/categories?post=5755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/tags?post=5755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}