Browse Source

延迟推送

wuyi 3 years ago
parent
commit
4a15808312
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/moments/moments.service.ts

+ 1 - 1
src/moments/moments.service.ts

@@ -165,7 +165,7 @@ export class MomentsService {
             setTimeout(async () => {
                 moments.isDel = false
                 await this.momentsRepository.save(moments)
-            }, hours * 60 * 1000 + minutes * 1000)
+            }, hours * 60 * 60 * 1000 + minutes * 60 * 1000)
         })
     }