guhongwei há 3 anos atrás
pai
commit
1efbbe15b8
1 ficheiros alterados com 1 adições e 1 exclusões
  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++;