后台:虚拟充值
This commit is contained in:
@@ -36,6 +36,11 @@ export default class Activity_Group extends BaseModel {
|
||||
return result;
|
||||
}
|
||||
|
||||
public static async findByServerId(serverId: number) {
|
||||
let result: ActivityGroupModelType[] = await ActivityGroupModel.find({ serverIds: serverId }).lean();
|
||||
return result;
|
||||
}
|
||||
|
||||
//查询组
|
||||
public static async findGroupsData(groupIds: number[]) {
|
||||
let result: ActivityGroupModelType[] = await ActivityGroupModel.find({ groupId: { $in: groupIds } }).lean();
|
||||
|
||||
Reference in New Issue
Block a user