fix: 修复NAS地址
This commit is contained in:
parent
e21cbcc7c1
commit
be92fbb087
@ -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 = "/";
|
||||
|
||||
/**
|
||||
* 创建连接
|
||||
|
@ -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!
|
||||
::<3A><><EFBFBD>½<EFBFBD><C2BD><EFBFBD>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user