查询集成类型
使用 tcb integration types 命令查询可用的集成类型模板列表。
tcb integration types [options]
命令参数
| 参数 | 说明 | 必填 |
|---|---|---|
--auth-type-code <code> | 按授权类型 Code 精确筛选 | 否 |
--json | 以 JSON 格式输出结果 | 否 |
使用示例
查询所有集成类型
tcb integration types
输出示例:
集成名称 授权类型 Code 类型
微信支付 weixinpaydc 平台辅助式
支付宝支付 alipaydc 平台辅助式
自定义集成 custom 平台辅助式
按授权类型 Code 筛选
tcb integration types --auth-type-code weixinpaydc
JSON 格式输出
tcb integration types --json
输出示例:
[
{
"name": "微信支付",
"authTypeCode": "weixinpaydc",
"type": "1"
}
]
注意事项
- 该命令从 CMS 获取集成类型模板数据
- 只显示"平台辅助式"集成(过滤掉"文档引导式"集成)
- 查询结果用于
tcb integration create时选择authTypeCode