From be92fbb087dd822d3bfe64b4cb1e39f2ef46529e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A3=B4=E6=B5=A9=E5=AE=87?= <617594538@qq.com> Date: Thu, 1 Feb 2024 15:16:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DNAS=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pnkx-common/src/main/java/com/pnkx/common/ftp/FtpTool.java | 6 +++--- script/web-腾讯云.bat | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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! ::���½���