Browse Source

生产配置变更

tntdc 2 years ago
parent
commit
7f209bcf7b

+ 2 - 2
adm/src/main/java/cacheParam.properties

@@ -2,7 +2,7 @@ isOpen=true
 isDebug=true
 redis_prefix=DEBUG_
 
-redis_Ip=47.97.60.205
+redis_Ip=172.16.128.210
 
 redis_Port=6379
 
@@ -16,6 +16,6 @@ redis_TimeOut=1000
 
 redis_TestOnBorrow=true
 
-redis_Auth=guomaoredispass
+redis_Auth=123456
 
 redis_TimeToLive=172800

+ 1 - 1
adm/src/main/java/com/minpay/guomao/templateexport/action/TemplateExportAction.java

@@ -160,7 +160,7 @@ public class TemplateExportAction implements IMINAction {
 				list.get(i).put("price", price);
 				list.get(i).put("url", modeklist.get(0).get("url"));
 				String path = MINRequest.getSession().getServletContext().getRealPath("/web");
-				strm = Service.lookup(IDownloadService.class).donwLoad(modeklist.get(0).get("url"), path);
+				strm = Service.lookup(IDownloadService.class).donwLoad(modeklist.get(0).get("url").replace("106.37.170.219:10001", "127.0.0.1"), path);
 	    	}
 		}
 		//

+ 1 - 1
adm/src/main/java/com/minpay/system/action/DownloadContractModelAction.java

@@ -32,7 +32,7 @@ public class DownloadContractModelAction implements IMINAction {
         HttpServletResponse response
         ){
         try {
-        DownFileUtil.downloadPicture(name,url, response);
+        DownFileUtil.downloadPicture(name,url.replace("106.37.170.219:10001", "127.0.0.1"), response);
         } catch (IOException e) {
         // TODO Auto-generated catch block
         e.printStackTrace();