| 
					
				 | 
			
			
				@@ -8,7 +8,7 @@ module.exports = appInfo => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     config.mysql = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         client: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // host 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            host: '192.168.1.139', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            host: '127.0.0.1', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 端口号 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             port: '3306', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 用户名 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -29,7 +29,7 @@ module.exports = appInfo => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // redis设置 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     config.redis = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         client: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            host: '192.168.1.139', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            host: '127.0.0.1', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             port: '6379', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             password: 'test', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             db: '0', 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -75,7 +75,7 @@ module.exports = appInfo => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 安全性配置 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     config.security = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         csrf: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            ignoreJSON: true, // 默认为 false,当设置为 true 时,将会放过所有 content-type 为 `application/json` 的请求 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ignoreJSON: false, // 默认为 false,当设置为 true 时,将会放过所有 content-type 为 `application/json` 的请求 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -106,7 +106,7 @@ module.exports = appInfo => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 是否压缩替换前端js 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    config.min = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    config.min = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return config; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }; 
			 |