From 000de548c0ac637c99309e26023c09422ced317a Mon Sep 17 00:00:00 2001 From: dy Date: Fri, 29 Dec 2023 16:26:10 +0800 Subject: [PATCH] fix userpin --- src/api_s2c/user/ApiPing.ts | 5 +++-- src/shared/protocols/serviceProto.ts | 7 ------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/api_s2c/user/ApiPing.ts b/src/api_s2c/user/ApiPing.ts index 2eaba74..37d795c 100644 --- a/src/api_s2c/user/ApiPing.ts +++ b/src/api_s2c/user/ApiPing.ts @@ -21,8 +21,9 @@ export default async function (call: ApiCall) { openDay: PublicShared.getOpenServerDay() }); + let gud = call.conn?.gud G.server.sendMsgByUid(call.uid, 'msg_s2c/PlayerChange', { - jinbi: call.conn.gud.jinbi, - rmbmoney: call.conn.gud.rmbmoney + jinbi: gud?.jinbi, + rmbmoney: gud?.rmbmoney }); } \ No newline at end of file diff --git a/src/shared/protocols/serviceProto.ts b/src/shared/protocols/serviceProto.ts index e67824f..57b3262 100644 --- a/src/shared/protocols/serviceProto.ts +++ b/src/shared/protocols/serviceProto.ts @@ -15608,13 +15608,6 @@ export const serviceProto: ServiceProto = { "type": "Literal", "literal": "leichonglibao" } - }, - { - "id": 40, - "type": { - "type": "Literal", - "literal": "yuandan" - } } ] },