From b87468f4bc582b638179756cd1ee69f9a0417450 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期四, 06 三月 2025 12:39:41 +0800
Subject: [PATCH] #优化 1. 路由优化
---
rsf-server/src/main/resources/application-dev.yml | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/rsf-server/src/main/resources/application-dev.yml b/rsf-server/src/main/resources/application-dev.yml
index 9259007..53ce113 100644
--- a/rsf-server/src/main/resources/application-dev.yml
+++ b/rsf-server/src/main/resources/application-dev.yml
@@ -8,11 +8,13 @@
name: @pom.artifactId@
mvc:
static-path-pattern: /**
+ path match:
+ matching-strategy: ANT_PATH_MATCHER
datasource:
driver-class-name: com.mysql.jdbc.Driver
- url: jdbc:mysql://127.0.0.1:3306/rsf?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
+ url: jdbc:mysql://192.168.4.24:3306/rsf?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
username: root
- password: xltys1995
+ password: 34821015
type: com.alibaba.druid.pool.DruidDataSource
druid:
initial-size: 5
@@ -58,11 +60,15 @@
timeout: 5000
socketFactory:
class: javax.net.ssl.SSLSocketFactory
-
-
redis:
host: 127.0.0.1
password: xltys1995
port: 6379
timeout: 5000
- index: 15
\ No newline at end of file
+ index: 15
+
+stock:
+ flagPrinter: false
+ inspect:
+ flagAvailable: true
+ flagReceiving: false
\ No newline at end of file
--
Gitblit v1.9.1