更新部署方式

This commit is contained in:
萧道子 2025-05-20 18:03:34 +08:00
parent 72288c08a4
commit b759041f96
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
@echo off
:: 医保程序地址
set CHSPATH=D:/Project/CHS
:: jar名称
set NAME=yinyitong-dll-hang
:: 端口号
set PROT=5946
echo 关闭%PROT%端口进程
for /f "tokens=1-5" %%i in ('netstat -ano^|findstr ":%PROT%"') do taskkill /pid %%m -t -f
echo 启动%NAME%
start javaw -jar %~dp0\%NAME%.jar --server.port=%PROT% -Dfile.encoding=UTF-8 -Djava.library.path=%CHSPATH%
echo 启动完成
::exit
pause