|
@@ -96,8 +96,8 @@ public class AccessoryServiceImpl extends JyglBaseService<AccessoryEntity, Strin
|
|
Ftp f = new Ftp();
|
|
Ftp f = new Ftp();
|
|
f.setIpAddr(GlobalData.FTP_IP);
|
|
f.setIpAddr(GlobalData.FTP_IP);
|
|
f.setPort(Integer.parseInt(GlobalData.FTP_PORT));
|
|
f.setPort(Integer.parseInt(GlobalData.FTP_PORT));
|
|
- f.setUserName(GlobalData.DSJC);
|
|
|
|
- f.setPwd(GlobalData.DSJC);
|
|
|
|
|
|
+ f.setUserName(GlobalData.FTP_QT_USER);
|
|
|
|
+ f.setPwd(GlobalData.FTP_QT_USER);
|
|
f.setPath("");
|
|
f.setPath("");
|
|
if (FtpUtil.connectFtp(f)) {
|
|
if (FtpUtil.connectFtp(f)) {
|
|
String ftpPath = GlobalData.UPLOAD_FILE_PATH +File.separator + sstype ;
|
|
String ftpPath = GlobalData.UPLOAD_FILE_PATH +File.separator + sstype ;
|
|
@@ -184,7 +184,7 @@ public class AccessoryServiceImpl extends JyglBaseService<AccessoryEntity, Strin
|
|
// ftp 上传
|
|
// ftp 上传
|
|
Ftp f = new Ftp();
|
|
Ftp f = new Ftp();
|
|
f.setIpAddr(GlobalData.FTP_IP);
|
|
f.setIpAddr(GlobalData.FTP_IP);
|
|
- f.setPort(21);
|
|
|
|
|
|
+ f.setPort(Integer.parseInt(GlobalData.FTP_PORT));
|
|
f.setUserName(GlobalData.FTP_XK_USER);
|
|
f.setUserName(GlobalData.FTP_XK_USER);
|
|
f.setPwd(GlobalData.FTP_XK_USER);
|
|
f.setPwd(GlobalData.FTP_XK_USER);
|
|
f.setPath("");
|
|
f.setPath("");
|