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 {