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 {