lrf402788946 %!s(int64=4) %!d(string=hai) anos
pai
achega
fbdcc25aa5
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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) {