fix: 修复NAS地址

This commit is contained in:
裴浩宇 2024-02-01 15:16:19 +08:00
parent e21cbcc7c1
commit be92fbb087
2 changed files with 4 additions and 4 deletions

View File

@ -46,11 +46,11 @@ public class FtpTool {
/** /**
* ftp 服务账户 * ftp 服务账户
*/ */
private static final String USER_NAME = "admin"; private static final String USER_NAME = "peihaoyu";
/** /**
* ftp 密码 * ftp 密码
*/ */
private static final String PWD = "admin"; private static final String PWD = "Phy0316.";
/** /**
* 端口 ftp 默认 21 登录端口20为传输端口此处使用连接端口 * 端口 ftp 默认 21 登录端口20为传输端口此处使用连接端口
*/ */
@ -58,7 +58,7 @@ public class FtpTool {
/** /**
* 目录 * 目录
*/ */
private static final String PATH = "/ftp/"; private static final String PATH = "/";
/** /**
* 创建连接 * 创建连接

View File

@ -20,7 +20,7 @@ cmd /c "npm run build:prod"
echo build:prod finished! echo build:prod finished!
echo prod update start... 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! echo prod update finished!
::<3A><><EFBFBD>½<EFBFBD><C2BD><EFBFBD> ::<3A><><EFBFBD>½<EFBFBD><C2BD><EFBFBD>