fix: align add-web form fields to column names for lookup
All checks were successful
技能自动化发布 / release (push) Successful in 7s

This commit is contained in:
2026-07-31 15:14:31 +08:00
parent ba991a2462
commit 123195fcd9
2 changed files with 15 additions and 15 deletions

View File

@@ -15,27 +15,27 @@
},
"inputSchema": {
"type": "object",
"required": ["platform", "accountLabel"],
"required": ["platform_key", "account_label"],
"properties": {
"platform": {
"platform_key": {
"type": "string",
"title": "平台",
"description": "平台键或显示名,如 cosco / 抖音"
"description": "关联平台信息表;宿主按列 lookup 渲染下拉"
},
"accountLabel": {
"account_label": {
"type": "string",
"title": "账号名称"
},
"loginId": {
"login_id": {
"type": "string",
"title": "登录账号"
},
"loginIdType": {
"login_id_type": {
"type": "string",
"title": "登录标识类型",
"default": "unknown"
},
"tenantId": {
"tenant_id": {
"type": "string",
"title": "租户编号"
},
@@ -49,7 +49,7 @@
"title": "角色",
"default": "default"
},
"providerCode": {
"provider_code": {
"type": "string",
"title": "供应商代码"
},
@@ -64,14 +64,14 @@
"command": "account",
"args": [
"add-web",
"--platform", "{{platform}}",
"--label", "{{accountLabel}}",
"--login-id", "{{loginId}}",
"--login-id-type", "{{loginIdType}}",
"--tenant-id", "{{tenantId}}",
"--platform", "{{platform_key}}",
"--label", "{{account_label}}",
"--login-id", "{{login_id}}",
"--login-id-type", "{{login_id_type}}",
"--tenant-id", "{{tenant_id}}",
"--environment", "{{environment}}",
"--role", "{{role}}",
"--provider-code", "{{providerCode}}",
"--provider-code", "{{provider_code}}",
"--url", "{{url}}"
]
}