master
wangshuai 5 years ago
parent 88cd3377c5
commit 5a4142a40b

@ -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('启用标志【默认11启用-1禁用】') INT(11)\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-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('启用标志【默认11启用-1禁用】') INT(11)\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-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('数据存储类型【1DB2ES3Kafka】') 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('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-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('数据存储类型【1DB2ES3Kafka】') 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('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-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('数据存储类型【1DB2ES3Kafka】') 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('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-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('数据存储类型【1DB2ES3Kafka】') 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('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-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('数据存储类型【1DB2ES3Kafka】') 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('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-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('数据存储类型【1DB2ES3Kafka】') 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('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-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('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-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('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-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('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-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('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-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('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-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('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"` + "`" + `\u003cbr/\u003e` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-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
}
}
}

@ -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('启用标志【默认11启用-1禁用】') INT(11)\"`\u003cbr/\u003e`json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-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('启用标志【默认11启用-1禁用】') INT(11)\"`\u003cbr/\u003e`json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-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('数据存储类型【1DB2ES3Kafka】') 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('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-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('数据存储类型【1DB2ES3Kafka】') 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('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-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('数据存储类型【1DB2ES3Kafka】') 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('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-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('数据存储类型【1DB2ES3Kafka】') 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('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-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('数据存储类型【1DB2ES3Kafka】') 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('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-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('数据存储类型【1DB2ES3Kafka】') 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('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-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('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-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('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-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('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-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('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-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('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-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('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"`\u003cbr/\u003e`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-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
}
}
}

@ -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)"`<br/>`json:"system_id" xorm:"not null comment(''数据提供系统ID【输入参数】'') VARCHAR(36)"`<br/>`json:"datasource_id" xorm:"not null comment(''数据源ID【输入参数】'') VARCHAR(36)"`<br/>`json:"org_id" xorm:"not null comment(''数据机构ID【输入参数】'') VARCHAR(36)"`<br/>`json:"data_id" xorm:"not null comment(''数据ID【输入参数】'') VARCHAR(36)"`<br/>`json:"data_content" xorm:"default ''NULL'' comment(''数据内容【Json格式输入参数】'') VARCHAR"`<br/>`json:"file_uri" xorm:"default ''NULL'' comment(''文件地址【文件交换】'') VARCHAR(500)"`<br/>`json:"error_info" xorm:"default ''NULL'' comment(''错误信息说明'') VARCHAR(5000)"`<br/>`json:"create_time" xorm:"default ''NULL'' created comment(''建立时间'') DATETIME"`<br/>`json:"change_time" xorm:"default ''NULL'' updated comment(''最近修改时间'') DATETIME"`<br/>`json:"delete_time" xorm:"default ''NULL'' deleted comment(''删除时间'') DATETIME"`<br/>`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认11启用-1禁用】'') INT(11)"`<br/>`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-11删除-1正常】'') INT(11)"`'
description: '`json:"id" xorm:"not null pk comment(''ID'') VARCHAR(36)"`<br/>`json:"system_id" xorm:"not null comment(''数据提供系统编码'') VARCHAR(36)"`<br/>`json:"datasource_id" xorm:"not null comment(''数据源编码'') VARCHAR(36)"`<br/>`json:"org_id" xorm:"not null comment(''数据机构ID【输入参数】'') VARCHAR(36)"`<br/>`json:"data_id" xorm:"not null comment(''数据ID【输入参数】'') VARCHAR(36)"`<br/>`json:"data_content" xorm:"default ''NULL'' comment(''数据内容【Json格式输入参数】'') VARCHAR"`<br/>`json:"file_uri" xorm:"default ''NULL'' comment(''文件地址【文件交换】'') VARCHAR(500)"`<br/>`json:"error_info" xorm:"default ''NULL'' comment(''错误信息说明'') VARCHAR(5000)"`<br/>`json:"create_time" xorm:"default ''NULL'' created comment(''建立时间'') DATETIME"`<br/>`json:"change_time" xorm:"default ''NULL'' updated comment(''最近修改时间'') DATETIME"`<br/>`json:"delete_time" xorm:"default ''NULL'' deleted comment(''删除时间'') DATETIME"`<br/>`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认11启用-1禁用】'') INT(11)"`<br/>`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-11删除-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"`<br/>`json:"datasource_name" xorm:"not null comment(''数据源名称'') VARCHAR(100)" example:"组织机构信息"`<br/>`json:"datasource_code" xorm:"not null comment(''数据源编码'') VARCHAR(8)" example:"org_tree"`<br/>`json:"datasource_detail" xorm:"default ''NULL'' comment(''数据源说明'') VARCHAR(500)" example:"教育主管单位、教辅单位、各级各类学校机构信息"`<br/>`json:"set_flag" xorm:"not null default 1 comment(''可修改【1-1否】'') INT(11)" example:"1"`<br/>`json:"collect_flag" xorm:"not null default 1 comment(''可汇集【1-1否】'') INT(11)" example:"1"`<br/>`json:"provide_type" xorm:"not null comment(''提供数据范围【1本机构2本机构以及下属机构-1不限制】'') INT(11)" example:"2"`<br/>`json:"provide_orgid" xorm:"not null comment(''提供数据机构ID【-1不限制】'') index VARCHAR(36)" example:"-1"`<br/>`json:"datastore_type" xorm:"not null comment(''数据存储类型【1DB2ES3Kafka】'') INT(11)" example:"2"`<br/>`json:"dic_id, omitempty" xorm:"default ''NULL'' comment(''数据字典ID'') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`<br/>`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-11删除-1正常】'') INT(11)" example:"1"`<br/>`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认11启用-1禁用】'') INT(11)" example:"1"`'
description: '`json:"system_id" xorm:"not null comment(''数据提供系统编码'') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`<br/>`json:"datasource_name" xorm:"not null comment(''数据源名称'') VARCHAR(100)" example:"组织机构信息"`<br/>`json:"datasource_code" xorm:"not null comment(''数据源编码'') VARCHAR(8)" example:"org_tree"`<br/>`json:"datasource_detail" xorm:"default ''NULL'' comment(''数据源说明'') VARCHAR(500)" example:"教育主管单位、教辅单位、各级各类学校机构信息"`<br/>`json:"set_flag" xorm:"not null default 1 comment(''可修改【1-1否】'') INT(11)" example:"1"`<br/>`json:"collect_flag" xorm:"not null default 1 comment(''可汇集【1-1否】'') INT(11)" example:"1"`<br/>`json:"provide_type" xorm:"not null comment(''提供数据范围【1本机构2本机构以及下属机构-1不限制】'') INT(11)" example:"2"`<br/>`json:"provide_orgid" xorm:"not null comment(''提供数据机构ID【-1不限制】'') index VARCHAR(36)" example:"-1"`<br/>`json:"datastore_type" xorm:"not null comment(''数据存储类型【1DB2ES3Kafka】'') INT(11)" example:"2"`<br/>`json:"dic_id, omitempty" xorm:"default ''NULL'' comment(''数据字典ID'') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`<br/>`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-11删除-1正常】'') INT(11)" example:"1"`<br/>`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认11启用-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"`<br/>`json:"datasource_name" xorm:"not null comment(''数据源名称'') VARCHAR(100)" example:"组织机构信息"`<br/>`json:"datasource_code" xorm:"not null comment(''数据源编码'') VARCHAR(8)" example:"org_tree"`<br/>`json:"datasource_detail" xorm:"default ''NULL'' comment(''数据源说明'') VARCHAR(500)" example:"教育主管单位、教辅单位、各级各类学校机构信息"`<br/>`json:"set_flag" xorm:"not null default 1 comment(''可修改【1-1否】'') INT(11)" example:"1"`<br/>`json:"collect_flag" xorm:"not null default 1 comment(''可汇集【1-1否】'') INT(11)" example:"1"`<br/>`json:"provide_type" xorm:"not null comment(''提供数据范围【1本机构2本机构以及下属机构-1不限制】'') INT(11)" example:"2"`<br/>`json:"provide_orgid" xorm:"not null comment(''提供数据机构ID【-1不限制】'') index VARCHAR(36)" example:"-1"`<br/>`json:"datastore_type" xorm:"not null comment(''数据存储类型【1DB2ES3Kafka】'') INT(11)" example:"2"`<br/>`json:"dic_id, omitempty" xorm:"default ''NULL'' comment(''数据字典ID'') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`<br/>`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-11删除-1正常】'') INT(11)" example:"1"`<br/>`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认11启用-1禁用】'') INT(11)" example:"1"`<br/>`json:"page" example:"1"`'
description: '`json:"system_id" xorm:"not null comment(''数据提供系统编码'') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`<br/>`json:"datasource_name" xorm:"not null comment(''数据源名称'') VARCHAR(100)" example:"组织机构信息"`<br/>`json:"datasource_code" xorm:"not null comment(''数据源编码'') VARCHAR(8)" example:"org_tree"`<br/>`json:"datasource_detail" xorm:"default ''NULL'' comment(''数据源说明'') VARCHAR(500)" example:"教育主管单位、教辅单位、各级各类学校机构信息"`<br/>`json:"set_flag" xorm:"not null default 1 comment(''可修改【1-1否】'') INT(11)" example:"1"`<br/>`json:"collect_flag" xorm:"not null default 1 comment(''可汇集【1-1否】'') INT(11)" example:"1"`<br/>`json:"provide_type" xorm:"not null comment(''提供数据范围【1本机构2本机构以及下属机构-1不限制】'') INT(11)" example:"2"`<br/>`json:"provide_orgid" xorm:"not null comment(''提供数据机构ID【-1不限制】'') index VARCHAR(36)" example:"-1"`<br/>`json:"datastore_type" xorm:"not null comment(''数据存储类型【1DB2ES3Kafka】'') INT(11)" example:"2"`<br/>`json:"dic_id, omitempty" xorm:"default ''NULL'' comment(''数据字典ID'') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`<br/>`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-11删除-1正常】'') INT(11)" example:"1"`<br/>`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认11启用-1禁用】'') INT(11)" example:"1"`<br/>`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"`<br/>`json:"datasource_name" xorm:"not null comment(''数据源名称'') VARCHAR(100)" example:"组织机构信息"`<br/>`json:"datasource_code" xorm:"not null comment(''数据源编码'') VARCHAR(8)" example:"org_tree"`<br/>`json:"datasource_detail" xorm:"default ''NULL'' comment(''数据源说明'') VARCHAR(500)" example:"教育主管单位、教辅单位、各级各类学校机构信息"`<br/>`json:"set_flag" xorm:"not null default 1 comment(''可修改【1-1否】'') INT(11)" example:"1"`<br/>`json:"collect_flag" xorm:"not null default 1 comment(''可汇集【1-1否】'') INT(11)" example:"1"`<br/>`json:"provide_type" xorm:"not null comment(''提供数据范围【1本机构2本机构以及下属机构-1不限制】'') INT(11)" example:"2"`<br/>`json:"provide_orgid" xorm:"not null comment(''提供数据机构ID【-1不限制】'') index VARCHAR(36)" example:"-1"`<br/>`json:"datastore_type" xorm:"not null comment(''数据存储类型【1DB2ES3Kafka】'') INT(11)" example:"2"`<br/>`json:"dic_id, omitempty" xorm:"default ''NULL'' comment(''数据字典ID'') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`<br/>`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-11删除-1正常】'') INT(11)" example:"1"`<br/>`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认11启用-1禁用】'') INT(11)" example:"1"`'
description: '`json:"system_id" xorm:"not null comment(''数据提供系统编码'') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`<br/>`json:"datasource_name" xorm:"not null comment(''数据源名称'') VARCHAR(100)" example:"组织机构信息"`<br/>`json:"datasource_code" xorm:"not null comment(''数据源编码'') VARCHAR(8)" example:"org_tree"`<br/>`json:"datasource_detail" xorm:"default ''NULL'' comment(''数据源说明'') VARCHAR(500)" example:"教育主管单位、教辅单位、各级各类学校机构信息"`<br/>`json:"set_flag" xorm:"not null default 1 comment(''可修改【1-1否】'') INT(11)" example:"1"`<br/>`json:"collect_flag" xorm:"not null default 1 comment(''可汇集【1-1否】'') INT(11)" example:"1"`<br/>`json:"provide_type" xorm:"not null comment(''提供数据范围【1本机构2本机构以及下属机构-1不限制】'') INT(11)" example:"2"`<br/>`json:"provide_orgid" xorm:"not null comment(''提供数据机构ID【-1不限制】'') index VARCHAR(36)" example:"-1"`<br/>`json:"datastore_type" xorm:"not null comment(''数据存储类型【1DB2ES3Kafka】'') INT(11)" example:"2"`<br/>`json:"dic_id, omitempty" xorm:"default ''NULL'' comment(''数据字典ID'') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`<br/>`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-11删除-1正常】'') INT(11)" example:"1"`<br/>`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认11启用-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"`<br/>`json:"item_name" xorm:"not null comment(''数据项名称【英文】'') VARCHAR(50)" example:"org_name"`<br/>`json:"dic_id" xorm:"default ''''NULL'''' comment(''数据字典ID'') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"`<br/>`json:"item_type" xorm:"default ''''NULL'''' comment(''数据项类型【1整数、2浮点、3字符、4布尔、5日期、6时间、7日期+时间】'') VARCHAR(50)" example:"string"`<br/>`json:"item_length" xorm:"default NULL comment(''数据最大长度【UTF-8 字符长度】'') INT(11)" example:"36"`<br/>`json:"item_pattern" xorm:"default ''NULL'' comment(''数据项模式'') VARCHAR(255)" example:""`<br/>`json:"item_info" xorm:"not null comment(''数据项说明'') VARCHAR(50)" example:"我是数据项说明"`<br/>`json:"check_name" xorm:"not null default -1 comment(''是否检测名称【1-1否】'') INT(11)" example:"1"`<br/>`json:"check_dic" xorm:"not null default -1 comment(''是否检测字典'') INT(11)" example:"1"`<br/>`json:"check_type" xorm:"not null default -1 comment(''是否检测类型'') INT(11)" example:"1"`<br/>`json:"check_pattern" xorm:"not null default -1 comment(''是否检测模式'') INT(11)" example:"1"`<br/>`json:"check_exist" xorm:"not null default -1 comment(''是否检测必填'') INT(11)" example:"1"`<br/>`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-11删除-1正常】'') INT(11)" example:"1"`<br/>`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认11启用-1禁用】'') INT(11)" example:"1"`'
description: '`json:"datasource_id" xorm:"default ''''NULL'''' comment(''数据源编码'') index VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`<br/>`json:"item_name" xorm:"not null comment(''数据项名称【英文】'') VARCHAR(50)" example:"org_name"`<br/>`json:"dic_id" xorm:"default ''''NULL'''' comment(''数据字典ID'') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"`<br/>`json:"item_type" xorm:"default ''''NULL'''' comment(''数据项类型【1整数、2浮点、3字符、4布尔、5日期、6时间、7日期+时间】'') VARCHAR(50)" example:"string"`<br/>`json:"item_length" xorm:"default NULL comment(''数据最大长度【UTF-8 字符长度】'') INT(11)" example:"36"`<br/>`json:"item_pattern" xorm:"default ''NULL'' comment(''数据项模式'') VARCHAR(255)" example:""`<br/>`json:"item_info" xorm:"not null comment(''数据项说明'') VARCHAR(50)" example:"我是数据项说明"`<br/>`json:"check_name" xorm:"not null default -1 comment(''是否检测名称【1-1否】'') INT(11)" example:"1"`<br/>`json:"check_dic" xorm:"not null default -1 comment(''是否检测字典'') INT(11)" example:"1"`<br/>`json:"check_type" xorm:"not null default -1 comment(''是否检测类型'') INT(11)" example:"1"`<br/>`json:"check_pattern" xorm:"not null default -1 comment(''是否检测模式'') INT(11)" example:"1"`<br/>`json:"check_exist" xorm:"not null default -1 comment(''是否检测必填'') INT(11)" example:"1"`<br/>`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-11删除-1正常】'') INT(11)" example:"1"`<br/>`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认11启用-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"`<br/>`json:"item_name" xorm:"not null comment(''数据项名称【英文】'') VARCHAR(50)" example:"org_name"`<br/>`json:"dic_id" xorm:"default ''''NULL'''' comment(''数据字典ID'') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"`<br/>`json:"item_type" xorm:"default ''''NULL'''' comment(''数据项类型【1整数、2浮点、3字符、4布尔、5日期、6时间、7日期+时间】'') VARCHAR(50)" example:"string"`<br/>`json:"item_length" xorm:"default NULL comment(''数据最大长度【UTF-8 字符长度】'') INT(11)" example:"36"`<br/>`json:"item_pattern" xorm:"default ''NULL'' comment(''数据项模式'') VARCHAR(255)" example:""`<br/>`json:"item_info" xorm:"not null comment(''数据项说明'') VARCHAR(50)" example:"我是数据项说明"`<br/>`json:"check_name" xorm:"not null default -1 comment(''是否检测名称【1-1否】'') INT(11)" example:"1"`<br/>`json:"check_dic" xorm:"not null default -1 comment(''是否检测字典'') INT(11)" example:"1"`<br/>`json:"check_type" xorm:"not null default -1 comment(''是否检测类型'') INT(11)" example:"1"`<br/>`json:"check_pattern" xorm:"not null default -1 comment(''是否检测模式'') INT(11)" example:"1"`<br/>`json:"check_exist" xorm:"not null default -1 comment(''是否检测必填'') INT(11)" example:"1"`<br/>`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-11删除-1正常】'') INT(11)" example:"1"`<br/>`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认11启用-1禁用】'') INT(11)" example:"1"`<br/>`json:"page" example:"1"`'
description: '`json:"datasource_id" xorm:"default ''''NULL'''' comment(''数据源编码'') index VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`<br/>`json:"item_name" xorm:"not null comment(''数据项名称【英文】'') VARCHAR(50)" example:"org_name"`<br/>`json:"dic_id" xorm:"default ''''NULL'''' comment(''数据字典ID'') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"`<br/>`json:"item_type" xorm:"default ''''NULL'''' comment(''数据项类型【1整数、2浮点、3字符、4布尔、5日期、6时间、7日期+时间】'') VARCHAR(50)" example:"string"`<br/>`json:"item_length" xorm:"default NULL comment(''数据最大长度【UTF-8 字符长度】'') INT(11)" example:"36"`<br/>`json:"item_pattern" xorm:"default ''NULL'' comment(''数据项模式'') VARCHAR(255)" example:""`<br/>`json:"item_info" xorm:"not null comment(''数据项说明'') VARCHAR(50)" example:"我是数据项说明"`<br/>`json:"check_name" xorm:"not null default -1 comment(''是否检测名称【1-1否】'') INT(11)" example:"1"`<br/>`json:"check_dic" xorm:"not null default -1 comment(''是否检测字典'') INT(11)" example:"1"`<br/>`json:"check_type" xorm:"not null default -1 comment(''是否检测类型'') INT(11)" example:"1"`<br/>`json:"check_pattern" xorm:"not null default -1 comment(''是否检测模式'') INT(11)" example:"1"`<br/>`json:"check_exist" xorm:"not null default -1 comment(''是否检测必填'') INT(11)" example:"1"`<br/>`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-11删除-1正常】'') INT(11)" example:"1"`<br/>`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认11启用-1禁用】'') INT(11)" example:"1"`<br/>`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"`<br/>`json:"item_name" xorm:"not null comment(''数据项名称【英文】'') VARCHAR(50)" example:"org_name"`<br/>`json:"dic_id" xorm:"default ''''NULL'''' comment(''数据字典ID'') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"`<br/>`json:"item_type" xorm:"default ''''NULL'''' comment(''数据项类型【1整数、2浮点、3字符、4布尔、5日期、6时间、7日期+时间】'') VARCHAR(50)" example:"string"`<br/>`json:"item_length" xorm:"default NULL comment(''数据最大长度【UTF-8 字符长度】'') INT(11)" example:"36"`<br/>`json:"item_pattern" xorm:"default ''NULL'' comment(''数据项模式'') VARCHAR(255)" example:""`<br/>`json:"item_info" xorm:"not null comment(''数据项说明'') VARCHAR(50)" example:"我是数据项说明"`<br/>`json:"check_name" xorm:"not null default -1 comment(''是否检测名称【1-1否】'') INT(11)" example:"1"`<br/>`json:"check_dic" xorm:"not null default -1 comment(''是否检测字典'') INT(11)" example:"1"`<br/>`json:"check_type" xorm:"not null default -1 comment(''是否检测类型'') INT(11)" example:"1"`<br/>`json:"check_pattern" xorm:"not null default -1 comment(''是否检测模式'') INT(11)" example:"1"`<br/>`json:"check_exist" xorm:"not null default -1 comment(''是否检测必填'') INT(11)" example:"1"`<br/>`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-11删除-1正常】'') INT(11)" example:"1"`<br/>`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认11启用-1禁用】'') INT(11)" example:"1"`'
description: '`json:"datasource_id" xorm:"default ''''NULL'''' comment(''数据源编码'') index VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`<br/>`json:"item_name" xorm:"not null comment(''数据项名称【英文】'') VARCHAR(50)" example:"org_name"`<br/>`json:"dic_id" xorm:"default ''''NULL'''' comment(''数据字典ID'') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"`<br/>`json:"item_type" xorm:"default ''''NULL'''' comment(''数据项类型【1整数、2浮点、3字符、4布尔、5日期、6时间、7日期+时间】'') VARCHAR(50)" example:"string"`<br/>`json:"item_length" xorm:"default NULL comment(''数据最大长度【UTF-8 字符长度】'') INT(11)" example:"36"`<br/>`json:"item_pattern" xorm:"default ''NULL'' comment(''数据项模式'') VARCHAR(255)" example:""`<br/>`json:"item_info" xorm:"not null comment(''数据项说明'') VARCHAR(50)" example:"我是数据项说明"`<br/>`json:"check_name" xorm:"not null default -1 comment(''是否检测名称【1-1否】'') INT(11)" example:"1"`<br/>`json:"check_dic" xorm:"not null default -1 comment(''是否检测字典'') INT(11)" example:"1"`<br/>`json:"check_type" xorm:"not null default -1 comment(''是否检测类型'') INT(11)" example:"1"`<br/>`json:"check_pattern" xorm:"not null default -1 comment(''是否检测模式'') INT(11)" example:"1"`<br/>`json:"check_exist" xorm:"not null default -1 comment(''是否检测必填'') INT(11)" example:"1"`<br/>`json:"delete_flag" xorm:"not null default -1 comment(''删除标志【默认-11删除-1正常】'') INT(11)" example:"1"`<br/>`json:"enable_flag" xorm:"not null default 1 comment(''启用标志【默认11启用-1禁用】'') INT(11)" example:"1"`'
operationId: updateMetadata
parameters:
- description: 元数据ID

Loading…
Cancel
Save