guhongwei 2 năm trước cách đây
mục cha
commit
56cba02fa8
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  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();
   },
 };