From b0b3274a53113a3ccd501f35356ecf60afbce2d5 Mon Sep 17 00:00:00 2001 From: zhaoweijie Date: Mon, 28 Aug 2023 18:16:09 +0800 Subject: [PATCH] feat: change seach arg --- backend/yjs/ShanxiRegistry.yjs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/yjs/ShanxiRegistry.yjs b/backend/yjs/ShanxiRegistry.yjs index 0dcb0c5..9c3c5f4 100644 --- a/backend/yjs/ShanxiRegistry.yjs +++ b/backend/yjs/ShanxiRegistry.yjs @@ -68,15 +68,15 @@ module ShanxiRegistry{ return executeContract("ShanxiRegistry","getRelationInfo",arg).result; } @ArgSchema({ - "!params" : [{ - "!type" : "string", "!keyword" : "integer" + "!searchCondition" : [{ + "!type" : "string", "!value" : "integer" }], "count" : "integer", "offset" : "integer" }) export function search(arg) { arg = convertArgToJson(arg); var req = {"id":"","attributes":{},"body":""}; - for (var i=0;i