83 lines
1.8 KiB
JSON
83 lines
1.8 KiB
JSON
{
|
|
"summary": [
|
|
{
|
|
"name": "apiparams",
|
|
"title": "接口参数",
|
|
"primary": [
|
|
"id"
|
|
]
|
|
}
|
|
],
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"title": "id",
|
|
"type": "str",
|
|
"length": 32
|
|
},
|
|
{
|
|
"name": "params_type",
|
|
"title": "接口名称",
|
|
"type": "str",
|
|
"length": 1
|
|
},
|
|
{
|
|
"name": "objid",
|
|
"title": "模型或实例id",
|
|
"type": "str",
|
|
"length": 32
|
|
},
|
|
{
|
|
"name": "apidataid",
|
|
"title": "父数据id",
|
|
"type": "str",
|
|
"length": 32
|
|
},
|
|
{
|
|
"name": "datatype",
|
|
"title": "数据类型",
|
|
"type": "str",
|
|
"length": 2
|
|
},
|
|
{
|
|
"name": "value",
|
|
"title": "数据值",
|
|
"type": "str",
|
|
"length": 1000
|
|
}
|
|
],
|
|
"indexes": [
|
|
{
|
|
"name": "idx1",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"apidataid"
|
|
]
|
|
},
|
|
{
|
|
"name": "idx2",
|
|
"idxtype": "unique",
|
|
"idxfields": [
|
|
"apidataid",
|
|
"params_type",
|
|
"objid"
|
|
]
|
|
}
|
|
],
|
|
"codes": [
|
|
{
|
|
"field": "params_type",
|
|
"table": "appcodes_kv",
|
|
"valuefield": "k",
|
|
"textfield": "v",
|
|
"cond": "parentid='params_type'"
|
|
},
|
|
{
|
|
"field": "datatype",
|
|
"table": "appcodes_kv",
|
|
"valuefield": "k",
|
|
"textfield": "v",
|
|
"cond": "parentid='datatype'"
|
|
}
|
|
]
|
|
} |