lrf402788946 4 년 전
부모
커밋
8ed7780646
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/service/notice.js

+ 1 - 1
app/service/notice.js

@@ -171,8 +171,8 @@ class NoticeService extends CrudService {
     if (res) {
       const { content, notified } = res;
       const useridList = notified.filter(f => f.status === '0').map(i => i.notifiedid);
+      console.log(useridList);
       const userList = await this.umodel.find({ _id: { $in: useridList } });
-      console.log('in function:');
       for (const user of userList) {
         if (!_.get(user, 'openid')) continue;
         const openid = _.get(user, 'openid');