gemercheung 3 years ago
parent
commit
3b643bb8c8
2 changed files with 9 additions and 5 deletions
  1. 5 3
      src/get-router/get-router.service.ts
  2. 4 2
      src/move/move.service.ts

+ 5 - 3
src/get-router/get-router.service.ts

@@ -9,12 +9,14 @@ export class GetRouterService implements OnModuleInit {
   constructor(private cacheService: CacheService) { }
   private breakPointInfo: any;
   private logger: Logger = new Logger('GetRouterService');
-  private configService: ConfigService;
+  // private configService: ConfigService;
 
   // eslint-disable-next-line @typescript-eslint/no-empty-function
   async onModuleInit() {
-    const app_id = this.configService.get('app.appId');
-    const prefix = this.configService.get('app.prefix');
+    // const app_id = this.configService.get('app.appId');
+    // const prefix = this.configService.get('app.prefix');
+    const app_id = '0000000005';
+    const prefix = '/mnt/metaverse/scene';
     console.log('app_id', app_id);
     console.log('prefix', prefix);
     let path;

+ 4 - 2
src/move/move.service.ts

@@ -130,8 +130,10 @@ export class MoveService implements OnModuleInit {
 
   // eslint-disable-next-line @typescript-eslint/no-empty-function
   async onModuleInit() {
-    const app_id = this.configService.get('app.appId');
-    const prefix = this.configService.get('app.prefix');
+    // const app_id = this.configService.get('app.appId');
+    // const prefix = this.configService.get('app.prefix');
+    const app_id = '0000000005';
+    const prefix = '/mnt/metaverse/scene';
     console.log('app_id', app_id);
     console.log('prefix', prefix);
     let path;