add class flag

This commit is contained in:
gaoshuaixing
2022-08-26 17:35:42 +08:00
parent 6c174ff470
commit ca4053de79
3 changed files with 3 additions and 0 deletions

View File

@@ -630,4 +630,5 @@ class ExampleController extends Controller {
} }
} }
ExampleController.toString = () => '[class ExampleController]';
module.exports = ExampleController; module.exports = ExampleController;

View File

@@ -25,4 +25,5 @@ class ExampleService extends Service {
} }
} }
ExampleService.toString = () => '[class ExampleService]';
module.exports = ExampleService; module.exports = ExampleService;

View File

@@ -228,4 +228,5 @@ class StorageService extends Service {
} }
} }
StorageService.toString = () => '[class StorageService]';
module.exports = StorageService; module.exports = StorageService;