diff --git a/pnkx-common/src/main/java/com/pnkx/common/ftp/FtpTool.java b/pnkx-common/src/main/java/com/pnkx/common/ftp/FtpTool.java index 48fdbe8..0b0ce4b 100644 --- a/pnkx-common/src/main/java/com/pnkx/common/ftp/FtpTool.java +++ b/pnkx-common/src/main/java/com/pnkx/common/ftp/FtpTool.java @@ -46,11 +46,11 @@ public class FtpTool { /** * ftp 服务账户 */ - private static final String USER_NAME = "admin"; + private static final String USER_NAME = "peihaoyu"; /** * ftp 密码 */ - private static final String PWD = "admin"; + private static final String PWD = "Phy0316."; /** * 端口 ftp 默认 21 ,登录端口。20为传输端口,此处使用连接端口 */ @@ -58,7 +58,7 @@ public class FtpTool { /** * 目录 */ - private static final String PATH = "/ftp/"; + private static final String PATH = "/"; /** * 创建连接 diff --git a/script/web-腾讯云.bat b/script/web-腾讯云.bat index 68dccae..2ccb26f 100644 --- a/script/web-腾讯云.bat +++ b/script/web-腾讯云.bat @@ -20,7 +20,7 @@ cmd /c "npm run build:prod" echo build:prod finished! echo prod update start... -pscp -l %serveruser% -pw "%userpwd%" -r "..\pnkx-ui\dist" %serveruser%@%serverip%:%uploadpathsup% +pscp -l root -pw phy0316. -r "..\pnkx-ui\dist" root@120.53.247.15:/app/pnkx-admin/ echo prod update finished! ::���½���