This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
k18-ntcs-web-ntc/src/main/resources/sql/app_layer_header_cfg.sql
2018-08-20 21:01:58 +08:00

61 lines
3.6 KiB
SQL
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
Navicat MariaDB Data Transfer
Source Server : 10.0.6.249
Source Server Version : 100214
Source Host : 10.0.6.249:3306
Source Database : gwall
Target Server Type : MariaDB
Target Server Version : 100214
File Encoding : 65001
Date: 2018-08-20 20:40:02
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for app_layer_header_cfg
-- ----------------------------
DROP TABLE IF EXISTS `app_layer_header_cfg`;
CREATE TABLE `app_layer_header_cfg` (
`cfg_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`district` varchar(128) NOT NULL,
`cfg_keywords` varchar(1024) NOT NULL,
`app_code` int(11) NOT NULL,
`behav_code` int(11) DEFAULT NULL,
`spec_service_id` varchar(255) NOT NULL COMMENT 'specific_service_cfg .spec_service_id',
`cfg_desc` varchar(128) DEFAULT '',
`action` int(11) NOT NULL COMMENT '1:阻æ­ï¼ˆreject)2ï¼šçæµï¼ˆmonit)5:管控白名单(Control whitelist)6ï¼šçæµç™½åå•ï¼ˆmonit whitelist)7ï¼šç®¡æŽ§çæµéƒ½ç™½åå•ï¼ˆglobal whitelist)',
`is_valid` int(11) NOT NULL COMMENT '0无效,1有效,-1删除\r\n1) 未审核时配置可删除\r\n2) 审核通过,此字段置1\r\n3) åæ¶ˆå®¡æ ¸é€šè¿‡ï¼Œæ­¤å­—段置0',
`is_audit` int(11) NOT NULL COMMENT '0未审核,1审核通过,2审核未通过,3åæ¶ˆå®¡æ ¸é€šè¿‡\r\n1) 审核未通过,配置可修改\r\n2) 审核通过,配置不可删除,只能取消审核通过',
`creator_id` int(11) NOT NULL COMMENT 'sys_user.id',
`create_time` datetime NOT NULL,
`editor_id` int(11) DEFAULT NULL COMMENT '来自sys_user.id',
`edit_time` datetime DEFAULT NULL,
`auditor_id` int(11) DEFAULT NULL COMMENT '来自sys_user.id',
`audit_time` datetime DEFAULT NULL,
`service_id` int(11) NOT NULL COMMENT '业务id',
`request_id` int(11) NOT NULL COMMENT '来自request_info.id',
`compile_id` int(11) NOT NULL,
`is_area_effective` int(11) NOT NULL DEFAULT 0,
`classify` varchar(128) DEFAULT '',
`attribute` varchar(128) DEFAULT '',
`lable` varchar(128) DEFAULT '',
`area_effective_ids` varchar(1024) DEFAULT '',
`function_id` int(11) NOT NULL,
`ratelimit` int(11) DEFAULT 0 COMMENT '限速比例',
`cfg_type` varchar(64) NOT NULL DEFAULT '',
`cfg_region_code` int(11) NOT NULL,
`expr_type` int(11) NOT NULL DEFAULT 0 COMMENT '0无表达式1与表达式',
`match_method` int(11) NOT NULL DEFAULT 3 COMMENT 'expr_type:0时有意义其它情况必须置0。0子串匹配1右匹配2左匹配3完全匹配',
`is_hexbin` int(11) NOT NULL DEFAULT 0 COMMENT '默认为0:大小写不敏感且非HEX;1:HEX格式二进制;2:大小写敏感且非HEX',
`user_region1` varchar(1024) DEFAULT '' COMMENT '预留自定义域1',
`user_region2` varchar(1024) DEFAULT '' COMMENT '预留自定义域2',
`user_region3` varchar(1024) DEFAULT '' COMMENT '预留自定义域3',
`user_region4` varchar(1024) DEFAULT '' COMMENT '预留自定义域4',
`user_region5` varchar(1024) DEFAULT '' COMMENT '预留自定义域5',
PRIMARY KEY (`cfg_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;