guhongwei 2 lat temu
rodzic
commit
56cba02fa8
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1 2
      app/schedule/user.js

+ 1 - 2
app/schedule/user.js

@@ -7,7 +7,6 @@ module.exports = {
     type: 'worker', // 指定所有的 worker 都需要执行
   },
   async task(ctx) {
-    console.log('11');
-    // ctx.service.user.watchvip();
+    ctx.service.user.watchvip();
   },
 };