Files
nanocode/fumamxCLI/opencli-adapter.yaml
T
Ubuntu 32b43f85bd a
2026-07-03 16:58:28 +08:00

105 lines
1.9 KiB
YAML

# OpenCLI 适配器配置文件
# 由于 OpenCLI 需要浏览器扩展,此文件仅供参考
# 实际使用请直接用 fumamxCLI
name: fumamx
version: 0.1.0
description: 孚盟MX CRM 系统 CLI
base_url: https://www.fumamx.com
# Cookie 配置
cookies:
source: file
path: /home/ubuntu/fumamx_cookies.txt
format: json
# 认证信息
auth:
type: cookie
cookie_names:
- _t
- user
- pass
# API 端点 (需要根据实际网络请求填写)
endpoints:
user:
info:
path: /api/user/info
method: GET
description: 获取用户信息
profile:
path: /api/user/profile
method: GET
description: 获取用户资料
workbench:
data:
path: /api/workbench/data
method: GET
description: 工作台数据
stats:
path: /api/dashboard/stats
method: GET
description: 仪表板统计
todos:
path: /api/workbench/todos
method: GET
description: 待办事项
customer:
list:
path: /api/customer/list
method: GET
params:
- page
- pageSize
description: 客户列表
search:
path: /api/customer/search
method: GET
params:
- keyword
description: 搜索客户
detail:
path: /api/customer/detail/{id}
method: GET
args:
- id
description: 客户详情
email:
list:
path: /api/email/list
method: GET
params:
- page
- pageSize
description: 邮件列表
unread:
path: /api/email/unread
method: GET
description: 未读邮件
order:
list:
path: /api/order/list
method: GET
params:
- page
- pageSize
description: 订单列表
detail:
path: /api/order/detail/{id}
method: GET
args:
- id
description: 订单详情