Browse Source

测试代码3

MaiXinRong 3 năm trước cách đây
mục cha
commit
dd808e34da
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/controller/dashboard_controller.js

+ 1 - 1
app/controller/dashboard_controller.js

@@ -225,7 +225,7 @@ module.exports = app => {
         }
 
         async logTest(ctx) {
-            ctx.body = JSON.stringify(ctx.logger, '', '\t');
+            ctx.body = JSON.stringify(ctx.app.loggers, '', '\t');
         }
     }