|
@@ -0,0 +1,60 @@
|
|
|
+### 新增人员
|
|
|
+POST {{api_url}}/person/add
|
|
|
+Content-Type: application/json
|
|
|
+
|
|
|
+{
|
|
|
+ "name": "李四",
|
|
|
+ "callName": "四哥",
|
|
|
+ "gender": 1,
|
|
|
+ "mateId": 77,
|
|
|
+ "birthday": "1990-01-01",
|
|
|
+ "phone": "13800000000",
|
|
|
+ "address": "北京市朝阳区",
|
|
|
+ "remark": "李四嫂"
|
|
|
+}
|
|
|
+
|
|
|
+### 查询人员详情
|
|
|
+GET {{api_url}}/person/detail/75
|
|
|
+
|
|
|
+### 修改人员
|
|
|
+POST http://localhost:8080/person/update
|
|
|
+Content-Type: application/json
|
|
|
+
|
|
|
+{
|
|
|
+ "id": 79,
|
|
|
+ "name": "李四",
|
|
|
+ "callName": "四哥",
|
|
|
+ "gender": 1,
|
|
|
+ "mateId": 77,
|
|
|
+ "birthday": "1990-01-01",
|
|
|
+ "phone": "13800000000",
|
|
|
+ "address": "北京市朝阳区",
|
|
|
+ "remark": "李四"
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+### 删除人员
|
|
|
+POST {{api_url}}/person/delete?id=77&ids=
|
|
|
+
|
|
|
+### 分页查询
|
|
|
+GET {{api_url}}/person/listPage
|
|
|
+Content-Type: application/json
|
|
|
+
|
|
|
+{
|
|
|
+ "page": {
|
|
|
+ "pageNo": 1,
|
|
|
+ "pageSize": 10
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+### 下拉查询
|
|
|
+GET {{api_url}}/person/listOption
|
|
|
+Content-Type: application/json
|
|
|
+
|
|
|
+{
|
|
|
+ "page": {
|
|
|
+ "pageNo": 1,
|
|
|
+ "pageSize": 10
|
|
|
+ }
|
|
|
+}
|