guhongwei 3 rokov pred
rodič
commit
5af358dc86
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      app/service/patent/patentnotice.js

+ 1 - 1
app/service/patent/patentnotice.js

@@ -59,7 +59,7 @@ class PatentnoticeService extends CrudService {
       // 获取自己下的用户
       const data = await this.getOrgUser(admin.code);
       // 整理->添加
-      object = { send_id, send_name, to_type, to_id: data.map(i => i._id), to_name: data.map(i => i.name), content, notice_file };
+      object = { send_id, send_name, to_type, to_id: data.map(i => i._id), content, notice_file };
     } else if (to_type === '4') {
       object = { send_id, send_name, to_type, to_id, to_name, content, notice_file };
     } else {