From 45392def4b4b85b60b00cf8556fa4e29fcbc2ae6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=87=91=E6=B5=B7=E6=B4=8B?= Date: Tue, 16 Jan 2024 16:05:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/test/resources/data-resource.http | 14 ++++++-------- .../dataresource/resp/PageDataResourceResp.java | 1 + 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/integration-test/src/test/resources/data-resource.http b/integration-test/src/test/resources/data-resource.http index 04ff4322..20985e95 100644 --- a/integration-test/src/test/resources/data-resource.http +++ b/integration-test/src/test/resources/data-resource.http @@ -4,13 +4,11 @@ Accept: application/json Content-Type: application/json { - "name": "急急急", - "attrs": [{"label": "用户名", "attr": "name"}], - "resourceScope": [{"attr": "dataPermission", "operation": "in", "value": ["ALL"]}], - "resourceCode": "testCode7", - "module": "PROJECT", - "ext": {"c": "测试"}, - "parentId": 1 + "name": "项目部通讯录列表", + "attrs": [{"label": "用户名", "attr": "name"}, {"label": "用户Id", "attr": "id"}, {"label": "手机号", "attr": "phone"}], + "resourceScope": [{"attr": "dataPermission", "operation": "in", "value": ["WORKSPACE_SUPERIOR"]}], + "resourceCode": "workspaceContact", + "module": "PROJECT" } > reponse-check.js @@ -22,7 +20,7 @@ Content-Type: application/json { "page": 1, - "name": "a" + "name": "项目部通讯录列表" } > reponse-check.js diff --git a/tyr-api/src/main/java/cn/axzo/tyr/client/model/dataresource/resp/PageDataResourceResp.java b/tyr-api/src/main/java/cn/axzo/tyr/client/model/dataresource/resp/PageDataResourceResp.java index f74b7514..1c911307 100644 --- a/tyr-api/src/main/java/cn/axzo/tyr/client/model/dataresource/resp/PageDataResourceResp.java +++ b/tyr-api/src/main/java/cn/axzo/tyr/client/model/dataresource/resp/PageDataResourceResp.java @@ -14,4 +14,5 @@ import lombok.experimental.SuperBuilder; @AllArgsConstructor @NoArgsConstructor public class PageDataResourceResp extends DataResourceResp { + private String description; }