mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 12:56:28 +08:00
3.2.0
This commit is contained in:
@@ -46,8 +46,8 @@ public class ConfigServiceRoute {
|
||||
/** uri后面跟的path, 数据库字段:path */
|
||||
private String path;
|
||||
|
||||
/** 路由执行的顺序, 数据库字段:order */
|
||||
private Integer order;
|
||||
/** 路由执行的顺序, 数据库字段:order_index */
|
||||
private Integer orderIndex;
|
||||
|
||||
/** 是否忽略验证,业务参数验证除外, 数据库字段:ignore_validate */
|
||||
private Byte ignoreValidate;
|
||||
|
@@ -46,8 +46,8 @@ public class ConfigServiceRoute {
|
||||
/** uri后面跟的path, 数据库字段:path */
|
||||
private String path;
|
||||
|
||||
/** 路由执行的顺序, 数据库字段:order */
|
||||
private Integer order;
|
||||
/** 路由执行的顺序, 数据库字段:order_index */
|
||||
private Integer orderIndex;
|
||||
|
||||
/** 是否忽略验证,业务参数验证除外, 数据库字段:ignore_validate */
|
||||
private Byte ignoreValidate;
|
||||
|
@@ -59,7 +59,7 @@ public class DbRoutesProcessor implements RoutesProcessor {
|
||||
configServiceRoute.setMergeResult((byte) routeDefinition.getMergeResult());
|
||||
configServiceRoute.setStatus((byte) routeDefinition.getStatus());
|
||||
configServiceRoute.setPermission((byte) routeDefinition.getPermission());
|
||||
configServiceRoute.setOrder(routeDefinition.getOrder());
|
||||
configServiceRoute.setOrderIndex(routeDefinition.getOrder());
|
||||
configServiceRoute.setNeedToken((byte)routeDefinition.getNeedToken());
|
||||
configServiceRoute.setServiceId(serviceId);
|
||||
return configServiceRoute;
|
||||
|
@@ -222,7 +222,7 @@ CREATE TABLE `config_service_route` (
|
||||
`filters` VARCHAR(256) DEFAULT NULL COMMENT '路由过滤器(SpringCloudGateway专用)',
|
||||
`uri` VARCHAR(128) NOT NULL DEFAULT '' COMMENT '路由规则转发的目标uri',
|
||||
`path` VARCHAR(128) NOT NULL DEFAULT '' COMMENT 'uri后面跟的path',
|
||||
`order` INT(11) NOT NULL DEFAULT '0' COMMENT '路由执行的顺序',
|
||||
`order_index` INT(11) NOT NULL DEFAULT '0' COMMENT '路由执行的顺序',
|
||||
`ignore_validate` TINYINT(4) NOT NULL DEFAULT '0' COMMENT '是否忽略验证,业务参数验证除外',
|
||||
`status` TINYINT(4) NOT NULL DEFAULT '1' COMMENT '状态,0:待审核,1:启用,2:禁用',
|
||||
`merge_result` TINYINT(4) NOT NULL DEFAULT '0' COMMENT '是否合并结果',
|
||||
|
2
sop.sql
2
sop.sql
@@ -224,7 +224,7 @@ CREATE TABLE `config_service_route` (
|
||||
`filters` varchar(256) DEFAULT NULL COMMENT '路由过滤器(SpringCloudGateway专用)',
|
||||
`uri` varchar(128) NOT NULL DEFAULT '' COMMENT '路由规则转发的目标uri',
|
||||
`path` varchar(128) NOT NULL DEFAULT '' COMMENT 'uri后面跟的path',
|
||||
`order` int(11) NOT NULL DEFAULT '0' COMMENT '路由执行的顺序',
|
||||
`order_index` int(11) NOT NULL DEFAULT '0' COMMENT '路由执行的顺序',
|
||||
`ignore_validate` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否忽略验证,业务参数验证除外',
|
||||
`status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '状态,0:待审核,1:启用,2:禁用',
|
||||
`merge_result` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否合并结果',
|
||||
|
Reference in New Issue
Block a user