From c3fa18c9b1720ee937181b8dd1ffd6d358791fef Mon Sep 17 00:00:00 2001 From: dy Date: Wed, 27 Dec 2023 11:08:42 +0800 Subject: [PATCH 1/2] proto --- src/module/collection_event.ts | 2 +- src/shared/protocols/event/yuandan/PtlOpen.ts | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/module/collection_event.ts b/src/module/collection_event.ts index 5a42bd6..7908bf4 100644 --- a/src/module/collection_event.ts +++ b/src/module/collection_event.ts @@ -23,7 +23,7 @@ import {ResOpen as ResOpenKaifujingsai} from '../shared/protocols/kaifujingsai/P import {ResOpen as ResOpenZhoumolibao} from '../shared/protocols/event/zhoumolibao/PtlOpen'; import {ResOpen as ResOpenPobinglibao} from '../shared/protocols/event/pobinglibao/PtlOpen'; import {ResOpen as ResOpenLeiChongLiBao} from '../shared/protocols/event/leichonglibao/PtlOpen'; -import {ResOpen as ResOpenYuandan} from '../shared/protocols/event/yuandan/PtlOpen'; +import {event as ResOpenYuandan} from '../shared/protocols/event/yuandan/PtlOpen'; export type eventType = { shouchong: { diff --git a/src/shared/protocols/event/yuandan/PtlOpen.ts b/src/shared/protocols/event/yuandan/PtlOpen.ts index 15128e9..ce008bd 100644 --- a/src/shared/protocols/event/yuandan/PtlOpen.ts +++ b/src/shared/protocols/event/yuandan/PtlOpen.ts @@ -4,6 +4,12 @@ export type ReqOpen = {} export type ResOpen = { + data: any + payLog: any + [k: string]: any; +} + +export type event = { qiandao: { [k: string]: any }; gift: { [k: string]: any }; taskfinish: string[]; From d4bd776b489c813739eba6f875daa52f63359c68 Mon Sep 17 00:00:00 2001 From: dy Date: Wed, 27 Dec 2023 11:09:00 +0800 Subject: [PATCH 2/2] proto --- src/shared/protocols/serviceProto.ts | 77 ++-------------------------- 1 file changed, 4 insertions(+), 73 deletions(-) diff --git a/src/shared/protocols/serviceProto.ts b/src/shared/protocols/serviceProto.ts index 58d5d16..f0d7d73 100644 --- a/src/shared/protocols/serviceProto.ts +++ b/src/shared/protocols/serviceProto.ts @@ -11528,85 +11528,16 @@ export const serviceProto: ServiceProto = { "properties": [ { "id": 0, - "name": "qiandao", + "name": "data", "type": { - "type": "Interface", - "indexSignature": { - "keyType": "String", - "type": { - "type": "Any" - } - } + "type": "Any" } }, { "id": 1, - "name": "gift", + "name": "payLog", "type": { - "type": "Interface", - "indexSignature": { - "keyType": "String", - "type": { - "type": "Any" - } - } - } - }, - { - "id": 2, - "name": "taskfinish", - "type": { - "type": "Array", - "elementType": { - "type": "String" - } - } - }, - { - "id": 3, - "name": "taskval", - "type": { - "type": "Interface", - "indexSignature": { - "keyType": "String", - "type": { - "type": "Any" - } - } - } - }, - { - "id": 4, - "name": "exchange", - "type": { - "type": "Interface", - "indexSignature": { - "keyType": "String", - "type": { - "type": "Any" - } - } - } - }, - { - "id": 5, - "name": "gameNum", - "type": { - "type": "Number" - } - }, - { - "id": 6, - "name": "refreshTime", - "type": { - "type": "Number" - } - }, - { - "id": 7, - "name": "qiandaoTime", - "type": { - "type": "Number" + "type": "Any" } } ],