Explorar o código

测试代码3

MaiXinRong %!s(int64=3) %!d(string=hai) anos
pai
achega
dd808e34da
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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');
         }
     }