Add HL MES manager with AI assistant service
This commit is contained in:
31
ai-mcp-service/knowledge/operations-and-risk.md
Normal file
31
ai-mcp-service/knowledge/operations-and-risk.md
Normal file
@@ -0,0 +1,31 @@
|
||||
# 运维与风险知识库
|
||||
|
||||
## AI/MCP 服务
|
||||
|
||||
- 目录:ai-mcp-service
|
||||
- 后台启动:.\start.ps1
|
||||
- 状态检查:.\status.ps1
|
||||
- 停止服务:.\stop.ps1
|
||||
- 健康检查:http://127.0.0.1:8787/health
|
||||
- DeepSeek Key 配置:ai-mcp-service/.env 中的 DEEPSEEK_API_KEY
|
||||
|
||||
## 前端配置
|
||||
|
||||
- 开发配置:前端源码/HL_MES_manager/static/config.js
|
||||
- 发布配置:前端源码/HL_MES_manager/dist/static/config.js
|
||||
- 后端地址:baseURL
|
||||
- AI 服务地址:aiMcpURL
|
||||
|
||||
## 后端配置
|
||||
|
||||
- 主配置:MES_Manage_standard/Web.config
|
||||
- 主库:MESBasicDB_HL
|
||||
- 主入口:submit/MESCommonBase.ashx
|
||||
|
||||
## 安全风险
|
||||
|
||||
- Web.config 存在明文数据库账号密码。
|
||||
- CORS 当前允许任意来源。
|
||||
- 通用接口支持 name/param 动态调用,应限制 AI 写入权限。
|
||||
- AI 服务默认禁止写入类操作,只有 MES_AI_ALLOW_WRITE=1 才放开。
|
||||
- 前端登录态主要依赖 Cookie,session 校验逻辑未启用。
|
||||
Reference in New Issue
Block a user