guhongwei %!s(int64=3) %!d(string=hai) anos
pai
achega
1efbbe15b8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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++;