From a499e5a737991461554805af6b72fba65a680776 Mon Sep 17 00:00:00 2001
From: qirong <2032486488@qq.com>
Date: 星期五, 07 四月 2023 11:53:41 +0800
Subject: [PATCH] 更改环境

---
 ycl-platform/src/main/resources/application.yml |  169 +++++++++++++++++++++++++------------------------------
 1 files changed, 77 insertions(+), 92 deletions(-)

diff --git a/ycl-platform/src/main/resources/application.yml b/ycl-platform/src/main/resources/application.yml
index dd105db..d7d28ea 100644
--- a/ycl-platform/src/main/resources/application.yml
+++ b/ycl-platform/src/main/resources/application.yml
@@ -1,92 +1,77 @@
-spring:
-  profiles:
-    active: dev
-  main:
-    allow-circular-references: true
-    allow-bean-definition-overriding: true
-  mvc:
-    pathmatch:
-      matching-strategy: ant_path_matcher
-  application:
-    name: sccg-platform
-  http:
-    charset: UTF-8
-    enabled: true
-    force: true
-  servlet:
-    multipart:
-      max-file-size: -1
-      max-request-size: -1
-#  jackson:
-#    default-property-inclusion: non_null
-
-
-management:
-  health:
-    rabbit:
-      enabled: false
-
-jwt:
-  tokenHeader: Authorization #JWT瀛樺偍鐨勮姹傚ご
-  secret: platform-secret #JWT鍔犺В瀵嗕娇鐢ㄧ殑瀵嗛挜
-  expiration: 604800 #JWT鐨勮秴鏈熼檺鏃堕棿(60*60*24*7)
-  tokenHead: 'Bearer ' #JWT璐熻浇涓嬁鍒板紑澶�
-
-redis:
-  database: sccg
-  key:
-    admin: 'ums:admin'
-    resourceList: 'ums:menuList'
-  expire:
-    common: 86400 # 24灏忔椂
-
-#MP閰嶇疆
-mybatis-plus:
-  mapper-locations: classpath*:mapper/**/*.xml
-  global-config:
-    db-config:
-      id-type: auto
-      #閫昏緫鍒犻櫎閰嶇疆瀛楁
-      logic-delete-field:
-      #閫昏緫鍒犻櫎閰嶇疆瀛楁 1 鍒犻櫎
-      logic-delete-value: 1
-      #閫昏緫鍒犻櫎閰嶇疆瀛楁 0 涓嶅垹闄�
-      logic-not-delete-value: 0
-
-knife4j:
-  enable: true
-  #true鍒欐槸鐢熶骇鐜涓嶅厑璁歌闂甼nife4j
-  production: false
-
-
-security:
-  basic:
-    enabled: false
-secure:
-  ignored:
-    urls: #閰嶇疆鐧藉悕鍗曡矾寰�
-      - /swagger-ui.html
-      - /swagger/**
-      - /swagger-ui/*
-      - /swagger-resources/**
-      - /**/v2/api-docs
-      - /doc.html
-      - /webjars/**
-      - /**/*.html
-      - /**/*.js
-      - /**/*.css
-      - /**/*.png
-      - /favicon.ico
-      - /actuator/**
-      - /druid/**
-      - /**/admin/login
-      - /**/admin/register
-      - /**/admin/info
-      - /**/admin/logout
-      - /dict/**
-      - /sccg-region/**
-      - /**/system/portal/logo/search
-      - /**/unauthorized/**
-      - /**/api/**
-      - /**/text/**
-      - /trendAnalysis/**
\ No newline at end of file
+spring:
+  profiles:
+    active: dev
+  main:
+    allow-circular-references: true
+    allow-bean-definition-overriding: true
+  mvc:
+    pathmatch:
+      matching-strategy: ant_path_matcher
+  application:
+    name: sccg-platform
+  http:
+    charset: UTF-8
+    enabled: true
+    force: true
+
+  servlet:
+    multipart:
+      location: D://files/upload/
+      max-file-size: -1
+      max-request-size: -1
+#  jackson:
+#    default-property-inclusion: non_null
+
+
+management:
+  health:
+    rabbit:
+      enabled: false
+
+jwt:
+  tokenHeader: Authorization #JWT瀛樺偍鐨勮姹傚ご
+  secret: platform-secret #JWT鍔犺В瀵嗕娇鐢ㄧ殑瀵嗛挜
+  expiration: 604800 #JWT鐨勮秴鏈熼檺鏃堕棿(60*60*24*7)
+  tokenHead: 'Bearer ' #JWT璐熻浇涓嬁鍒板紑澶�
+
+#redis:
+#  database: sccg
+#  key:
+#    admin: 'ums:admin'
+#    resourceList: 'ums:menuList'
+#  expire:
+#    common: 86400 # 24灏忔椂
+
+#MP閰嶇疆
+mybatis-plus:
+  mapper-locations: classpath*:mapper/**/*.xml
+  global-config:
+    db-config:
+      id-type: auto
+      #閫昏緫鍒犻櫎閰嶇疆瀛楁
+      logic-delete-field:
+      #閫昏緫鍒犻櫎閰嶇疆瀛楁 1 鍒犻櫎
+      logic-delete-value: 1
+      #閫昏緫鍒犻櫎閰嶇疆瀛楁 0 涓嶅垹闄�
+      logic-not-delete-value: 0
+
+knife4j:
+  enable: true
+  #true鍒欐槸鐢熶骇鐜涓嶅厑璁歌闂甼nife4j
+  production: false
+
+secure:
+  ignored:
+    urls:
+      - /swagger-ui.html
+      - /swagger/**
+      - /swagger-ui/*
+      - /swagger-resources/**
+      - /**/v2/api-docs
+      - /doc.html
+      - /**/*.html
+      - /**/*.js
+      - /**/*.css
+      - /**/*.png
+      - /**/*.ico
+#      - /newsAdmin/login

--
Gitblit v1.8.0