From ea1be8cff25b3b31e9741177a73b472d79446e72 Mon Sep 17 00:00:00 2001 From: ciniao <4041990@qq.com> Date: Tue, 2 Jan 2024 18:17:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AE=8B=E4=BD=99redis=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/public/player.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/public/player.ts b/src/public/player.ts index 48d3175..9237363 100644 --- a/src/public/player.ts +++ b/src/public/player.ts @@ -401,7 +401,6 @@ export class PlayerFun { */ static async cutEquip(call: call, _idArr: string[]) { for (let _id of _idArr) { - G.redis.del('equip', call.uid, _id); G.mongodb.collection('equip').deleteOne({uid: call.uid, _id: new ObjectId(_id)}); call.addEventMsg('msg_s2c/EquipChange', _id, {num: 0});