增加协议模板以及参数中的长度
This commit is contained in:
parent
79b7de8364
commit
942a3718bc
|
@ -370,7 +370,7 @@ create table project_protocoltemplate
|
|||
id int(8) not null AUTO_INCREMENT,
|
||||
projectid int(8) not null COMMENT '项目ID',
|
||||
name VARCHAR(50) not null COMMENT '模板名称',
|
||||
headmsg VARCHAR(1500) COMMENT '消息头',
|
||||
headmsg VARCHAR(3000) COMMENT '消息头',
|
||||
protocoltype VARCHAR(20) not null COMMENT '协议类型',
|
||||
cerpath VARCHAR(300) COMMENT '客户端中的证书路径',
|
||||
contentencoding VARCHAR(20) not null COMMENT '编码格式',
|
||||
|
@ -386,7 +386,7 @@ create table project_templateparams
|
|||
id int(9) not null AUTO_INCREMENT,
|
||||
templateid int(8) not null COMMENT '模块ID',
|
||||
paramname VARCHAR(50) not null COMMENT '参数名',
|
||||
param VARCHAR(2000) COMMENT '参数默认值',
|
||||
param VARCHAR(5000) COMMENT '参数默认值',
|
||||
paramtype int(4) not null COMMENT '0 String 1 JSON对象 2 JSONARR对象 3 文件类型',
|
||||
primary key (ID)
|
||||
)default character set utf8;
|
||||
|
|
|
@ -38,3 +38,7 @@ update project_casestepsparams set description='调用指定接口|Web UI用例'
|
|||
ALTER TABLE test_jobs ADD COLUMN sendcondition int(4) NULL DEFAULT 0 COMMENT '发送邮件通知时的具体逻辑, 0-全部,1-成功,2-失败';
|
||||
/* 控制用例步骤失败后是否继续*/
|
||||
ALTER TABLE project_case ADD COLUMN failcontinue int(2) NULL DEFAULT 0 COMMENT '失败了是否继续,0:不继续,1:继续';
|
||||
/*增加协议模板中头域字段的长度*/
|
||||
alter table project_protocoltemplate modify column headmsg varchar(3000);
|
||||
/*增加模板参数中参数字段的长度*/
|
||||
alter table project_templateparams modify column param varchar(5000);
|
|
@ -15,7 +15,7 @@
|
|||
<column name="name" length="50" not-null="true" />
|
||||
</property>
|
||||
<property name="headmsg" type="java.lang.String">
|
||||
<column name="headmsg" length="1500" not-null="false" />
|
||||
<column name="headmsg" length="3000" not-null="false" />
|
||||
</property>
|
||||
<property name="protocoltype" type="java.lang.String">
|
||||
<column name="protocoltype" length="20" not-null="true" />
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<column name="paramname" length="50" not-null="true" />
|
||||
</property>
|
||||
<property name="param" type="java.lang.String">
|
||||
<column name="param" length="2000" not-null="false" />
|
||||
<column name="param" length="5000" not-null="false" />
|
||||
</property>
|
||||
<property name="paramtype" type="java.lang.Integer">
|
||||
<column name="paramtype" length="4" not-null="true" />
|
||||
|
|
|
@ -390,8 +390,8 @@ td{
|
|||
validators : {
|
||||
stringLength : {
|
||||
min : 0,
|
||||
max : 1500,
|
||||
message : '请求头域长度必须小于1500个字符'
|
||||
max : 3000,
|
||||
message : '请求头域长度必须小于3000个字符'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -264,8 +264,8 @@
|
|||
validators : {
|
||||
stringLength : {
|
||||
min : 0,
|
||||
max : 2000,
|
||||
message : '【参数默认值】长度必须在0~2000个字符区间'
|
||||
max : 5000,
|
||||
message : '【参数默认值】长度必须在0~5000个字符区间'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue