guhongwei 2 år sedan
förälder
incheckning
07621767d6
2 ändrade filer med 4 tillägg och 4 borttagningar
  1. 2 2
      app/schedule/user.js
  2. 2 2
      config/config.default.js

+ 2 - 2
app/schedule/user.js

@@ -1,8 +1,8 @@
 'use strict';
 module.exports = {
   schedule: {
-    interval: '30s', // 1 分钟间隔
-    // cron: '0 0 23 * * *', // 每天晚上十一点
+    // interval: '30s', // 1 分钟间隔
+    cron: '0 0 23 * * *', // 每天晚上十一点
     // cron: '5 * * * * ?', // 30s
     type: 'worker', // 指定所有的 worker 都需要执行
   },

+ 2 - 2
config/config.default.js

@@ -19,12 +19,12 @@ module.exports = appInfo => {
   };
   // http请求前缀
   config.httpPrefix = {
-    logs: 'http://localhost:10108/projectadmin/api',
+    logs: 'http://localhost:10101/projectadmin/api',
   };
   // 进程设置
   config.cluster = {
     listen: {
-      port: 10110,
+      port: 10102,
     },
   };
   // jwt设置