From e098e41885efa65afe3e703c1e9d58483750e2cc Mon Sep 17 00:00:00 2001 From: dy Date: Thu, 28 Dec 2023 10:05:52 +0800 Subject: [PATCH] =?UTF-8?q?paylog=E5=A2=9E=E5=8A=A0args=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/public/pay.ts | 2 ++ src/shared/protocols/pay/PtlGetList.ts | 5 +++++ src/shared/protocols/serviceProto.ts | 12 ++++++++++-- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/public/pay.ts b/src/public/pay.ts index fe7e977..f5ad184 100644 --- a/src/public/pay.ts +++ b/src/public/pay.ts @@ -31,6 +31,8 @@ export class PayFun { let obj: payLog = {time: G.time, type: type}; if (conf.time != -1) obj.eTime = time + conf.time; + obj.args = payArgs + if (payId == 'G123SendGift') { obj.popup_id = payArgs.popup_id obj.template_id = payArgs.template_id diff --git a/src/shared/protocols/pay/PtlGetList.ts b/src/shared/protocols/pay/PtlGetList.ts index c492026..1fcd362 100644 --- a/src/shared/protocols/pay/PtlGetList.ts +++ b/src/shared/protocols/pay/PtlGetList.ts @@ -20,6 +20,11 @@ export type payLog = { * @system 系统赠送 */ type: 'user' | 'system' | 'legu'; + /** + * 其他信息 + */ + args?: any; + /** G123 */ popup_id?: string diff --git a/src/shared/protocols/serviceProto.ts b/src/shared/protocols/serviceProto.ts index 9961fc1..9741f78 100644 --- a/src/shared/protocols/serviceProto.ts +++ b/src/shared/protocols/serviceProto.ts @@ -18199,6 +18199,14 @@ export const serviceProto: ServiceProto = { }, { "id": 3, + "name": "args", + "type": { + "type": "Any" + }, + "optional": true + }, + { + "id": 4, "name": "popup_id", "type": { "type": "String" @@ -18206,7 +18214,7 @@ export const serviceProto: ServiceProto = { "optional": true }, { - "id": 4, + "id": 5, "name": "buyNumber", "type": { "type": "Number" @@ -18214,7 +18222,7 @@ export const serviceProto: ServiceProto = { "optional": true }, { - "id": 5, + "id": 6, "name": "template_id", "type": { "type": "String"