[manager]调整API监控类型参数位置

This commit is contained in:
tomsun28
2022-02-12 16:45:15 +08:00
parent e8729f831d
commit b16307b14b
2 changed files with 12 additions and 11 deletions

View File

@@ -299,8 +299,6 @@ public class HttpCollectImpl extends AbstractCollect {
return null;
}
String contentType = null;
// params
Map<String, String> params = httpProtocol.getParams();
if (params != null && !params.isEmpty()) {

View File

@@ -16,6 +16,7 @@ param:
# 当type为number时,用range表示范围
range: '[0,65535]'
required: true
defaultValue: 80
- field: uri
name: 相对路径
type: text
@@ -37,10 +38,11 @@ param:
value: PUT
- label: DELETE请求
value: DELETE
- field: contentType
name: Content-Type
type: text
required: false
- field: ssl
name: 启用HTTPS
# 当type为boolean时,前端用switch展示开关
type: boolean
required: true
- field: username
name: 用户名
type: text
@@ -51,12 +53,13 @@ param:
name: 密码
type: password
required: false
- field: ssl
name: 启用HTTPS
# 当type为boolean时,前端用switch展示开关
type: boolean
required: true
- field: contentType
name: Content-Type
type: text
placeholder: '请求BODY资源类型'
required: false
- field: payload
name: 请求BODY
type: textarea
placeholder: 'POST PUT请求时有效'
required: false