From 5a4142a40b0127ee50527bb1e7d4dd33276fd100 Mon Sep 17 00:00:00 2001 From: wangshuai Date: Tue, 8 Sep 2020 15:02:47 +0800 Subject: [PATCH] 'commit' --- dsSupport/docs/docs.go | 33 ++++++++++++++++++++++++--------- dsSupport/docs/swagger.json | 33 ++++++++++++++++++++++++--------- dsSupport/docs/swagger.yaml | 29 ++++++++++++++++++++--------- 3 files changed, 68 insertions(+), 27 deletions(-) diff --git a/dsSupport/docs/docs.go b/dsSupport/docs/docs.go index e6f82a85..200261e0 100644 --- a/dsSupport/docs/docs.go +++ b/dsSupport/docs/docs.go @@ -1215,7 +1215,7 @@ var doc = `{ }, "/v1/openapi/dataerror/ReadDataerror": { "post": { - "description": "` + "`" + `json:\"id\" xorm:\"not null pk comment('ID') VARCHAR(36)\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"system_id\" xorm:\"not null comment('数据提供系统ID【输入参数】') VARCHAR(36)\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"datasource_id\" xorm:\"not null comment('数据源ID【输入参数】') VARCHAR(36)\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"org_id\" xorm:\"not null comment('数据机构ID【输入参数】') VARCHAR(36)\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"data_id\" xorm:\"not null comment('数据ID【输入参数】') VARCHAR(36)\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"data_content\" xorm:\"default 'NULL' comment('数据内容【Json格式输入参数】') VARCHAR\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"file_uri\" xorm:\"default 'NULL' comment('文件地址【文件交换】') VARCHAR(500)\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"error_info\" xorm:\"default 'NULL' comment('错误信息说明') VARCHAR(5000)\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"create_time\" xorm:\"default 'NULL' created comment('建立时间') DATETIME\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"change_time\" xorm:\"default 'NULL' updated comment('最近修改时间') DATETIME\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"delete_time\" xorm:\"default 'NULL' deleted comment('删除时间') DATETIME\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\"` + "`" + `", + "description": "` + "`" + `json:\"id\" xorm:\"not null pk comment('ID') VARCHAR(36)\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"system_id\" xorm:\"not null comment('数据提供系统编码') VARCHAR(36)\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"datasource_id\" xorm:\"not null comment('数据源编码') VARCHAR(36)\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"org_id\" xorm:\"not null comment('数据机构ID【输入参数】') VARCHAR(36)\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"data_id\" xorm:\"not null comment('数据ID【输入参数】') VARCHAR(36)\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"data_content\" xorm:\"default 'NULL' comment('数据内容【Json格式输入参数】') VARCHAR\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"file_uri\" xorm:\"default 'NULL' comment('文件地址【文件交换】') VARCHAR(500)\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"error_info\" xorm:\"default 'NULL' comment('错误信息说明') VARCHAR(5000)\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"create_time\" xorm:\"default 'NULL' created comment('建立时间') DATETIME\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"change_time\" xorm:\"default 'NULL' updated comment('最近修改时间') DATETIME\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"delete_time\" xorm:\"default 'NULL' deleted comment('删除时间') DATETIME\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\"` + "`" + `", "consumes": [ "application/json" ], @@ -1256,7 +1256,7 @@ var doc = `{ }, "/v1/openapi/datasource/CreateDatasource": { "post": { - "description": "` + "`" + `json:\"system_id\" xorm:\"not null comment('数据提供系统ID【外键】') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"datasource_name\" xorm:\"not null comment('数据源名称') VARCHAR(100)\" example:\"组织机构信息\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"datasource_code\" xorm:\"not null comment('数据源编码') VARCHAR(8)\" example:\"org_tree\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"datasource_detail\" xorm:\"default 'NULL' comment('数据源说明') VARCHAR(500)\" example:\"教育主管单位、教辅单位、各级各类学校机构信息\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"set_flag\" xorm:\"not null default 1 comment('可修改【1:是,-1:否】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"collect_flag\" xorm:\"not null default 1 comment('可汇集【1:是,-1:否】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"provide_type\" xorm:\"not null comment('提供数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】') INT(11)\" example:\"2\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"provide_orgid\" xorm:\"not null comment('提供数据机构ID【-1:不限制】') index VARCHAR(36)\" example:\"-1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"datastore_type\" xorm:\"not null comment('数据存储类型【1:DB,2:ES,3:Kafka】') INT(11)\" example:\"2\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"dic_id, omitempty\" xorm:\"default 'NULL' comment('数据字典ID') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\" example:\"1\"` + "`" + `", + "description": "` + "`" + `json:\"system_id\" xorm:\"not null comment('数据提供系统编码') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"datasource_name\" xorm:\"not null comment('数据源名称') VARCHAR(100)\" example:\"组织机构信息\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"datasource_code\" xorm:\"not null comment('数据源编码') VARCHAR(8)\" example:\"org_tree\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"datasource_detail\" xorm:\"default 'NULL' comment('数据源说明') VARCHAR(500)\" example:\"教育主管单位、教辅单位、各级各类学校机构信息\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"set_flag\" xorm:\"not null default 1 comment('可修改【1:是,-1:否】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"collect_flag\" xorm:\"not null default 1 comment('可汇集【1:是,-1:否】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"provide_type\" xorm:\"not null comment('提供数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】') INT(11)\" example:\"2\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"provide_orgid\" xorm:\"not null comment('提供数据机构ID【-1:不限制】') index VARCHAR(36)\" example:\"-1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"datastore_type\" xorm:\"not null comment('数据存储类型【1:DB,2:ES,3:Kafka】') INT(11)\" example:\"2\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"dic_id, omitempty\" xorm:\"default 'NULL' comment('数据字典ID') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\" example:\"1\"` + "`" + `", "consumes": [ "application/json" ], @@ -1377,7 +1377,7 @@ var doc = `{ }, "/v1/openapi/datasource/ReadDatasource": { "post": { - "description": "` + "`" + `json:\"system_id\" xorm:\"not null comment('数据提供系统ID【外键】') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"datasource_name\" xorm:\"not null comment('数据源名称') VARCHAR(100)\" example:\"组织机构信息\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"datasource_code\" xorm:\"not null comment('数据源编码') VARCHAR(8)\" example:\"org_tree\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"datasource_detail\" xorm:\"default 'NULL' comment('数据源说明') VARCHAR(500)\" example:\"教育主管单位、教辅单位、各级各类学校机构信息\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"set_flag\" xorm:\"not null default 1 comment('可修改【1:是,-1:否】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"collect_flag\" xorm:\"not null default 1 comment('可汇集【1:是,-1:否】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"provide_type\" xorm:\"not null comment('提供数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】') INT(11)\" example:\"2\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"provide_orgid\" xorm:\"not null comment('提供数据机构ID【-1:不限制】') index VARCHAR(36)\" example:\"-1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"datastore_type\" xorm:\"not null comment('数据存储类型【1:DB,2:ES,3:Kafka】') INT(11)\" example:\"2\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"dic_id, omitempty\" xorm:\"default 'NULL' comment('数据字典ID') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"page\" example:\"1\"` + "`" + `", + "description": "` + "`" + `json:\"system_id\" xorm:\"not null comment('数据提供系统编码') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"datasource_name\" xorm:\"not null comment('数据源名称') VARCHAR(100)\" example:\"组织机构信息\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"datasource_code\" xorm:\"not null comment('数据源编码') VARCHAR(8)\" example:\"org_tree\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"datasource_detail\" xorm:\"default 'NULL' comment('数据源说明') VARCHAR(500)\" example:\"教育主管单位、教辅单位、各级各类学校机构信息\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"set_flag\" xorm:\"not null default 1 comment('可修改【1:是,-1:否】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"collect_flag\" xorm:\"not null default 1 comment('可汇集【1:是,-1:否】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"provide_type\" xorm:\"not null comment('提供数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】') INT(11)\" example:\"2\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"provide_orgid\" xorm:\"not null comment('提供数据机构ID【-1:不限制】') index VARCHAR(36)\" example:\"-1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"datastore_type\" xorm:\"not null comment('数据存储类型【1:DB,2:ES,3:Kafka】') INT(11)\" example:\"2\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"dic_id, omitempty\" xorm:\"default 'NULL' comment('数据字典ID') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"page\" example:\"1\"` + "`" + `", "consumes": [ "application/json" ], @@ -1459,7 +1459,7 @@ var doc = `{ }, "/v1/openapi/datasource/UpdateDatasource/{id}": { "post": { - "description": "` + "`" + `json:\"system_id\" xorm:\"not null comment('数据提供系统ID【外键】') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"datasource_name\" xorm:\"not null comment('数据源名称') VARCHAR(100)\" example:\"组织机构信息\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"datasource_code\" xorm:\"not null comment('数据源编码') VARCHAR(8)\" example:\"org_tree\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"datasource_detail\" xorm:\"default 'NULL' comment('数据源说明') VARCHAR(500)\" example:\"教育主管单位、教辅单位、各级各类学校机构信息\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"set_flag\" xorm:\"not null default 1 comment('可修改【1:是,-1:否】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"collect_flag\" xorm:\"not null default 1 comment('可汇集【1:是,-1:否】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"provide_type\" xorm:\"not null comment('提供数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】') INT(11)\" example:\"2\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"provide_orgid\" xorm:\"not null comment('提供数据机构ID【-1:不限制】') index VARCHAR(36)\" example:\"-1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"datastore_type\" xorm:\"not null comment('数据存储类型【1:DB,2:ES,3:Kafka】') INT(11)\" example:\"2\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"dic_id, omitempty\" xorm:\"default 'NULL' comment('数据字典ID') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\" example:\"1\"` + "`" + `", + "description": "` + "`" + `json:\"system_id\" xorm:\"not null comment('数据提供系统编码') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"datasource_name\" xorm:\"not null comment('数据源名称') VARCHAR(100)\" example:\"组织机构信息\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"datasource_code\" xorm:\"not null comment('数据源编码') VARCHAR(8)\" example:\"org_tree\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"datasource_detail\" xorm:\"default 'NULL' comment('数据源说明') VARCHAR(500)\" example:\"教育主管单位、教辅单位、各级各类学校机构信息\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"set_flag\" xorm:\"not null default 1 comment('可修改【1:是,-1:否】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"collect_flag\" xorm:\"not null default 1 comment('可汇集【1:是,-1:否】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"provide_type\" xorm:\"not null comment('提供数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】') INT(11)\" example:\"2\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"provide_orgid\" xorm:\"not null comment('提供数据机构ID【-1:不限制】') index VARCHAR(36)\" example:\"-1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"datastore_type\" xorm:\"not null comment('数据存储类型【1:DB,2:ES,3:Kafka】') INT(11)\" example:\"2\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"dic_id, omitempty\" xorm:\"default 'NULL' comment('数据字典ID') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\" example:\"1\"` + "`" + `", "consumes": [ "application/json" ], @@ -1706,7 +1706,7 @@ var doc = `{ }, "/v1/openapi/metadata/CreateMetadata": { "post": { - "description": "` + "`" + `json:\"datasource_id\" xorm:\"default ''NULL'' comment('数据源ID') index VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_name\" xorm:\"not null comment('数据项名称【英文】') VARCHAR(50)\" example:\"org_name\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"dic_id\" xorm:\"default ''NULL'' comment('数据字典ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_type\" xorm:\"default ''NULL'' comment('数据项类型【1:整数、2:浮点、3:字符、4:布尔、5:日期、6:时间、7:日期+时间】') VARCHAR(50)\" example:\"string\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_length\" xorm:\"default NULL comment('数据最大长度【UTF-8 字符长度】') INT(11)\" example:\"36\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_pattern\" xorm:\"default 'NULL' comment('数据项模式') VARCHAR(255)\" example:\"\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_info\" xorm:\"not null comment('数据项说明') VARCHAR(50)\" example:\"我是数据项说明\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_name\" xorm:\"not null default -1 comment('是否检测名称【1:是,-1:否】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_dic\" xorm:\"not null default -1 comment('是否检测字典') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_type\" xorm:\"not null default -1 comment('是否检测类型') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_pattern\" xorm:\"not null default -1 comment('是否检测模式') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_exist\" xorm:\"not null default -1 comment('是否检测必填') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\" example:\"1\"` + "`" + `", + "description": "` + "`" + `json:\"datasource_id\" xorm:\"default ''NULL'' comment('数据源编码') index VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_name\" xorm:\"not null comment('数据项名称【英文】') VARCHAR(50)\" example:\"org_name\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"dic_id\" xorm:\"default ''NULL'' comment('数据字典ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_type\" xorm:\"default ''NULL'' comment('数据项类型【1:整数、2:浮点、3:字符、4:布尔、5:日期、6:时间、7:日期+时间】') VARCHAR(50)\" example:\"string\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_length\" xorm:\"default NULL comment('数据最大长度【UTF-8 字符长度】') INT(11)\" example:\"36\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_pattern\" xorm:\"default 'NULL' comment('数据项模式') VARCHAR(255)\" example:\"\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_info\" xorm:\"not null comment('数据项说明') VARCHAR(50)\" example:\"我是数据项说明\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_name\" xorm:\"not null default -1 comment('是否检测名称【1:是,-1:否】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_dic\" xorm:\"not null default -1 comment('是否检测字典') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_type\" xorm:\"not null default -1 comment('是否检测类型') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_pattern\" xorm:\"not null default -1 comment('是否检测模式') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_exist\" xorm:\"not null default -1 comment('是否检测必填') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\" example:\"1\"` + "`" + `", "consumes": [ "application/json" ], @@ -1827,7 +1827,7 @@ var doc = `{ }, "/v1/openapi/metadata/ReadMetadata": { "post": { - "description": "` + "`" + `json:\"datasource_id\" xorm:\"default ''NULL'' comment('数据源ID') index VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_name\" xorm:\"not null comment('数据项名称【英文】') VARCHAR(50)\" example:\"org_name\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"dic_id\" xorm:\"default ''NULL'' comment('数据字典ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_type\" xorm:\"default ''NULL'' comment('数据项类型【1:整数、2:浮点、3:字符、4:布尔、5:日期、6:时间、7:日期+时间】') VARCHAR(50)\" example:\"string\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_length\" xorm:\"default NULL comment('数据最大长度【UTF-8 字符长度】') INT(11)\" example:\"36\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_pattern\" xorm:\"default 'NULL' comment('数据项模式') VARCHAR(255)\" example:\"\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_info\" xorm:\"not null comment('数据项说明') VARCHAR(50)\" example:\"我是数据项说明\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_name\" xorm:\"not null default -1 comment('是否检测名称【1:是,-1:否】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_dic\" xorm:\"not null default -1 comment('是否检测字典') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_type\" xorm:\"not null default -1 comment('是否检测类型') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_pattern\" xorm:\"not null default -1 comment('是否检测模式') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_exist\" xorm:\"not null default -1 comment('是否检测必填') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"page\" example:\"1\"` + "`" + `", + "description": "` + "`" + `json:\"datasource_id\" xorm:\"default ''NULL'' comment('数据源编码') index VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_name\" xorm:\"not null comment('数据项名称【英文】') VARCHAR(50)\" example:\"org_name\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"dic_id\" xorm:\"default ''NULL'' comment('数据字典ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_type\" xorm:\"default ''NULL'' comment('数据项类型【1:整数、2:浮点、3:字符、4:布尔、5:日期、6:时间、7:日期+时间】') VARCHAR(50)\" example:\"string\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_length\" xorm:\"default NULL comment('数据最大长度【UTF-8 字符长度】') INT(11)\" example:\"36\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_pattern\" xorm:\"default 'NULL' comment('数据项模式') VARCHAR(255)\" example:\"\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_info\" xorm:\"not null comment('数据项说明') VARCHAR(50)\" example:\"我是数据项说明\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_name\" xorm:\"not null default -1 comment('是否检测名称【1:是,-1:否】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_dic\" xorm:\"not null default -1 comment('是否检测字典') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_type\" xorm:\"not null default -1 comment('是否检测类型') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_pattern\" xorm:\"not null default -1 comment('是否检测模式') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_exist\" xorm:\"not null default -1 comment('是否检测必填') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"page\" example:\"1\"` + "`" + `", "consumes": [ "application/json" ], @@ -1868,7 +1868,7 @@ var doc = `{ }, "/v1/openapi/metadata/UpdateMetadata/{id}": { "post": { - "description": "` + "`" + `json:\"datasource_id\" xorm:\"default ''NULL'' comment('数据源ID') index VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_name\" xorm:\"not null comment('数据项名称【英文】') VARCHAR(50)\" example:\"org_name\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"dic_id\" xorm:\"default ''NULL'' comment('数据字典ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_type\" xorm:\"default ''NULL'' comment('数据项类型【1:整数、2:浮点、3:字符、4:布尔、5:日期、6:时间、7:日期+时间】') VARCHAR(50)\" example:\"string\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_length\" xorm:\"default NULL comment('数据最大长度【UTF-8 字符长度】') INT(11)\" example:\"36\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_pattern\" xorm:\"default 'NULL' comment('数据项模式') VARCHAR(255)\" example:\"\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_info\" xorm:\"not null comment('数据项说明') VARCHAR(50)\" example:\"我是数据项说明\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_name\" xorm:\"not null default -1 comment('是否检测名称【1:是,-1:否】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_dic\" xorm:\"not null default -1 comment('是否检测字典') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_type\" xorm:\"not null default -1 comment('是否检测类型') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_pattern\" xorm:\"not null default -1 comment('是否检测模式') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_exist\" xorm:\"not null default -1 comment('是否检测必填') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\" example:\"1\"` + "`" + `", + "description": "` + "`" + `json:\"datasource_id\" xorm:\"default ''NULL'' comment('数据源编码') index VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_name\" xorm:\"not null comment('数据项名称【英文】') VARCHAR(50)\" example:\"org_name\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"dic_id\" xorm:\"default ''NULL'' comment('数据字典ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_type\" xorm:\"default ''NULL'' comment('数据项类型【1:整数、2:浮点、3:字符、4:布尔、5:日期、6:时间、7:日期+时间】') VARCHAR(50)\" example:\"string\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_length\" xorm:\"default NULL comment('数据最大长度【UTF-8 字符长度】') INT(11)\" example:\"36\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_pattern\" xorm:\"default 'NULL' comment('数据项模式') VARCHAR(255)\" example:\"\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"item_info\" xorm:\"not null comment('数据项说明') VARCHAR(50)\" example:\"我是数据项说明\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_name\" xorm:\"not null default -1 comment('是否检测名称【1:是,-1:否】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_dic\" xorm:\"not null default -1 comment('是否检测字典') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_type\" xorm:\"not null default -1 comment('是否检测类型') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_pattern\" xorm:\"not null default -1 comment('是否检测模式') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"check_exist\" xorm:\"not null default -1 comment('是否检测必填') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\" example:\"1\"` + "`" + `", "consumes": [ "application/json" ], @@ -2539,13 +2539,28 @@ var doc = `{ "MySwagger.Result": { "type": "object", "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } + }, + "fail": { + "type": "boolean", + "example": false + }, "message": { "type": "string", - "example": "接入系统票据验证失败" + "example": "操作成功" }, "success": { "type": "boolean", - "example": false + "example": true + }, + "total": { + "type": "integer", + "example": 120 } } } diff --git a/dsSupport/docs/swagger.json b/dsSupport/docs/swagger.json index f52f599e..b2836bf5 100644 --- a/dsSupport/docs/swagger.json +++ b/dsSupport/docs/swagger.json @@ -1199,7 +1199,7 @@ }, "/v1/openapi/dataerror/ReadDataerror": { "post": { - "description": "`json:\"id\" xorm:\"not null pk comment('ID') VARCHAR(36)\"`\u003cbr/\u003e`json:\"system_id\" xorm:\"not null comment('数据提供系统ID【输入参数】') VARCHAR(36)\"`\u003cbr/\u003e`json:\"datasource_id\" xorm:\"not null comment('数据源ID【输入参数】') VARCHAR(36)\"`\u003cbr/\u003e`json:\"org_id\" xorm:\"not null comment('数据机构ID【输入参数】') VARCHAR(36)\"`\u003cbr/\u003e`json:\"data_id\" xorm:\"not null comment('数据ID【输入参数】') VARCHAR(36)\"`\u003cbr/\u003e`json:\"data_content\" xorm:\"default 'NULL' comment('数据内容【Json格式输入参数】') VARCHAR\"`\u003cbr/\u003e`json:\"file_uri\" xorm:\"default 'NULL' comment('文件地址【文件交换】') VARCHAR(500)\"`\u003cbr/\u003e`json:\"error_info\" xorm:\"default 'NULL' comment('错误信息说明') VARCHAR(5000)\"`\u003cbr/\u003e`json:\"create_time\" xorm:\"default 'NULL' created comment('建立时间') DATETIME\"`\u003cbr/\u003e`json:\"change_time\" xorm:\"default 'NULL' updated comment('最近修改时间') DATETIME\"`\u003cbr/\u003e`json:\"delete_time\" xorm:\"default 'NULL' deleted comment('删除时间') DATETIME\"`\u003cbr/\u003e`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\"`\u003cbr/\u003e`json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\"`", + "description": "`json:\"id\" xorm:\"not null pk comment('ID') VARCHAR(36)\"`\u003cbr/\u003e`json:\"system_id\" xorm:\"not null comment('数据提供系统编码') VARCHAR(36)\"`\u003cbr/\u003e`json:\"datasource_id\" xorm:\"not null comment('数据源编码') VARCHAR(36)\"`\u003cbr/\u003e`json:\"org_id\" xorm:\"not null comment('数据机构ID【输入参数】') VARCHAR(36)\"`\u003cbr/\u003e`json:\"data_id\" xorm:\"not null comment('数据ID【输入参数】') VARCHAR(36)\"`\u003cbr/\u003e`json:\"data_content\" xorm:\"default 'NULL' comment('数据内容【Json格式输入参数】') VARCHAR\"`\u003cbr/\u003e`json:\"file_uri\" xorm:\"default 'NULL' comment('文件地址【文件交换】') VARCHAR(500)\"`\u003cbr/\u003e`json:\"error_info\" xorm:\"default 'NULL' comment('错误信息说明') VARCHAR(5000)\"`\u003cbr/\u003e`json:\"create_time\" xorm:\"default 'NULL' created comment('建立时间') DATETIME\"`\u003cbr/\u003e`json:\"change_time\" xorm:\"default 'NULL' updated comment('最近修改时间') DATETIME\"`\u003cbr/\u003e`json:\"delete_time\" xorm:\"default 'NULL' deleted comment('删除时间') DATETIME\"`\u003cbr/\u003e`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\"`\u003cbr/\u003e`json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\"`", "consumes": [ "application/json" ], @@ -1240,7 +1240,7 @@ }, "/v1/openapi/datasource/CreateDatasource": { "post": { - "description": "`json:\"system_id\" xorm:\"not null comment('数据提供系统ID【外键】') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"`\u003cbr/\u003e`json:\"datasource_name\" xorm:\"not null comment('数据源名称') VARCHAR(100)\" example:\"组织机构信息\"`\u003cbr/\u003e`json:\"datasource_code\" xorm:\"not null comment('数据源编码') VARCHAR(8)\" example:\"org_tree\"`\u003cbr/\u003e`json:\"datasource_detail\" xorm:\"default 'NULL' comment('数据源说明') VARCHAR(500)\" example:\"教育主管单位、教辅单位、各级各类学校机构信息\"`\u003cbr/\u003e`json:\"set_flag\" xorm:\"not null default 1 comment('可修改【1:是,-1:否】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"collect_flag\" xorm:\"not null default 1 comment('可汇集【1:是,-1:否】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"provide_type\" xorm:\"not null comment('提供数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】') INT(11)\" example:\"2\"`\u003cbr/\u003e`json:\"provide_orgid\" xorm:\"not null comment('提供数据机构ID【-1:不限制】') index VARCHAR(36)\" example:\"-1\"`\u003cbr/\u003e`json:\"datastore_type\" xorm:\"not null comment('数据存储类型【1:DB,2:ES,3:Kafka】') INT(11)\" example:\"2\"`\u003cbr/\u003e`json:\"dic_id, omitempty\" xorm:\"default 'NULL' comment('数据字典ID') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"`\u003cbr/\u003e`json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\" example:\"1\"`", + "description": "`json:\"system_id\" xorm:\"not null comment('数据提供系统编码') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"`\u003cbr/\u003e`json:\"datasource_name\" xorm:\"not null comment('数据源名称') VARCHAR(100)\" example:\"组织机构信息\"`\u003cbr/\u003e`json:\"datasource_code\" xorm:\"not null comment('数据源编码') VARCHAR(8)\" example:\"org_tree\"`\u003cbr/\u003e`json:\"datasource_detail\" xorm:\"default 'NULL' comment('数据源说明') VARCHAR(500)\" example:\"教育主管单位、教辅单位、各级各类学校机构信息\"`\u003cbr/\u003e`json:\"set_flag\" xorm:\"not null default 1 comment('可修改【1:是,-1:否】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"collect_flag\" xorm:\"not null default 1 comment('可汇集【1:是,-1:否】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"provide_type\" xorm:\"not null comment('提供数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】') INT(11)\" example:\"2\"`\u003cbr/\u003e`json:\"provide_orgid\" xorm:\"not null comment('提供数据机构ID【-1:不限制】') index VARCHAR(36)\" example:\"-1\"`\u003cbr/\u003e`json:\"datastore_type\" xorm:\"not null comment('数据存储类型【1:DB,2:ES,3:Kafka】') INT(11)\" example:\"2\"`\u003cbr/\u003e`json:\"dic_id, omitempty\" xorm:\"default 'NULL' comment('数据字典ID') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"`\u003cbr/\u003e`json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\" example:\"1\"`", "consumes": [ "application/json" ], @@ -1361,7 +1361,7 @@ }, "/v1/openapi/datasource/ReadDatasource": { "post": { - "description": "`json:\"system_id\" xorm:\"not null comment('数据提供系统ID【外键】') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"`\u003cbr/\u003e`json:\"datasource_name\" xorm:\"not null comment('数据源名称') VARCHAR(100)\" example:\"组织机构信息\"`\u003cbr/\u003e`json:\"datasource_code\" xorm:\"not null comment('数据源编码') VARCHAR(8)\" example:\"org_tree\"`\u003cbr/\u003e`json:\"datasource_detail\" xorm:\"default 'NULL' comment('数据源说明') VARCHAR(500)\" example:\"教育主管单位、教辅单位、各级各类学校机构信息\"`\u003cbr/\u003e`json:\"set_flag\" xorm:\"not null default 1 comment('可修改【1:是,-1:否】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"collect_flag\" xorm:\"not null default 1 comment('可汇集【1:是,-1:否】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"provide_type\" xorm:\"not null comment('提供数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】') INT(11)\" example:\"2\"`\u003cbr/\u003e`json:\"provide_orgid\" xorm:\"not null comment('提供数据机构ID【-1:不限制】') index VARCHAR(36)\" example:\"-1\"`\u003cbr/\u003e`json:\"datastore_type\" xorm:\"not null comment('数据存储类型【1:DB,2:ES,3:Kafka】') INT(11)\" example:\"2\"`\u003cbr/\u003e`json:\"dic_id, omitempty\" xorm:\"default 'NULL' comment('数据字典ID') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"`\u003cbr/\u003e`json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"page\" example:\"1\"`", + "description": "`json:\"system_id\" xorm:\"not null comment('数据提供系统编码') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"`\u003cbr/\u003e`json:\"datasource_name\" xorm:\"not null comment('数据源名称') VARCHAR(100)\" example:\"组织机构信息\"`\u003cbr/\u003e`json:\"datasource_code\" xorm:\"not null comment('数据源编码') VARCHAR(8)\" example:\"org_tree\"`\u003cbr/\u003e`json:\"datasource_detail\" xorm:\"default 'NULL' comment('数据源说明') VARCHAR(500)\" example:\"教育主管单位、教辅单位、各级各类学校机构信息\"`\u003cbr/\u003e`json:\"set_flag\" xorm:\"not null default 1 comment('可修改【1:是,-1:否】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"collect_flag\" xorm:\"not null default 1 comment('可汇集【1:是,-1:否】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"provide_type\" xorm:\"not null comment('提供数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】') INT(11)\" example:\"2\"`\u003cbr/\u003e`json:\"provide_orgid\" xorm:\"not null comment('提供数据机构ID【-1:不限制】') index VARCHAR(36)\" example:\"-1\"`\u003cbr/\u003e`json:\"datastore_type\" xorm:\"not null comment('数据存储类型【1:DB,2:ES,3:Kafka】') INT(11)\" example:\"2\"`\u003cbr/\u003e`json:\"dic_id, omitempty\" xorm:\"default 'NULL' comment('数据字典ID') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"`\u003cbr/\u003e`json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"page\" example:\"1\"`", "consumes": [ "application/json" ], @@ -1443,7 +1443,7 @@ }, "/v1/openapi/datasource/UpdateDatasource/{id}": { "post": { - "description": "`json:\"system_id\" xorm:\"not null comment('数据提供系统ID【外键】') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"`\u003cbr/\u003e`json:\"datasource_name\" xorm:\"not null comment('数据源名称') VARCHAR(100)\" example:\"组织机构信息\"`\u003cbr/\u003e`json:\"datasource_code\" xorm:\"not null comment('数据源编码') VARCHAR(8)\" example:\"org_tree\"`\u003cbr/\u003e`json:\"datasource_detail\" xorm:\"default 'NULL' comment('数据源说明') VARCHAR(500)\" example:\"教育主管单位、教辅单位、各级各类学校机构信息\"`\u003cbr/\u003e`json:\"set_flag\" xorm:\"not null default 1 comment('可修改【1:是,-1:否】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"collect_flag\" xorm:\"not null default 1 comment('可汇集【1:是,-1:否】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"provide_type\" xorm:\"not null comment('提供数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】') INT(11)\" example:\"2\"`\u003cbr/\u003e`json:\"provide_orgid\" xorm:\"not null comment('提供数据机构ID【-1:不限制】') index VARCHAR(36)\" example:\"-1\"`\u003cbr/\u003e`json:\"datastore_type\" xorm:\"not null comment('数据存储类型【1:DB,2:ES,3:Kafka】') INT(11)\" example:\"2\"`\u003cbr/\u003e`json:\"dic_id, omitempty\" xorm:\"default 'NULL' comment('数据字典ID') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"`\u003cbr/\u003e`json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\" example:\"1\"`", + "description": "`json:\"system_id\" xorm:\"not null comment('数据提供系统编码') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"`\u003cbr/\u003e`json:\"datasource_name\" xorm:\"not null comment('数据源名称') VARCHAR(100)\" example:\"组织机构信息\"`\u003cbr/\u003e`json:\"datasource_code\" xorm:\"not null comment('数据源编码') VARCHAR(8)\" example:\"org_tree\"`\u003cbr/\u003e`json:\"datasource_detail\" xorm:\"default 'NULL' comment('数据源说明') VARCHAR(500)\" example:\"教育主管单位、教辅单位、各级各类学校机构信息\"`\u003cbr/\u003e`json:\"set_flag\" xorm:\"not null default 1 comment('可修改【1:是,-1:否】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"collect_flag\" xorm:\"not null default 1 comment('可汇集【1:是,-1:否】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"provide_type\" xorm:\"not null comment('提供数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】') INT(11)\" example:\"2\"`\u003cbr/\u003e`json:\"provide_orgid\" xorm:\"not null comment('提供数据机构ID【-1:不限制】') index VARCHAR(36)\" example:\"-1\"`\u003cbr/\u003e`json:\"datastore_type\" xorm:\"not null comment('数据存储类型【1:DB,2:ES,3:Kafka】') INT(11)\" example:\"2\"`\u003cbr/\u003e`json:\"dic_id, omitempty\" xorm:\"default 'NULL' comment('数据字典ID') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"`\u003cbr/\u003e`json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\" example:\"1\"`", "consumes": [ "application/json" ], @@ -1690,7 +1690,7 @@ }, "/v1/openapi/metadata/CreateMetadata": { "post": { - "description": "`json:\"datasource_id\" xorm:\"default ''NULL'' comment('数据源ID') index VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\u003cbr/\u003e`json:\"item_name\" xorm:\"not null comment('数据项名称【英文】') VARCHAR(50)\" example:\"org_name\"`\u003cbr/\u003e`json:\"dic_id\" xorm:\"default ''NULL'' comment('数据字典ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"`\u003cbr/\u003e`json:\"item_type\" xorm:\"default ''NULL'' comment('数据项类型【1:整数、2:浮点、3:字符、4:布尔、5:日期、6:时间、7:日期+时间】') VARCHAR(50)\" example:\"string\"`\u003cbr/\u003e`json:\"item_length\" xorm:\"default NULL comment('数据最大长度【UTF-8 字符长度】') INT(11)\" example:\"36\"`\u003cbr/\u003e`json:\"item_pattern\" xorm:\"default 'NULL' comment('数据项模式') VARCHAR(255)\" example:\"\"`\u003cbr/\u003e`json:\"item_info\" xorm:\"not null comment('数据项说明') VARCHAR(50)\" example:\"我是数据项说明\"`\u003cbr/\u003e`json:\"check_name\" xorm:\"not null default -1 comment('是否检测名称【1:是,-1:否】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"check_dic\" xorm:\"not null default -1 comment('是否检测字典') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"check_type\" xorm:\"not null default -1 comment('是否检测类型') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"check_pattern\" xorm:\"not null default -1 comment('是否检测模式') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"check_exist\" xorm:\"not null default -1 comment('是否检测必填') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\" example:\"1\"`", + "description": "`json:\"datasource_id\" xorm:\"default ''NULL'' comment('数据源编码') index VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\u003cbr/\u003e`json:\"item_name\" xorm:\"not null comment('数据项名称【英文】') VARCHAR(50)\" example:\"org_name\"`\u003cbr/\u003e`json:\"dic_id\" xorm:\"default ''NULL'' comment('数据字典ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"`\u003cbr/\u003e`json:\"item_type\" xorm:\"default ''NULL'' comment('数据项类型【1:整数、2:浮点、3:字符、4:布尔、5:日期、6:时间、7:日期+时间】') VARCHAR(50)\" example:\"string\"`\u003cbr/\u003e`json:\"item_length\" xorm:\"default NULL comment('数据最大长度【UTF-8 字符长度】') INT(11)\" example:\"36\"`\u003cbr/\u003e`json:\"item_pattern\" xorm:\"default 'NULL' comment('数据项模式') VARCHAR(255)\" example:\"\"`\u003cbr/\u003e`json:\"item_info\" xorm:\"not null comment('数据项说明') VARCHAR(50)\" example:\"我是数据项说明\"`\u003cbr/\u003e`json:\"check_name\" xorm:\"not null default -1 comment('是否检测名称【1:是,-1:否】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"check_dic\" xorm:\"not null default -1 comment('是否检测字典') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"check_type\" xorm:\"not null default -1 comment('是否检测类型') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"check_pattern\" xorm:\"not null default -1 comment('是否检测模式') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"check_exist\" xorm:\"not null default -1 comment('是否检测必填') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\" example:\"1\"`", "consumes": [ "application/json" ], @@ -1811,7 +1811,7 @@ }, "/v1/openapi/metadata/ReadMetadata": { "post": { - "description": "`json:\"datasource_id\" xorm:\"default ''NULL'' comment('数据源ID') index VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\u003cbr/\u003e`json:\"item_name\" xorm:\"not null comment('数据项名称【英文】') VARCHAR(50)\" example:\"org_name\"`\u003cbr/\u003e`json:\"dic_id\" xorm:\"default ''NULL'' comment('数据字典ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"`\u003cbr/\u003e`json:\"item_type\" xorm:\"default ''NULL'' comment('数据项类型【1:整数、2:浮点、3:字符、4:布尔、5:日期、6:时间、7:日期+时间】') VARCHAR(50)\" example:\"string\"`\u003cbr/\u003e`json:\"item_length\" xorm:\"default NULL comment('数据最大长度【UTF-8 字符长度】') INT(11)\" example:\"36\"`\u003cbr/\u003e`json:\"item_pattern\" xorm:\"default 'NULL' comment('数据项模式') VARCHAR(255)\" example:\"\"`\u003cbr/\u003e`json:\"item_info\" xorm:\"not null comment('数据项说明') VARCHAR(50)\" example:\"我是数据项说明\"`\u003cbr/\u003e`json:\"check_name\" xorm:\"not null default -1 comment('是否检测名称【1:是,-1:否】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"check_dic\" xorm:\"not null default -1 comment('是否检测字典') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"check_type\" xorm:\"not null default -1 comment('是否检测类型') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"check_pattern\" xorm:\"not null default -1 comment('是否检测模式') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"check_exist\" xorm:\"not null default -1 comment('是否检测必填') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"page\" example:\"1\"`", + "description": "`json:\"datasource_id\" xorm:\"default ''NULL'' comment('数据源编码') index VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\u003cbr/\u003e`json:\"item_name\" xorm:\"not null comment('数据项名称【英文】') VARCHAR(50)\" example:\"org_name\"`\u003cbr/\u003e`json:\"dic_id\" xorm:\"default ''NULL'' comment('数据字典ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"`\u003cbr/\u003e`json:\"item_type\" xorm:\"default ''NULL'' comment('数据项类型【1:整数、2:浮点、3:字符、4:布尔、5:日期、6:时间、7:日期+时间】') VARCHAR(50)\" example:\"string\"`\u003cbr/\u003e`json:\"item_length\" xorm:\"default NULL comment('数据最大长度【UTF-8 字符长度】') INT(11)\" example:\"36\"`\u003cbr/\u003e`json:\"item_pattern\" xorm:\"default 'NULL' comment('数据项模式') VARCHAR(255)\" example:\"\"`\u003cbr/\u003e`json:\"item_info\" xorm:\"not null comment('数据项说明') VARCHAR(50)\" example:\"我是数据项说明\"`\u003cbr/\u003e`json:\"check_name\" xorm:\"not null default -1 comment('是否检测名称【1:是,-1:否】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"check_dic\" xorm:\"not null default -1 comment('是否检测字典') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"check_type\" xorm:\"not null default -1 comment('是否检测类型') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"check_pattern\" xorm:\"not null default -1 comment('是否检测模式') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"check_exist\" xorm:\"not null default -1 comment('是否检测必填') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"page\" example:\"1\"`", "consumes": [ "application/json" ], @@ -1852,7 +1852,7 @@ }, "/v1/openapi/metadata/UpdateMetadata/{id}": { "post": { - "description": "`json:\"datasource_id\" xorm:\"default ''NULL'' comment('数据源ID') index VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\u003cbr/\u003e`json:\"item_name\" xorm:\"not null comment('数据项名称【英文】') VARCHAR(50)\" example:\"org_name\"`\u003cbr/\u003e`json:\"dic_id\" xorm:\"default ''NULL'' comment('数据字典ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"`\u003cbr/\u003e`json:\"item_type\" xorm:\"default ''NULL'' comment('数据项类型【1:整数、2:浮点、3:字符、4:布尔、5:日期、6:时间、7:日期+时间】') VARCHAR(50)\" example:\"string\"`\u003cbr/\u003e`json:\"item_length\" xorm:\"default NULL comment('数据最大长度【UTF-8 字符长度】') INT(11)\" example:\"36\"`\u003cbr/\u003e`json:\"item_pattern\" xorm:\"default 'NULL' comment('数据项模式') VARCHAR(255)\" example:\"\"`\u003cbr/\u003e`json:\"item_info\" xorm:\"not null comment('数据项说明') VARCHAR(50)\" example:\"我是数据项说明\"`\u003cbr/\u003e`json:\"check_name\" xorm:\"not null default -1 comment('是否检测名称【1:是,-1:否】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"check_dic\" xorm:\"not null default -1 comment('是否检测字典') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"check_type\" xorm:\"not null default -1 comment('是否检测类型') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"check_pattern\" xorm:\"not null default -1 comment('是否检测模式') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"check_exist\" xorm:\"not null default -1 comment('是否检测必填') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\" example:\"1\"`", + "description": "`json:\"datasource_id\" xorm:\"default ''NULL'' comment('数据源编码') index VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\u003cbr/\u003e`json:\"item_name\" xorm:\"not null comment('数据项名称【英文】') VARCHAR(50)\" example:\"org_name\"`\u003cbr/\u003e`json:\"dic_id\" xorm:\"default ''NULL'' comment('数据字典ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"`\u003cbr/\u003e`json:\"item_type\" xorm:\"default ''NULL'' comment('数据项类型【1:整数、2:浮点、3:字符、4:布尔、5:日期、6:时间、7:日期+时间】') VARCHAR(50)\" example:\"string\"`\u003cbr/\u003e`json:\"item_length\" xorm:\"default NULL comment('数据最大长度【UTF-8 字符长度】') INT(11)\" example:\"36\"`\u003cbr/\u003e`json:\"item_pattern\" xorm:\"default 'NULL' comment('数据项模式') VARCHAR(255)\" example:\"\"`\u003cbr/\u003e`json:\"item_info\" xorm:\"not null comment('数据项说明') VARCHAR(50)\" example:\"我是数据项说明\"`\u003cbr/\u003e`json:\"check_name\" xorm:\"not null default -1 comment('是否检测名称【1:是,-1:否】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"check_dic\" xorm:\"not null default -1 comment('是否检测字典') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"check_type\" xorm:\"not null default -1 comment('是否检测类型') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"check_pattern\" xorm:\"not null default -1 comment('是否检测模式') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"check_exist\" xorm:\"not null default -1 comment('是否检测必填') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)\" example:\"1\"`", "consumes": [ "application/json" ], @@ -2523,13 +2523,28 @@ "MySwagger.Result": { "type": "object", "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } + }, + "fail": { + "type": "boolean", + "example": false + }, "message": { "type": "string", - "example": "接入系统票据验证失败" + "example": "操作成功" }, "success": { "type": "boolean", - "example": false + "example": true + }, + "total": { + "type": "integer", + "example": 120 } } } diff --git a/dsSupport/docs/swagger.yaml b/dsSupport/docs/swagger.yaml index 36bdb656..8020137d 100644 --- a/dsSupport/docs/swagger.yaml +++ b/dsSupport/docs/swagger.yaml @@ -331,12 +331,23 @@ definitions: type: object MySwagger.Result: properties: + data: + items: + additionalProperties: true + type: object + type: array + fail: + example: false + type: boolean message: - example: 接入系统票据验证失败 + example: 操作成功 type: string success: - example: false + example: true type: boolean + total: + example: 120 + type: integer type: object host: 127.0.0.1:8005 info: @@ -1108,7 +1119,7 @@ paths: post: consumes: - application/json - description: '`json:"id" xorm:"not null pk comment(''ID'') VARCHAR(36)"`
`json:"system_id" xorm:"not null comment(''数据提供系统ID【输入参数】'') VARCHAR(36)"`
`json:"datasource_id" xorm:"not null comment(''数据源ID【输入参数】'') VARCHAR(36)"`
`json:"org_id" xorm:"not null comment(''数据机构ID【输入参数】'') VARCHAR(36)"`
`json:"data_id" xorm:"not null comment(''数据ID【输入参数】'') VARCHAR(36)"`
`json:"data_content" xorm:"default ''NULL'' comment(''数据内容【Json格式输入参数】'') VARCHAR"`
`json:"file_uri" xorm:"default ''NULL'' comment(''文件地址【文件交换】'') VARCHAR(500)"`
`json:"error_info" xorm:"default ''NULL'' comment(''错误信息说明'') VARCHAR(5000)"`
`json:"create_time" xorm:"default ''NULL'' created comment(''建立时间'') DATETIME"`
`json:"change_time" xorm:"default ''NULL'' updated comment(''最近修改时间'') DATETIME"`
`json:"delete_time" xorm:"default ''NULL'' deleted comment(''删除时间'') DATETIME"`
`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认1,1:启用,-1:禁用】'') INT(11)"`
`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-1,1:删除,-1:正常】'') INT(11)"`' + description: '`json:"id" xorm:"not null pk comment(''ID'') VARCHAR(36)"`
`json:"system_id" xorm:"not null comment(''数据提供系统编码'') VARCHAR(36)"`
`json:"datasource_id" xorm:"not null comment(''数据源编码'') VARCHAR(36)"`
`json:"org_id" xorm:"not null comment(''数据机构ID【输入参数】'') VARCHAR(36)"`
`json:"data_id" xorm:"not null comment(''数据ID【输入参数】'') VARCHAR(36)"`
`json:"data_content" xorm:"default ''NULL'' comment(''数据内容【Json格式输入参数】'') VARCHAR"`
`json:"file_uri" xorm:"default ''NULL'' comment(''文件地址【文件交换】'') VARCHAR(500)"`
`json:"error_info" xorm:"default ''NULL'' comment(''错误信息说明'') VARCHAR(5000)"`
`json:"create_time" xorm:"default ''NULL'' created comment(''建立时间'') DATETIME"`
`json:"change_time" xorm:"default ''NULL'' updated comment(''最近修改时间'') DATETIME"`
`json:"delete_time" xorm:"default ''NULL'' deleted comment(''删除时间'') DATETIME"`
`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认1,1:启用,-1:禁用】'') INT(11)"`
`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-1,1:删除,-1:正常】'') INT(11)"`' operationId: readDataerror parameters: - description: 数据异常 @@ -1135,7 +1146,7 @@ paths: post: consumes: - application/json - description: '`json:"system_id" xorm:"not null comment(''数据提供系统ID【外键】'') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`
`json:"datasource_name" xorm:"not null comment(''数据源名称'') VARCHAR(100)" example:"组织机构信息"`
`json:"datasource_code" xorm:"not null comment(''数据源编码'') VARCHAR(8)" example:"org_tree"`
`json:"datasource_detail" xorm:"default ''NULL'' comment(''数据源说明'') VARCHAR(500)" example:"教育主管单位、教辅单位、各级各类学校机构信息"`
`json:"set_flag" xorm:"not null default 1 comment(''可修改【1:是,-1:否】'') INT(11)" example:"1"`
`json:"collect_flag" xorm:"not null default 1 comment(''可汇集【1:是,-1:否】'') INT(11)" example:"1"`
`json:"provide_type" xorm:"not null comment(''提供数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】'') INT(11)" example:"2"`
`json:"provide_orgid" xorm:"not null comment(''提供数据机构ID【-1:不限制】'') index VARCHAR(36)" example:"-1"`
`json:"datastore_type" xorm:"not null comment(''数据存储类型【1:DB,2:ES,3:Kafka】'') INT(11)" example:"2"`
`json:"dic_id, omitempty" xorm:"default ''NULL'' comment(''数据字典ID'') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`
`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-1,1:删除,-1:正常】'') INT(11)" example:"1"`
`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认1,1:启用,-1:禁用】'') INT(11)" example:"1"`' + description: '`json:"system_id" xorm:"not null comment(''数据提供系统编码'') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`
`json:"datasource_name" xorm:"not null comment(''数据源名称'') VARCHAR(100)" example:"组织机构信息"`
`json:"datasource_code" xorm:"not null comment(''数据源编码'') VARCHAR(8)" example:"org_tree"`
`json:"datasource_detail" xorm:"default ''NULL'' comment(''数据源说明'') VARCHAR(500)" example:"教育主管单位、教辅单位、各级各类学校机构信息"`
`json:"set_flag" xorm:"not null default 1 comment(''可修改【1:是,-1:否】'') INT(11)" example:"1"`
`json:"collect_flag" xorm:"not null default 1 comment(''可汇集【1:是,-1:否】'') INT(11)" example:"1"`
`json:"provide_type" xorm:"not null comment(''提供数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】'') INT(11)" example:"2"`
`json:"provide_orgid" xorm:"not null comment(''提供数据机构ID【-1:不限制】'') index VARCHAR(36)" example:"-1"`
`json:"datastore_type" xorm:"not null comment(''数据存储类型【1:DB,2:ES,3:Kafka】'') INT(11)" example:"2"`
`json:"dic_id, omitempty" xorm:"default ''NULL'' comment(''数据字典ID'') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`
`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-1,1:删除,-1:正常】'') INT(11)" example:"1"`
`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认1,1:启用,-1:禁用】'') INT(11)" example:"1"`' operationId: createDatasource parameters: - description: 数据源 @@ -1215,7 +1226,7 @@ paths: post: consumes: - application/json - description: '`json:"system_id" xorm:"not null comment(''数据提供系统ID【外键】'') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`
`json:"datasource_name" xorm:"not null comment(''数据源名称'') VARCHAR(100)" example:"组织机构信息"`
`json:"datasource_code" xorm:"not null comment(''数据源编码'') VARCHAR(8)" example:"org_tree"`
`json:"datasource_detail" xorm:"default ''NULL'' comment(''数据源说明'') VARCHAR(500)" example:"教育主管单位、教辅单位、各级各类学校机构信息"`
`json:"set_flag" xorm:"not null default 1 comment(''可修改【1:是,-1:否】'') INT(11)" example:"1"`
`json:"collect_flag" xorm:"not null default 1 comment(''可汇集【1:是,-1:否】'') INT(11)" example:"1"`
`json:"provide_type" xorm:"not null comment(''提供数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】'') INT(11)" example:"2"`
`json:"provide_orgid" xorm:"not null comment(''提供数据机构ID【-1:不限制】'') index VARCHAR(36)" example:"-1"`
`json:"datastore_type" xorm:"not null comment(''数据存储类型【1:DB,2:ES,3:Kafka】'') INT(11)" example:"2"`
`json:"dic_id, omitempty" xorm:"default ''NULL'' comment(''数据字典ID'') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`
`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-1,1:删除,-1:正常】'') INT(11)" example:"1"`
`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认1,1:启用,-1:禁用】'') INT(11)" example:"1"`
`json:"page" example:"1"`' + description: '`json:"system_id" xorm:"not null comment(''数据提供系统编码'') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`
`json:"datasource_name" xorm:"not null comment(''数据源名称'') VARCHAR(100)" example:"组织机构信息"`
`json:"datasource_code" xorm:"not null comment(''数据源编码'') VARCHAR(8)" example:"org_tree"`
`json:"datasource_detail" xorm:"default ''NULL'' comment(''数据源说明'') VARCHAR(500)" example:"教育主管单位、教辅单位、各级各类学校机构信息"`
`json:"set_flag" xorm:"not null default 1 comment(''可修改【1:是,-1:否】'') INT(11)" example:"1"`
`json:"collect_flag" xorm:"not null default 1 comment(''可汇集【1:是,-1:否】'') INT(11)" example:"1"`
`json:"provide_type" xorm:"not null comment(''提供数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】'') INT(11)" example:"2"`
`json:"provide_orgid" xorm:"not null comment(''提供数据机构ID【-1:不限制】'') index VARCHAR(36)" example:"-1"`
`json:"datastore_type" xorm:"not null comment(''数据存储类型【1:DB,2:ES,3:Kafka】'') INT(11)" example:"2"`
`json:"dic_id, omitempty" xorm:"default ''NULL'' comment(''数据字典ID'') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`
`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-1,1:删除,-1:正常】'') INT(11)" example:"1"`
`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认1,1:启用,-1:禁用】'') INT(11)" example:"1"`
`json:"page" example:"1"`' operationId: readDatasource parameters: - description: 数据源 @@ -1269,7 +1280,7 @@ paths: post: consumes: - application/json - description: '`json:"system_id" xorm:"not null comment(''数据提供系统ID【外键】'') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`
`json:"datasource_name" xorm:"not null comment(''数据源名称'') VARCHAR(100)" example:"组织机构信息"`
`json:"datasource_code" xorm:"not null comment(''数据源编码'') VARCHAR(8)" example:"org_tree"`
`json:"datasource_detail" xorm:"default ''NULL'' comment(''数据源说明'') VARCHAR(500)" example:"教育主管单位、教辅单位、各级各类学校机构信息"`
`json:"set_flag" xorm:"not null default 1 comment(''可修改【1:是,-1:否】'') INT(11)" example:"1"`
`json:"collect_flag" xorm:"not null default 1 comment(''可汇集【1:是,-1:否】'') INT(11)" example:"1"`
`json:"provide_type" xorm:"not null comment(''提供数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】'') INT(11)" example:"2"`
`json:"provide_orgid" xorm:"not null comment(''提供数据机构ID【-1:不限制】'') index VARCHAR(36)" example:"-1"`
`json:"datastore_type" xorm:"not null comment(''数据存储类型【1:DB,2:ES,3:Kafka】'') INT(11)" example:"2"`
`json:"dic_id, omitempty" xorm:"default ''NULL'' comment(''数据字典ID'') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`
`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-1,1:删除,-1:正常】'') INT(11)" example:"1"`
`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认1,1:启用,-1:禁用】'') INT(11)" example:"1"`' + description: '`json:"system_id" xorm:"not null comment(''数据提供系统编码'') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`
`json:"datasource_name" xorm:"not null comment(''数据源名称'') VARCHAR(100)" example:"组织机构信息"`
`json:"datasource_code" xorm:"not null comment(''数据源编码'') VARCHAR(8)" example:"org_tree"`
`json:"datasource_detail" xorm:"default ''NULL'' comment(''数据源说明'') VARCHAR(500)" example:"教育主管单位、教辅单位、各级各类学校机构信息"`
`json:"set_flag" xorm:"not null default 1 comment(''可修改【1:是,-1:否】'') INT(11)" example:"1"`
`json:"collect_flag" xorm:"not null default 1 comment(''可汇集【1:是,-1:否】'') INT(11)" example:"1"`
`json:"provide_type" xorm:"not null comment(''提供数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】'') INT(11)" example:"2"`
`json:"provide_orgid" xorm:"not null comment(''提供数据机构ID【-1:不限制】'') index VARCHAR(36)" example:"-1"`
`json:"datastore_type" xorm:"not null comment(''数据存储类型【1:DB,2:ES,3:Kafka】'') INT(11)" example:"2"`
`json:"dic_id, omitempty" xorm:"default ''NULL'' comment(''数据字典ID'') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`
`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-1,1:删除,-1:正常】'') INT(11)" example:"1"`
`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认1,1:启用,-1:禁用】'') INT(11)" example:"1"`' operationId: updateDatasource parameters: - description: 数据源ID @@ -1433,7 +1444,7 @@ paths: post: consumes: - application/json - description: '`json:"datasource_id" xorm:"default ''''NULL'''' comment(''数据源ID'') index VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"item_name" xorm:"not null comment(''数据项名称【英文】'') VARCHAR(50)" example:"org_name"`
`json:"dic_id" xorm:"default ''''NULL'''' comment(''数据字典ID'') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"`
`json:"item_type" xorm:"default ''''NULL'''' comment(''数据项类型【1:整数、2:浮点、3:字符、4:布尔、5:日期、6:时间、7:日期+时间】'') VARCHAR(50)" example:"string"`
`json:"item_length" xorm:"default NULL comment(''数据最大长度【UTF-8 字符长度】'') INT(11)" example:"36"`
`json:"item_pattern" xorm:"default ''NULL'' comment(''数据项模式'') VARCHAR(255)" example:""`
`json:"item_info" xorm:"not null comment(''数据项说明'') VARCHAR(50)" example:"我是数据项说明"`
`json:"check_name" xorm:"not null default -1 comment(''是否检测名称【1:是,-1:否】'') INT(11)" example:"1"`
`json:"check_dic" xorm:"not null default -1 comment(''是否检测字典'') INT(11)" example:"1"`
`json:"check_type" xorm:"not null default -1 comment(''是否检测类型'') INT(11)" example:"1"`
`json:"check_pattern" xorm:"not null default -1 comment(''是否检测模式'') INT(11)" example:"1"`
`json:"check_exist" xorm:"not null default -1 comment(''是否检测必填'') INT(11)" example:"1"`
`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-1,1:删除,-1:正常】'') INT(11)" example:"1"`
`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认1,1:启用,-1:禁用】'') INT(11)" example:"1"`' + description: '`json:"datasource_id" xorm:"default ''''NULL'''' comment(''数据源编码'') index VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"item_name" xorm:"not null comment(''数据项名称【英文】'') VARCHAR(50)" example:"org_name"`
`json:"dic_id" xorm:"default ''''NULL'''' comment(''数据字典ID'') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"`
`json:"item_type" xorm:"default ''''NULL'''' comment(''数据项类型【1:整数、2:浮点、3:字符、4:布尔、5:日期、6:时间、7:日期+时间】'') VARCHAR(50)" example:"string"`
`json:"item_length" xorm:"default NULL comment(''数据最大长度【UTF-8 字符长度】'') INT(11)" example:"36"`
`json:"item_pattern" xorm:"default ''NULL'' comment(''数据项模式'') VARCHAR(255)" example:""`
`json:"item_info" xorm:"not null comment(''数据项说明'') VARCHAR(50)" example:"我是数据项说明"`
`json:"check_name" xorm:"not null default -1 comment(''是否检测名称【1:是,-1:否】'') INT(11)" example:"1"`
`json:"check_dic" xorm:"not null default -1 comment(''是否检测字典'') INT(11)" example:"1"`
`json:"check_type" xorm:"not null default -1 comment(''是否检测类型'') INT(11)" example:"1"`
`json:"check_pattern" xorm:"not null default -1 comment(''是否检测模式'') INT(11)" example:"1"`
`json:"check_exist" xorm:"not null default -1 comment(''是否检测必填'') INT(11)" example:"1"`
`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-1,1:删除,-1:正常】'') INT(11)" example:"1"`
`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认1,1:启用,-1:禁用】'') INT(11)" example:"1"`' operationId: createMetadata parameters: - description: 元数据 @@ -1513,7 +1524,7 @@ paths: post: consumes: - application/json - description: '`json:"datasource_id" xorm:"default ''''NULL'''' comment(''数据源ID'') index VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"item_name" xorm:"not null comment(''数据项名称【英文】'') VARCHAR(50)" example:"org_name"`
`json:"dic_id" xorm:"default ''''NULL'''' comment(''数据字典ID'') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"`
`json:"item_type" xorm:"default ''''NULL'''' comment(''数据项类型【1:整数、2:浮点、3:字符、4:布尔、5:日期、6:时间、7:日期+时间】'') VARCHAR(50)" example:"string"`
`json:"item_length" xorm:"default NULL comment(''数据最大长度【UTF-8 字符长度】'') INT(11)" example:"36"`
`json:"item_pattern" xorm:"default ''NULL'' comment(''数据项模式'') VARCHAR(255)" example:""`
`json:"item_info" xorm:"not null comment(''数据项说明'') VARCHAR(50)" example:"我是数据项说明"`
`json:"check_name" xorm:"not null default -1 comment(''是否检测名称【1:是,-1:否】'') INT(11)" example:"1"`
`json:"check_dic" xorm:"not null default -1 comment(''是否检测字典'') INT(11)" example:"1"`
`json:"check_type" xorm:"not null default -1 comment(''是否检测类型'') INT(11)" example:"1"`
`json:"check_pattern" xorm:"not null default -1 comment(''是否检测模式'') INT(11)" example:"1"`
`json:"check_exist" xorm:"not null default -1 comment(''是否检测必填'') INT(11)" example:"1"`
`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-1,1:删除,-1:正常】'') INT(11)" example:"1"`
`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认1,1:启用,-1:禁用】'') INT(11)" example:"1"`
`json:"page" example:"1"`' + description: '`json:"datasource_id" xorm:"default ''''NULL'''' comment(''数据源编码'') index VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"item_name" xorm:"not null comment(''数据项名称【英文】'') VARCHAR(50)" example:"org_name"`
`json:"dic_id" xorm:"default ''''NULL'''' comment(''数据字典ID'') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"`
`json:"item_type" xorm:"default ''''NULL'''' comment(''数据项类型【1:整数、2:浮点、3:字符、4:布尔、5:日期、6:时间、7:日期+时间】'') VARCHAR(50)" example:"string"`
`json:"item_length" xorm:"default NULL comment(''数据最大长度【UTF-8 字符长度】'') INT(11)" example:"36"`
`json:"item_pattern" xorm:"default ''NULL'' comment(''数据项模式'') VARCHAR(255)" example:""`
`json:"item_info" xorm:"not null comment(''数据项说明'') VARCHAR(50)" example:"我是数据项说明"`
`json:"check_name" xorm:"not null default -1 comment(''是否检测名称【1:是,-1:否】'') INT(11)" example:"1"`
`json:"check_dic" xorm:"not null default -1 comment(''是否检测字典'') INT(11)" example:"1"`
`json:"check_type" xorm:"not null default -1 comment(''是否检测类型'') INT(11)" example:"1"`
`json:"check_pattern" xorm:"not null default -1 comment(''是否检测模式'') INT(11)" example:"1"`
`json:"check_exist" xorm:"not null default -1 comment(''是否检测必填'') INT(11)" example:"1"`
`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-1,1:删除,-1:正常】'') INT(11)" example:"1"`
`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认1,1:启用,-1:禁用】'') INT(11)" example:"1"`
`json:"page" example:"1"`' operationId: readMetadata parameters: - description: 元数据 @@ -1540,7 +1551,7 @@ paths: post: consumes: - application/json - description: '`json:"datasource_id" xorm:"default ''''NULL'''' comment(''数据源ID'') index VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"item_name" xorm:"not null comment(''数据项名称【英文】'') VARCHAR(50)" example:"org_name"`
`json:"dic_id" xorm:"default ''''NULL'''' comment(''数据字典ID'') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"`
`json:"item_type" xorm:"default ''''NULL'''' comment(''数据项类型【1:整数、2:浮点、3:字符、4:布尔、5:日期、6:时间、7:日期+时间】'') VARCHAR(50)" example:"string"`
`json:"item_length" xorm:"default NULL comment(''数据最大长度【UTF-8 字符长度】'') INT(11)" example:"36"`
`json:"item_pattern" xorm:"default ''NULL'' comment(''数据项模式'') VARCHAR(255)" example:""`
`json:"item_info" xorm:"not null comment(''数据项说明'') VARCHAR(50)" example:"我是数据项说明"`
`json:"check_name" xorm:"not null default -1 comment(''是否检测名称【1:是,-1:否】'') INT(11)" example:"1"`
`json:"check_dic" xorm:"not null default -1 comment(''是否检测字典'') INT(11)" example:"1"`
`json:"check_type" xorm:"not null default -1 comment(''是否检测类型'') INT(11)" example:"1"`
`json:"check_pattern" xorm:"not null default -1 comment(''是否检测模式'') INT(11)" example:"1"`
`json:"check_exist" xorm:"not null default -1 comment(''是否检测必填'') INT(11)" example:"1"`
`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-1,1:删除,-1:正常】'') INT(11)" example:"1"`
`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认1,1:启用,-1:禁用】'') INT(11)" example:"1"`' + description: '`json:"datasource_id" xorm:"default ''''NULL'''' comment(''数据源编码'') index VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"item_name" xorm:"not null comment(''数据项名称【英文】'') VARCHAR(50)" example:"org_name"`
`json:"dic_id" xorm:"default ''''NULL'''' comment(''数据字典ID'') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"`
`json:"item_type" xorm:"default ''''NULL'''' comment(''数据项类型【1:整数、2:浮点、3:字符、4:布尔、5:日期、6:时间、7:日期+时间】'') VARCHAR(50)" example:"string"`
`json:"item_length" xorm:"default NULL comment(''数据最大长度【UTF-8 字符长度】'') INT(11)" example:"36"`
`json:"item_pattern" xorm:"default ''NULL'' comment(''数据项模式'') VARCHAR(255)" example:""`
`json:"item_info" xorm:"not null comment(''数据项说明'') VARCHAR(50)" example:"我是数据项说明"`
`json:"check_name" xorm:"not null default -1 comment(''是否检测名称【1:是,-1:否】'') INT(11)" example:"1"`
`json:"check_dic" xorm:"not null default -1 comment(''是否检测字典'') INT(11)" example:"1"`
`json:"check_type" xorm:"not null default -1 comment(''是否检测类型'') INT(11)" example:"1"`
`json:"check_pattern" xorm:"not null default -1 comment(''是否检测模式'') INT(11)" example:"1"`
`json:"check_exist" xorm:"not null default -1 comment(''是否检测必填'') INT(11)" example:"1"`
`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-1,1:删除,-1:正常】'') INT(11)" example:"1"`
`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认1,1:启用,-1:禁用】'') INT(11)" example:"1"`' operationId: updateMetadata parameters: - description: 元数据ID