From ae32c3a7d77e2ed114555623c70e3fbd1d6aba59 Mon Sep 17 00:00:00 2001
From: wang-hao-jie <1550036656@qq.com>
Date: 星期四, 10 三月 2022 08:47:45 +0800
Subject: [PATCH] 违章记录

---
 xboot-admin/src/main/resources/application.yml |   38 +++++++++++++++++++++++++++-----------
 1 files changed, 27 insertions(+), 11 deletions(-)

diff --git a/xboot-admin/src/main/resources/application.yml b/xboot-admin/src/main/resources/application.yml
index b4df8b1..1080fec 100644
--- a/xboot-admin/src/main/resources/application.yml
+++ b/xboot-admin/src/main/resources/application.yml
@@ -4,7 +4,7 @@
     password: xboot
 
 server:
-  port: 8888
+  port: 9091
   servlet:
     context-path: /
   tomcat:
@@ -26,7 +26,8 @@
     url: jdbc:mysql://127.0.0.1:3306/tobacco?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
     username: root
     # Jasypt鍔犲瘑 鍙埌common-utils涓壘鍒癑asyptUtil鍔犺В瀵嗗伐鍏风被鐢熸垚鍔犲瘑缁撴灉 鏍煎紡涓篍NC(鍔犲瘑缁撴灉) 浠ヤ笅瑙e瘑缁撴灉涓�123456
-    password: ENC(/1qjpLsQSzc4KM+2VhqLecwQu3npNYZo/zclpH/VR34dMdLeW2IVin6V1vH1Xug4)
+    #password: wanghaojie
+    password: 123456
     type: com.alibaba.druid.pool.DruidDataSource
     driverClassName: com.mysql.jdbc.Driver
     # Druid StatViewServlet閰嶇疆
@@ -131,6 +132,7 @@
           service-base-url: http://127.0.0.1:${server.port}/
   web:
     resources:
+      static-locations: classpath:/static
       cache:
         cachecontrol:
           # 闈欐�佽祫婧愮紦瀛�30澶�
@@ -142,11 +144,13 @@
       # 鏆傛湭浣跨敤ES 鎺掗櫎client鑷姩瑁呴厤绫�
       - org.springframework.boot.autoconfigure.data.elasticsearch.ReactiveElasticsearchRestClientAutoConfiguration
 
+  mvc:
+    static-path-pattern: //**
 xboot:
   # 鍏ㄥ眬闄愭祦
   ratelimit:
     # 寮�鍚�
-    enable: true
+    enable: false
     # 姣�1绉掑唴锛堝崟浣嶆绉掞級
     timeout: 1000
     # 鎬婚檺鍒�200涓姹傦紙鍗曚綅涓級
@@ -154,7 +158,7 @@
   # IP闄愭祦
   iplimit:
     # 寮�鍚�
-    enable: true
+    enable: false
     # 姣�1绉掑唴锛堝崟浣嶆绉掞級
     timeout: 1000
     # 姣忎釜ip闄愬埗20涓姹傦紙鍗曚綅涓級
@@ -168,7 +172,7 @@
     # token涓瓨鍌ㄧ敤鎴锋潈闄愭暟鎹� 璁句负true寮�鍚悗鍙伩鍏嶆瘡娆¤姹傚啀鑾峰彇鐢ㄦ埛鏉冮檺锛屼絾鏈夊彲鑳藉鑷寸紪杈戞潈闄愯彍鍗曞悗鏃犳硶璇诲彇鍒版渶鏂版潈闄愭暟鎹紙闇�鐢ㄦ埛閲嶆柊鐧诲綍锛�
     storePerms: true
     # token杩囨湡鏃堕棿 redis妯″紡鏈夎姹傝嚜鍔ㄥ埛鏂帮紙鍒嗛挓锛�
-    tokenExpireTime: 60
+    tokenExpireTime: 600
     # 鐢ㄦ埛閫夋嫨 淇濆瓨鐧诲綍鐘舵��/璁颁綇鎴� 瀵瑰簲token杩囨湡鏃堕棿锛堝ぉ锛�
     saveLoginTime: 7
     # 闄愬埗鐢ㄦ埛鐧婚檰閿欒娆℃暟锛堟锛�
@@ -288,6 +292,18 @@
     - /**/*.png
     - /**/*.ico
     - /xboot/test/**
+    - /xboot/fingerprint/getAll
+    - /xboot/orderSyn/**
+    - /hk/**
+    - /xboot/wx/**
+    - /index.html
+    - /xboot/pcStatistic/**
+    - /xboot/pcStatistic2/**
+    - /xboot/area/getAll
+    - /xboot/areaSection/getAll2
+    - /xboot/message/**
+    - /xboot/updateApp/**
+    - /xboot/fingerprint/getUserByCode
   # 闄愭祦鍙婇粦鍚嶅崟涓嶆嫤鎴殑璺緞
   limitUrls:
     - /**/*.js
@@ -324,14 +340,14 @@
   title: XBoot API鎺ュ彛鏂囨。
   description: XBoot Api Documentation
   version: 1.0.0
-  termsOfServiceUrl: http://xboot.exrick.cn
+  termsOfServiceUrl: http://xxxx
   contact:
-    name: Exrick
-    url: http://blog.exrick.cn
-    email: 1012139570@qq.com
+    name: xxx
+    url: http://blog.xxx.cn
+    email: xxxx@qq.com
   # 鍒嗙粍鍚�
-  group: 1.XBoot绠$悊鎺ュ彛 v1.0
-  group2: 2.XBoot APP鎺ュ彛 v1.0
+  group: 1.鎺ュ彛 v1.0
+  group2: 2.APP鎺ュ彛 v1.0
 
 # Mybatis-plus
 mybatis-plus:

--
Gitblit v1.9.1