From e413320d3a72baf7a631aeb56c05456de3cb4f1f Mon Sep 17 00:00:00 2001 From: fangyuan <527392886@qq.com> Date: 星期四, 17 十一月 2022 15:23:33 +0800 Subject: [PATCH] 创建警员自动创捷账号接口 --- ycl-platform/src/main/resources/application.yml | 152 ++++++++++++++++++++------------------------------ 1 files changed, 60 insertions(+), 92 deletions(-) diff --git a/ycl-platform/src/main/resources/application.yml b/ycl-platform/src/main/resources/application.yml index dd105db..0ec856e 100644 --- a/ycl-platform/src/main/resources/application.yml +++ b/ycl-platform/src/main/resources/application.yml @@ -1,92 +1,60 @@ -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: + 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 + -- Gitblit v1.8.0