From f9fcd627d2ce444f66de65393f843006b88b3a7c Mon Sep 17 00:00:00 2001 From: smallchill Date: Mon, 8 Jun 2020 17:37:56 +0800 Subject: [PATCH] =?UTF-8?q?:tada:=20=E6=B7=BB=E5=8A=A0=E5=85=A8=E5=B1=80?= =?UTF-8?q?=E6=8A=A5=E6=96=87=E5=8A=A0=E5=AF=86=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blade-service/pom.xml | 4 ++++ doc/nacos/blade.yaml | 12 +++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/blade-service/pom.xml b/blade-service/pom.xml index df71c668..d9cbcc1f 100644 --- a/blade-service/pom.xml +++ b/blade-service/pom.xml @@ -32,6 +32,10 @@ org.springblade blade-starter-tenant + + org.springblade + blade-starter-api-crypto + org.springblade blade-dict-api diff --git a/doc/nacos/blade.yaml b/doc/nacos/blade.yaml index 15f7ce10..4fbdd4ae 100644 --- a/doc/nacos/blade.yaml +++ b/doc/nacos/blade.yaml @@ -73,13 +73,23 @@ blade: token: #是否有状态 state: false + #接口配置 + api: + #报文加密配置 + crypto: + #启用报文加密配置 + enabled: false + #使用AesUtil.genAesKey()生成 + aes-key: O2BEeIv399qHQNhD6aGW8R8DEj4bqHXm + #使用DesUtil.genDesKey()生成 + des-key: jMVCBsFGDQr1USHo #jackson配置 jackson: #null自动转空值 null-to-empty: true #大数字自动转字符串 big-num-to-string: true - #支持text文本 + #支持text文本请求,与报文加密同时开启 support-text-plain: false #xss配置 xss: