增加描述

This commit is contained in:
金海洋 2024-01-16 16:05:35 +08:00
parent 086dcf42c6
commit 45392def4b
2 changed files with 7 additions and 8 deletions

View File

@ -4,13 +4,11 @@ Accept: application/json
Content-Type: application/json Content-Type: application/json
{ {
"name": "急急急", "name": "项目部通讯录列表",
"attrs": [{"label": "用户名", "attr": "name"}], "attrs": [{"label": "用户名", "attr": "name"}, {"label": "用户Id", "attr": "id"}, {"label": "手机号", "attr": "phone"}],
"resourceScope": [{"attr": "dataPermission", "operation": "in", "value": ["ALL"]}], "resourceScope": [{"attr": "dataPermission", "operation": "in", "value": ["WORKSPACE_SUPERIOR"]}],
"resourceCode": "testCode7", "resourceCode": "workspaceContact",
"module": "PROJECT", "module": "PROJECT"
"ext": {"c": "测试"},
"parentId": 1
} }
> reponse-check.js > reponse-check.js
@ -22,7 +20,7 @@ Content-Type: application/json
{ {
"page": 1, "page": 1,
"name": "a" "name": "项目部通讯录列表"
} }
> reponse-check.js > reponse-check.js

View File

@ -14,4 +14,5 @@ import lombok.experimental.SuperBuilder;
@AllArgsConstructor @AllArgsConstructor
@NoArgsConstructor @NoArgsConstructor
public class PageDataResourceResp extends DataResourceResp { public class PageDataResourceResp extends DataResourceResp {
private String description;
} }