智慧保安后台管理-外网项目备份
zhongrj
2023-09-17 8853292babb2ad94de4a3207966f1e83b767cd2d
src/main/java/org/springblade/common/constant/FtpConstant.java
@@ -1,54 +1,65 @@
package org.springblade.common.constant;
/**
 * @author zhongrj
 */
public interface FtpConstant {
   /**
    * sql connect
    */
   String sql_connect_dev = "jdbc:mysql://223.82.109.183:2083/zhbaw";
   /**
    * sql connect
    */
//   String sql_connect_dev = "jdbc:mysql://localhost:2083/zhbaw";
   /**
    * ftp服务器IP地址
    */
   String ftpHost_dev = "192.168.0.105";
   /**
    * ftp服务器IP地址
    */
//   String ftpHost_dev = "172.19.1.30";
   /**
    * ftp服务器端口
    */
   int ftpPort = 21;
   /**
    * ftp服务器用户名
    */
   String ftpUserName = "yly";
   /**
    * ftp服务器密码
    */
   String ftpPassword = "Yly@123";
   /**
    * ftp服务器路径
    */
   String ftpPath = "yly/anbao/";
   /**
    * 本地路径
    */
   String localPath = "/home/zhongsong/anbao";
//   String localPath = "D:\\anbao";
}
//package org.springblade.common.constant;
//
///**
// * @author zhongrj
// */
//public interface FtpConstant {
//
//   /**
//    * sql connect
//    */
//   String sql_connect_dev = "jdbc:mysql://223.82.109.183:2083/zhbaw?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true";
//
//   /**
//    * sql connect
//    */
////   String sql_connect_dev = "jdbc:mysql://localhost:2083/zhbaw?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true";
//
//   /**
//    * ftp服务器IP地址
//    */
//   String ftpHost_dev = "192.168.0.199";
//
//   /**
//    * ftp服务器IP地址
//    */
////   String ftpHost_dev = "172.19.1.30";
//
//   /**
//    * ftp服务器端口
//    */
//   int ftpPort = 21;
//
//   /**
//    * ftp服务器用户名
//    */
////   String ftpUserName = "yly";
//   String ftpUserName = "arsn";
//
//   /**
//    * ftp服务器密码
//    */
////   String ftpPassword = "Yly@123";
//   String ftpPassword = "";
//
//
//   /**
//    * ftp服务器路径
//    */
////   String ftpPath = "yly/anbao/";
//   String ftpPath = "anbao/";
//
//   /**
//    * 本地路径
//    */
////   String localPath = "/home/zhongsong/anbao/";
//   String localPath = "D:\\anbao\\";
//
//
//   //minio内网ip
////   String ip = "http://47.49.21.216:9000";
//   String ip = "http://223.82.109.183:2081";
//
////   String jsonUrl = "/home/zhongsong/anbao/";
//   String jsonUrl = "D:\\anbao\\";
//}