From 05bc20591b6736828a3f0c806a30d9f16275ab83 Mon Sep 17 00:00:00 2001 From: jlfuqj Date: Fri, 23 Sep 2022 14:55:53 +0000 Subject: [PATCH 1/2] jasypt --- src/main/resources/application.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 89394d5..75cafd4 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -6,4 +6,7 @@ app: apollo: bootstrap: enabled: true - namespace: application \ No newline at end of file + namespace: application +jasypt: + encryptor: + bean: stringEncryptor \ No newline at end of file From d334ef014d9292740f06aac1bdef39ac096aaef3 Mon Sep 17 00:00:00 2001 From: yss <17921@qq.com> Date: Thu, 29 Sep 2022 14:33:04 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E9=A3=8E=E6=8E=A7=E4=B8=AD=E5=BF=83-?= =?UTF-8?q?=E5=8A=A0=E6=97=A5=E5=BF=97=E6=B3=A8=E8=A7=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../extend/feign/client/RiskManageRegulationService.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/feign/client/RiskManageRegulationService.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/feign/client/RiskManageRegulationService.java index d1ff15b..00c980d 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/extend/feign/client/RiskManageRegulationService.java +++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/feign/client/RiskManageRegulationService.java @@ -6,6 +6,9 @@ package com.chinaunicom.mall.ebtp.extend.feign.client; * @date 2021/08/18 */ import com.chinaunicom.mall.ebtp.common.base.entity.BaseResponse; +import com.chinaunicom.mall.ebtp.common.log.OperationLogDetail; +import com.chinaunicom.mall.ebtp.common.log.enums.EbtpLogBusinessModule; +import com.chinaunicom.mall.ebtp.common.log.enums.EbtpLogType; import com.chinaunicom.mall.ebtp.extend.feign.client.factory.RiskManageRegulationServiceFallbackFactory; import com.chinaunicom.mall.ebtp.extend.riskmanage.entity.RiskManageRegulation; import com.chinaunicom.mall.ebtp.extend.riskmanage.entity.RiskManageRegulationGroupApply; @@ -26,6 +29,7 @@ public interface RiskManageRegulationService { * @return 返回结果 */ @PostMapping({"/findRegulationParams"}) + @OperationLogDetail(businessModule = EbtpLogBusinessModule.OTHER,operationType = EbtpLogType.SELECT,detail = "风控中心- 查询规则模型列表接口") BaseResponse> findRegulationParams(@RequestBody RiskManageRegulation riskManageRegulation); /** @@ -34,5 +38,6 @@ public interface RiskManageRegulationService { * @return 返回结果 */ @PostMapping({"/applyRegulation"}) + @OperationLogDetail(businessModule = EbtpLogBusinessModule.OTHER,operationType = EbtpLogType.SELECT,detail = "风控中心- 执行风控规则") BaseResponse applyRegulation(@RequestBody RiskManageRegulationGroupApply regulationGroupApply); }