guhongwei 3 年之前
父節點
當前提交
5af358dc86
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 {