lrf402788946 4 سال پیش
والد
کامیت
85a79509c2
1فایلهای تغییر یافته به همراه0 افزوده شده و 3 حذف شده
  1. 0 3
      app/service/notice.js

+ 0 - 3
app/service/notice.js

@@ -172,15 +172,12 @@ 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({ uid: { $in: useridList } });
-      console.log(userList);
       for (const user of userList) {
         if (!_.get(user, 'openid')) continue;
         const openid = _.get(user, 'openid');
         const detail = content;
         const tourl = this.ctx.app.config.baseUrl + '/trainnotice/?userid=' + user.uid + '&noticeid=' + res.id;
-        console.log(openid);
         await this.toSendWithUrl('您有信息需要确认', openid, detail, tourl);
       }
     } else {