C端改造

This commit is contained in:
2025-12-10 18:47:17 +08:00
parent 5708afb816
commit 4c477ae22a
61 changed files with 259 additions and 135 deletions

View File

@@ -1,5 +1,5 @@
server:
port: 18092
port: 18093
spring:
application:
name: entrance
@@ -51,7 +51,7 @@ socket:
port: 61000
webSocket:
port: 7777
port: 7778
#源参数下发,暂态数据默认值
Dip:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 930 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 254 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

BIN
build/icons/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 368 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

View File

@@ -1,81 +0,0 @@
@echo off
chcp 65001 >nul
title 检查并清除 MySQL9100 服务
color 0E
echo ========================================
echo 检查并清除 MySQL9100 服务
echo ========================================
echo.
REM 检查是否有管理员权限
net session >nul 2>&1
if %errorlevel% neq 0 (
echo [错误] 需要管理员权限来操作 Windows 服务
echo.
echo 请右键点击此脚本,选择"以管理员身份运行"
echo.
pause
exit /b 1
)
echo [✓] 已具有管理员权限
echo.
REM 检查服务是否存在
echo [1/4] 检查 mysql9100 服务是否存在...
sc query mysql9100 >nul 2>&1
if %errorlevel% equ 0 (
echo [✓] 发现 mysql9100 服务
echo.
REM 显示服务状态
echo [2/4] 服务状态信息:
sc query mysql9100
echo.
REM 停止服务
echo [3/4] 正在停止 mysql9100 服务...
sc stop mysql9100 >nul 2>&1
if %errorlevel% equ 0 (
echo [✓] 服务已停止
) else (
echo [!] 服务可能已经停止或停止失败(继续删除)
)
REM 等待服务完全停止
timeout /t 2 /nobreak >nul
echo.
REM 删除服务
echo [4/4] 正在删除 mysql9100 服务...
sc delete mysql9100
if %errorlevel% equ 0 (
echo [✓] 服务已成功删除
echo.
echo ========================================
echo 清除完成!
echo ========================================
) else (
echo [✗] 删除服务失败
echo.
echo 可能的原因:
echo 1. 服务仍在运行中(请重启电脑后重试)
echo 2. 权限不足
echo 3. 服务被其他程序锁定
echo.
pause
exit /b 1
)
) else (
echo [!] 未发现 mysql9100 服务
echo.
echo 系统中没有名为 mysql9100 的服务,无需清除。
)
echo.
echo 提示:如果需要完全清理,还可以:
echo 1. 删除 MySQL 数据目录mysql/data
echo 2. 删除 MySQL 配置文件mysql/my.ini
echo.
pause

20
build/upgrade/README.txt Normal file
View File

@@ -0,0 +1,20 @@
# 升级包放置目录
## 使用方法
1. 将升级文件放入此目录:
- app.asar (前端升级包 - 文件)
- app.asar.unpacked/ (前端升级包 - 文件夹)
- entrance.jar (后端升级包)
2. 双击运行根目录的 upgrade.bat 脚本
3. 升级完成后重启应用
## 注意事项
- 可以只放前端或只放后端,支持单独升级
- 升级前会自动备份到 backup/ 目录
- 如果升级失败,运行 rollback.bat 可回滚
详细说明请参考README-升级回滚.txt