✨ feat(gvg): 玩家驻扎排行榜
This commit is contained in:
@@ -28,7 +28,7 @@ export default class GVGLeagueApply extends BaseModel {
|
||||
}
|
||||
|
||||
public static async checkApply(leagueCode: string, guildCode: string, type: GVG_APPLY_TYPE) {
|
||||
console.log('####', leagueCode, guildCode, type)
|
||||
// console.log('####', leagueCode, guildCode, type)
|
||||
const result = await GVGLeagueApplyModel.exists({ guildCode, leagueCode,
|
||||
type: type == GVG_APPLY_TYPE.ALL? { $in: [GVG_APPLY_TYPE.APPLY, GVG_APPLY_TYPE.INVITE] }: type
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user