张艾宸

修改配置文件为config.json

@@ -12,7 +12,7 @@ var http = require('http'); @@ -12,7 +12,7 @@ var http = require('http');
12 * Get port from environment and store in Express. 12 * Get port from environment and store in Express.
13 */ 13 */
14 14
15 -var port = normalizePort(process.env.PORT || '3000'); 15 +var port = normalizePort(process.env.PORT || '3001');
16 app.set('port', port); 16 app.set('port', port);
17 17
18 /** 18 /**
1 -const GETCLASSURL = "http://139.196.126.156:8081/getLogs/recordClassList"  
2 -const GETCLASSURLPARAMETER = {  
3 - siteId:["BuzzKID","kuaikuenglish"],  
4 - key:"xdymp4record20191225",  
5 - page:1,  
6 - maxMedia:3,  
7 -}  
8 -  
9 -const PROJECTWINCATALOG = "E:/project/web_capture_release/win-x64"  
10 -  
11 -const PROJECTCATALOG = "E:/project/web_capture_release"  
12 -  
13 -const BACKMEDIACONFIG = {  
14 - url : "https://pclive.xuedianyun.com/pcBase/pclive2/dev/index.html",  
15 - classId:"",  
16 - userId:0,  
17 - userName:"",  
18 - userRole:"normal",  
19 - portalIP:"saas.xuedianyun.com",  
20 - portalPort:80,  
21 - channels:2,  
22 - playRecord:1,  
23 - d:0.5*60*60*1000,  
24 - s:0,  
25 - fa:15,  
26 - k:1,  
27 - w:1600,  
28 - h:789,  
29 -}  
30 -module.exports = {  
31 - GETCLASSURL,  
32 - GETCLASSURLPARAMETER,  
33 - PROJECTWINCATALOG,  
34 - PROJECTCATALOG,  
35 - BACKMEDIACONFIG  
36 -}  
  1 +{
  2 + "GETCLASSURL":"http://139.196.126.156:8081/getLogs/recordClassList",
  3 + "GETCLASSURLPARAMETER":{
  4 + "siteId":["BuzzKID","kuaikuenglish"],
  5 + "key":"xdymp4record20191225",
  6 + "page":1,
  7 + "maxMedia":1
  8 + },
  9 + "PROJECTWINCATALOG":"E:/project/web_capture_release/win-x64",
  10 + "PROJECTCATALOG":"E:/project/web_capture_release",
  11 + "BACKMEDIACONFIG":{
  12 + "url" : "https://pclive.xuedianyun.com/pcBase/pclive2/dev/index.html",
  13 + "classId":"",
  14 + "userId":0,
  15 + "userName":"",
  16 + "userRole":"normal",
  17 + "portalIP":"saas.xuedianyun.com",
  18 + "portalPort":80,
  19 + "channels":2,
  20 + "playRecord":1,
  21 + "d":1800000,
  22 + "s":3000,
  23 + "fa":15,
  24 + "k":0,
  25 + "w":1280,
  26 + "h":720
  27 + }
  28 +}