|
|
|
@ -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
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|