98 lines
1.7 KiB
YAML
98 lines
1.7 KiB
YAML
|
|
# Strapi MCP 配置文件
|
||
|
|
# 根据 docs/strapi.txt 中的接口定义配置
|
||
|
|
|
||
|
|
strapi:
|
||
|
|
base_url: https://cms.yehwang.com
|
||
|
|
api_token: "" # 留空表示不需要认证
|
||
|
|
|
||
|
|
# 支持的语言
|
||
|
|
languages:
|
||
|
|
- code: en
|
||
|
|
name: English
|
||
|
|
- code: nl
|
||
|
|
name: Nederlands
|
||
|
|
- code: de
|
||
|
|
name: Deutsch
|
||
|
|
- code: es
|
||
|
|
name: Español
|
||
|
|
- code: fr
|
||
|
|
name: Français
|
||
|
|
- code: it
|
||
|
|
name: Italiano
|
||
|
|
- code: tr
|
||
|
|
name: Türkçe
|
||
|
|
|
||
|
|
# FAQ 分类配置
|
||
|
|
faq_categories:
|
||
|
|
register:
|
||
|
|
endpoint: faq-register
|
||
|
|
description: 账号相关
|
||
|
|
keywords:
|
||
|
|
- account
|
||
|
|
- register
|
||
|
|
- login
|
||
|
|
- password
|
||
|
|
|
||
|
|
order:
|
||
|
|
endpoint: faq-order
|
||
|
|
description: 订单相关
|
||
|
|
keywords:
|
||
|
|
- order
|
||
|
|
- place order
|
||
|
|
- cancel order
|
||
|
|
- modify order
|
||
|
|
|
||
|
|
pre-order:
|
||
|
|
endpoint: faq-pre-order
|
||
|
|
description: 预售订单相关
|
||
|
|
keywords:
|
||
|
|
- pre-order
|
||
|
|
- reserve
|
||
|
|
- pre-sale
|
||
|
|
|
||
|
|
payment:
|
||
|
|
endpoint: faq-payment
|
||
|
|
description: 支付相关
|
||
|
|
keywords:
|
||
|
|
- payment
|
||
|
|
- pay
|
||
|
|
- checkout
|
||
|
|
- voucher
|
||
|
|
- discount
|
||
|
|
|
||
|
|
shipment:
|
||
|
|
endpoint: faq-shipment
|
||
|
|
description: 运输相关
|
||
|
|
keywords:
|
||
|
|
- shipping
|
||
|
|
- delivery
|
||
|
|
- transit
|
||
|
|
- courier
|
||
|
|
|
||
|
|
return:
|
||
|
|
endpoint: faq-return
|
||
|
|
description: 退货相关
|
||
|
|
keywords:
|
||
|
|
- return
|
||
|
|
- refund
|
||
|
|
- complaint
|
||
|
|
- defective
|
||
|
|
|
||
|
|
other:
|
||
|
|
endpoint: faq-other-question
|
||
|
|
description: 其他问题
|
||
|
|
keywords:
|
||
|
|
- other
|
||
|
|
- general
|
||
|
|
|
||
|
|
# 公司信息端点
|
||
|
|
info_sections:
|
||
|
|
contact:
|
||
|
|
endpoint: info-contact
|
||
|
|
description: 联系信息和营业时间
|
||
|
|
|
||
|
|
# API 端点模板
|
||
|
|
api_templates:
|
||
|
|
faq: "/api/{category}?populate=deep&locale={locale}"
|
||
|
|
info: "/api/{section}?populate=deep&locale={locale}"
|