|
@@ -52,6 +52,9 @@ class NoticeService extends CrudService {
|
|
|
else if (type === '2') personList = await this.getRangeTeacher({ classid });
|
|
|
else if (type === '3') personList = await this.getRangeClasses({ id: classid });
|
|
|
}
|
|
|
+ console.group('发送人列表');
|
|
|
+ console.table(personList);
|
|
|
+ console.groupEnd();
|
|
|
// 获取所有人后发送信息
|
|
|
const userList = await this.umodel.find({ uid: { $in: personList } });
|
|
|
for (const user of userList) {
|