This commit is contained in:
zc
2026-04-13 11:52:55 +08:00
parent bfcb05893a
commit eda31fcffd
2 changed files with 8 additions and 4 deletions

View File

@@ -27,7 +27,10 @@ import java.util.regex.Pattern;
@Slf4j
public class AHDZCConnect {
private static final String PORT_NAME = "COM12";
//老设备只能跑jar包的
// private static final String PORT_NAME = "COM12";
//新设备(环境齐全的)
private static final String PORT_NAME = "COM13";
private static final int BAUD_RATE = 9600;
private static final int DATA_BITS = 8;
private static final int STOP_BITS = 1;

View File

@@ -20,7 +20,8 @@ spring.datasource:
# 请务必提前创建好名为 wms_admin 的数据库,如果使用其他数据库名请注意同步修改 DB_NAME 配置
url: jdbc:p6spy:mysql://127.0.0.1:3306/wms?serverTimezone=Asia/Shanghai&useSSL=false&useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&autoReconnect=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
username: root
password: root
# password: root
password: test123$
# PostgreSQL 配置
# url: jdbc:p6spy:mysql://192.168.2.30:${DB_PORT:3306}/continew?serverTimezone=Asia/Shanghai&useSSL=true&useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&autoReconnect=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
# username: ${DB_USER:root}
@@ -265,9 +266,9 @@ spring.servlet:
multipart:
enabled: true
# 单文件上传大小限制
max-file-size: 10MB
max-file-size: 5120MB
# 单次总上传文件大小限制
max-request-size: 20MB
max-request-size: 5120MB
## 头像配置
avatar:
# 存储路径