lrf402788946 пре 4 година
родитељ
комит
fbdcc25aa5
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      app/service/notice.js

+ 3 - 0
app/service/notice.js

@@ -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) {