diff --git a/src/shared/protocols/serviceProto.ts b/src/shared/protocols/serviceProto.ts index f243586..3bca1c3 100644 --- a/src/shared/protocols/serviceProto.ts +++ b/src/shared/protocols/serviceProto.ts @@ -20265,7 +20265,21 @@ export const serviceProto: ServiceProto = { "id": 2, "name": "t", "type": { - "type": "Number" + "type": "Union", + "members": [ + { + "id": 0, + "type": { + "type": "Number" + } + }, + { + "id": 1, + "type": { + "type": "String" + } + } + ] } }, { diff --git a/src/shared/protocols/shop/PtlOpen.ts b/src/shared/protocols/shop/PtlOpen.ts index 8ba4fc5..19341f9 100644 --- a/src/shared/protocols/shop/PtlOpen.ts +++ b/src/shared/protocols/shop/PtlOpen.ts @@ -1,5 +1,3 @@ - - /** * 商店open接口 */ @@ -32,7 +30,7 @@ export type shopItem = { /** 掉落类型 */ 'a': string; /** 掉落id */ - 't': number; + 't': number | string; /** 掉落数量 */ 'n': number; /** 权重 */