docs(mcp): 完善模块关联配置的文档和示例

(cherry picked from commit e042d0464c47ab8441f363df1a1242e26a9c13f7)
This commit is contained in:
piexlMax(奇淼
2025-08-05 18:14:27 +08:00
parent 2139e38147
commit b71ad7b6f4
3 changed files with 183 additions and 6 deletions

View File

@@ -79,6 +79,38 @@
"dataSource": {},
"checkDataSource": false,
"fieldIndexType": ""
},
{
"fieldName": "AuthorID",
"fieldDesc": "作者",
"fieldType": "uint",
"fieldJson": "authorId",
"dataTypeLong": "",
"comment": "作者ID",
"columnName": "author_id",
"fieldSearchType": "EQ",
"fieldSearchHide": false,
"dictType": "",
"form": true,
"table": true,
"desc": true,
"excel": true,
"require": true,
"defaultValue": "",
"errorText": "请选择作者",
"clearable": true,
"sort": false,
"primaryKey": false,
"dataSource": {
"dbName": "gva",
"table": "library_authors",
"label": "name",
"value": "id",
"association": 2,
"hasDeletedAt": true
},
"checkDataSource": true,
"fieldIndexType": ""
}
]
},