summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author陈劲松 <[email protected]>2019-08-09 11:04:27 +0800
committer陈劲松 <[email protected]>2019-08-09 11:04:27 +0800
commit18aac78f70fad07f532748cf7e7a47a65ebcf469 (patch)
tree554e593551b20c0eb93b00f902ed0732d5d20e72
parentea81413544c3fa89dc9c5d930fccc01889fdf475 (diff)
增加元数据字典名称重复校验
-rw-r--r--nezha接口文档.md38
1 files changed, 36 insertions, 2 deletions
diff --git a/nezha接口文档.md b/nezha接口文档.md
index 0b301b2..bbebf75 100644
--- a/nezha接口文档.md
+++ b/nezha接口文档.md
@@ -3260,8 +3260,42 @@ msg |string |R |&nbsp;
```
{
- "code": 200/xxx,
- "msg": "true/false"
+ "code": 200,
+ "msg": "success"
+}
+```
+
+##### 2.3.1.11 元数据字典type校验
+
+- **接口说明:** 元数据字典type校验,不能重复,新增字典时使用
+- **接口地址:** /deteType/dicNameCheck
+- **请求方式:** GET
+
+###### 请求参数
+
+参数名称 |类型 |出现要求 |描述
+:---- |:--- |:------ |:---
+type |String |R |名称
+
+示例:
+
+```
+GET /deteType/dicNameCheck?name=testtp
+```
+
+###### 返回结果
+
+参数名称 |类型 |出现要求 |描述
+:---- |:--- |:------ |:---
+code |int |R |响应码,详见 附录A
+msg |string |R |&nbsp;
+
+示例:
+
+```
+{
+ "code": 200,
+ "msg": "success"
}
```