From e3f33f82e22e2f0b55dd2cd25cb915fd9df8e6f6 Mon Sep 17 00:00:00 2001 From: xichaoyin Date: Thu, 11 Jan 2024 23:05:24 +0800 Subject: [PATCH] =?UTF-8?q?proto:=E5=8D=8F=E8=AE=AE=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/cross/protocols/serviceProto.ts | 16 +++++++++- src/shared/protocols/serviceProto.ts | 48 ++++++++++++++++++++++++++-- 2 files changed, 60 insertions(+), 4 deletions(-) diff --git a/src/cross/protocols/serviceProto.ts b/src/cross/protocols/serviceProto.ts index c3f6feb..482da50 100644 --- a/src/cross/protocols/serviceProto.ts +++ b/src/cross/protocols/serviceProto.ts @@ -1740,7 +1740,21 @@ export const serviceProto: ServiceProto = { "id": 8, "name": "skin", "type": { - "type": "String" + "type": "Union", + "members": [ + { + "id": 0, + "type": { + "type": "String" + } + }, + { + "id": 1, + "type": { + "type": "Number" + } + } + ] } } ] diff --git a/src/shared/protocols/serviceProto.ts b/src/shared/protocols/serviceProto.ts index c13637e..7aa8e68 100644 --- a/src/shared/protocols/serviceProto.ts +++ b/src/shared/protocols/serviceProto.ts @@ -6411,7 +6411,21 @@ export const serviceProto: ServiceProto = { "id": 8, "name": "skin", "type": { - "type": "String" + "type": "Union", + "members": [ + { + "id": 0, + "type": { + "type": "String" + } + }, + { + "id": 1, + "type": { + "type": "Number" + } + } + ] } } ] @@ -15885,7 +15899,21 @@ export const serviceProto: ServiceProto = { "id": 8, "name": "skin", "type": { - "type": "String" + "type": "Union", + "members": [ + { + "id": 0, + "type": { + "type": "String" + } + }, + { + "id": 1, + "type": { + "type": "Number" + } + } + ] } } ] @@ -25821,7 +25849,21 @@ export const serviceProto: ServiceProto = { "id": 8, "name": "skin", "type": { - "type": "String" + "type": "Union", + "members": [ + { + "id": 0, + "type": { + "type": "String" + } + }, + { + "id": 1, + "type": { + "type": "Number" + } + } + ] } } ]