From b3b566ebdfed4005aaa513da3d5d2fd3924903cc Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Wed, 31 Jan 2024 16:17:54 +0800
Subject: [PATCH] 拿不到地址总表数据,不设置网格信息

---
 src/main/resources/application.yml |   62 +++++++++++++++++++++++++++++-
 1 files changed, 59 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index cff1e91..62059c1 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -13,6 +13,8 @@
     direct-buffers: true
 
 spring:
+  profiles:
+    active: test
   datasource:
     driver-class-name: com.mysql.cj.jdbc.Driver
     #driver-class-name: org.postgresql.Driver
@@ -44,7 +46,32 @@
         exclusions: '*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*'
         session-stat-enable: true
         session-stat-max-count: 10
+  main:
+    allow-circular-references: true
+  #邮件配置
+  mail:
+    # 配置 SMTP 服务器地址
+    host: smtp.qq.com
+    # 发送者邮箱
+    username: 503*****@qq.com
+    # 配置密码,注意不是真正的密码,而是刚刚申请到的授权码
+    password: apbpxb****bwtbiha
+    # 端口号465或587
+    port: 587
+    # 默认的邮件编码为UTF-8
+    default-encoding: UTF-8
+    # 配置SSL 加密工厂
+    properties:
+      mail:
+        smtp:
+          socketFactoryClass: javax.net.ssl.SSLSocketFactory
+        #表示开启 DEBUG 模式,这样,邮件发送过程的日志会在控制台打印出来,方便排查错误
+        debug: true
+    protocol: smtps
 
+#  jackson:
+#    date-format: yyyy-MM-dd HH:mm:ss
+#    time-zone: GMT+8
 # mybatis
 mybatis-plus:
   mapper-locations: classpath:org/springblade/**/mapper/*Mapper.xml
@@ -121,17 +148,18 @@
 
 #报表配置
 report:
-  enabled: false
+  enabled: true
   database:
     provider:
       prefix: blade-
+  file-store-dir: D:/myfile/ureportDbfiles
 
 #oss默认配置
 oss:
   enabled: true
   name: qiniu
   tenant-mode: true
-  endpoint: http://prt1thnw3.bkt.clouddn.com
+  endpoint: https://srgdjczzxtpt.com:2080/gminio/jczz/
   access-key: N_Loh1ngBqcJovwiAJqR91Ifj2vgOWHOf8AwBA_h
   secret-key: AuzuA1KHAbkIndCU0dB3Zfii2O3crHNODDmpxHRS
   bucket-name: bladex
@@ -182,7 +210,7 @@
   #jackson配置
   jackson:
     #null自动转空值
-    null-to-empty: true
+    null-to-empty: false
     #大数字自动转字符串
     big-num-to-string: true
     #支持text文本请求,与报文加密同时开启
@@ -194,11 +222,39 @@
       - /blade-chat/weixin
       - /blade-desk/notice/submit
       - /blade-flow/model/submit
+      - /blade-article/article/submit
   #安全框架配置
   secure:
     #接口放行
     skip-url:
       - /blade-test/**
+      - /sse/**
+      - /blade-doorplateAddress/doorplateAddress/getFuncList
+      - /blade-rotation/rotation/page
+      - /blade-article/article/page
+      - /blade-article/article/detail
+      - /blade-articleComment/articleComment/page
+      - /public_discuss/publicDiscuss/detail
+      - /blade-userPublicEnroll/userPublicEnroll/page
+      - /blade-topics/topics/lists
+      - /blade-household/household/getHouseholdOtherInfo
+#      - /blade-doorplateAddress/doorplateAddress/**
+#      - /blade-house/house/**
+#      - /blade-household/household/**
+#      - /blade-label/label/**
+#      - /blade-houseRental/houseRental/**
+#      - /blade-resource/oss/**
+      - /blade-resource/oss/endpoint/put-file
+      - /blade-hiddenDangerRecord/**
+#      - /blade-place/**
+#      - /blade-taskReportForRepairs/**
+#      - /blade-placeExt/**
+#      - /blade-grid/**
+#      - /blade-gridman/**
+#      - /blade-propertyCompany/**
+#      - /blade-eCallEvent/**
+#      - /blade-system/**
+#      - /blade-propertyCompanyComment/**
     #授权认证配置
     auth:
       - method: ALL

--
Gitblit v1.9.3