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