From 8347a75272e7c2ba2c603fcaa0cd9430fee8191d Mon Sep 17 00:00:00 2001 From: xjs <1294405880@qq.com> Date: Mon, 28 Feb 2022 17:30:11 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E4=BF=AE=E6=94=B9apilog=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E5=88=A4=E6=96=AD=E9=97=AE=E9=A2=98=202=E3=80=81mybat?= =?UTF-8?q?isplus=E7=89=88=E6=9C=AC=E5=8D=87=E7=BA=A7=E5=88=B03.5.1=203?= =?UTF-8?q?=E3=80=81=E6=96=B0=E5=BB=BA=E5=B0=9A=E8=9E=8D=E5=AE=9D=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=8F=8A=E5=AD=90=E6=9C=8D=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 8 ++++- xjs-business/pom.xml | 1 + .../java/com/xjs/common/aop/ApiLogAspect.java | 3 +- xjs-business/xjs-business-srb/pom.xml | 32 +++++++++++++++++ .../xjs-business-srb/srb-service-base/pom.xml | 20 +++++++++++ .../xjs-business-srb/srb-service-core/pom.xml | 34 +++++++++++++++++++ 6 files changed, 95 insertions(+), 3 deletions(-) create mode 100644 xjs-business/xjs-business-srb/pom.xml create mode 100644 xjs-business/xjs-business-srb/srb-service-base/pom.xml create mode 100644 xjs-business/xjs-business-srb/srb-service-core/pom.xml diff --git a/pom.xml b/pom.xml index f10ccfc1..81fb184f 100644 --- a/pom.xml +++ b/pom.xml @@ -45,7 +45,7 @@ 3.0.3 5.7.17 - 3.4.3.4 + 3.5.1 3.6 3.14.0 3.5.1 @@ -85,6 +85,12 @@ mybatis-plus-boot-starter ${mybatisplus.version} + + + com.baomidou + mybatis-plus-generator + ${mybatisplus.version} + diff --git a/xjs-business/pom.xml b/xjs-business/pom.xml index 48242b88..5f822c5b 100644 --- a/xjs-business/pom.xml +++ b/xjs-business/pom.xml @@ -24,6 +24,7 @@ xjs-business-statistics xjs-business-webmagic xjs-business-blog + xjs-business-srb diff --git a/xjs-business/xjs-business-openapi/src/main/java/com/xjs/common/aop/ApiLogAspect.java b/xjs-business/xjs-business-openapi/src/main/java/com/xjs/common/aop/ApiLogAspect.java index 2ab1c0c0..87e3aeb1 100644 --- a/xjs-business/xjs-business-openapi/src/main/java/com/xjs/common/aop/ApiLogAspect.java +++ b/xjs-business/xjs-business-openapi/src/main/java/com/xjs/common/aop/ApiLogAspect.java @@ -149,6 +149,7 @@ public class ApiLogAspect { } } entity.setMethod(apiLog.method()); + entity.setIsSuccess(SUCCESS); String response = null; if (Objects.nonNull(jsonResult)) { response = jsonResult.toString(); @@ -161,8 +162,6 @@ public class ApiLogAspect { } if (e != null || StringUtils.isEmpty(response)) { entity.setIsSuccess(ReqConst.ERROR); - } else { - entity.setIsSuccess(SUCCESS); } remoteLogFeign.saveApiLog(entity); } diff --git a/xjs-business/xjs-business-srb/pom.xml b/xjs-business/xjs-business-srb/pom.xml new file mode 100644 index 00000000..6db1d741 --- /dev/null +++ b/xjs-business/xjs-business-srb/pom.xml @@ -0,0 +1,32 @@ + + + + xjs-business + com.xjs + 3.3.0 + + 4.0.0 + 金融模块-尚融宝 + + srb-service-base + srb-service-core + + pom + + xjs-business-srb + + + 11 + 11 + + + + + com.xjs + xjs-business-common + + + + \ No newline at end of file diff --git a/xjs-business/xjs-business-srb/srb-service-base/pom.xml b/xjs-business/xjs-business-srb/srb-service-base/pom.xml new file mode 100644 index 00000000..8a3e3194 --- /dev/null +++ b/xjs-business/xjs-business-srb/srb-service-base/pom.xml @@ -0,0 +1,20 @@ + + + + xjs-business-srb + com.xjs + 3.3.0 + + 4.0.0 + 尚融宝-基础服务 + + srb-service-base + + + 11 + 11 + + + \ No newline at end of file diff --git a/xjs-business/xjs-business-srb/srb-service-core/pom.xml b/xjs-business/xjs-business-srb/srb-service-core/pom.xml new file mode 100644 index 00000000..3f1f2113 --- /dev/null +++ b/xjs-business/xjs-business-srb/srb-service-core/pom.xml @@ -0,0 +1,34 @@ + + + + xjs-business-srb + com.xjs + 3.3.0 + + 4.0.0 + 尚融宝-核心服务 + + srb-service-core + + + 11 + 11 + + + + + + com.baomidou + mybatis-plus-generator + + + + org.apache.velocity + velocity-engine-core + + + + + \ No newline at end of file