新增依赖和修改配置

This commit is contained in:
lifangliang 2025-06-30 15:49:20 +08:00
parent 676c135121
commit 6876282413
2 changed files with 14 additions and 1 deletions

14
pom.xml
View File

@ -61,7 +61,19 @@
<artifactId>pdfbox</artifactId>
<version>2.0.21</version>
</dependency>
<!-- WebSocket 依赖 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-websocket</artifactId>
</dependency>
<!-- Fastjson 依赖 -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.83</version>
</dependency>
</dependencies>

View File

@ -1,6 +1,7 @@
spring.application.name=goeingPrintServer
server.port=9090
print.websocket.url=ws://127.0.0.1:8080/print-websocket
#print.websocket.url=ws://3.144.140.114:8080/print-websocket
print.printer.id=123456
print.websocket.apiKey=519883ab-3677-ce4b-59ba-7263870d0a26