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 |   35 +++++++++++++++++++++++++----------
 1 files changed, 25 insertions(+), 10 deletions(-)

diff --git a/xboot-admin/src/main/resources/application.yml b/xboot-admin/src/main/resources/application.yml
index 0499366..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涓姹傦紙鍗曚綅涓級
@@ -289,6 +293,17 @@
     - /**/*.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
@@ -325,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