From 85ac2d1dcfc4ac9eccb8f8471ca424dad13cfc9a Mon Sep 17 00:00:00 2001 From: luying Date: Thu, 29 Sep 2022 09:36:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=EF=BC=9A=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E8=A1=A8=E6=B7=BB=E5=8A=A0=E7=B4=A2=E5=BC=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shared/db/UserLog.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shared/db/UserLog.ts b/shared/db/UserLog.ts index 50eb6ccc9..d978f43c7 100644 --- a/shared/db/UserLog.ts +++ b/shared/db/UserLog.ts @@ -53,6 +53,8 @@ export class BossHpLog { * 玩家充值订单 */ @index({ localOrderID: 1 }) +@index({ createdAt: -1, type: 1 }) +@index({ roleId: 1 }) export default class UserLog extends BaseModel {