guhongwei 3 년 전
부모
커밋
1efbbe15b8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/service/patent/patentearly.js

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

@@ -93,7 +93,7 @@ class PatentearlyService extends CrudService {
       i.user_id = i.user_id.map(i => ObjectId(i));
       const { lose_date } = i;
       const start = moment(lose_date).subtract(1, 'M');
-      const end = moment(lose_date).add(1, 'M');
+      const end = moment(lose_date).add(3, 'M');
       const r = moment().isBetween(start, end, null, '[]');
       if (r) {
         total++;