From a986c0fb35392381aa16cbc1337f2809dd54c944 Mon Sep 17 00:00:00 2001 From: wxy <14293288+zysysys@user.noreply.gitee.com> Date: Fri, 6 Sep 2024 12:07:50 +0800 Subject: [PATCH] =?UTF-8?q?refactor(server):=20=E6=9B=B4=E6=96=B0bootstrap?= =?UTF-8?q?.yml=E9=85=8D=E7=BD=AE=E5=B9=B6=E4=BC=98=E5=8C=96ConnectorContr?= =?UTF-8?q?oller=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 注释更新,反映Nacos地址和Spring框架ID。 - 在ConnectorController中添加新接口findApiById,优化API小卡片列表接口。 - 更新ConnectorMapper,添加findApiById方法。 - 在ConnectorMappers.xml中添加对应的SQL查询。 - 更新ConnectorService接口,添加findApiById方法。 - 在ConnectorServiceImpl中实现findApiById方法。 -调整MarketController中的接口,规范化请求映射。 feat(server): 添加Mart相关组件 - 创建MartController,MartMapper,MartService及其实现类MartServiceImpl。 - 在pom.xml中添加cloud-modules-system依赖。- 在mapper目录下添加MartUserMapper.xml文件。 - 在src/main/java/com/muyu/cloud/mart/domain/pojo下创建User.java。 BREAKING CHANGE: 在bootstrap.yml中修改Nacos地址和Spring ID注释可能导致环境特定配置发生变化。请检查这些更改并根据需要调整环境配置。 --- cloud-mart-server/pom.xml | 4 ---- .../java/com/muyu/cloud/mart/controller/MartController.java | 2 +- cloud-mart-server/src/main/resources/bootstrap.yml | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/cloud-mart-server/pom.xml b/cloud-mart-server/pom.xml index 2553d5c..a8d0e8a 100644 --- a/cloud-mart-server/pom.xml +++ b/cloud-mart-server/pom.xml @@ -21,10 +21,6 @@ - - com.muyu - cloud-modules-system - diff --git a/cloud-mart-server/src/main/java/com/muyu/cloud/mart/controller/MartController.java b/cloud-mart-server/src/main/java/com/muyu/cloud/mart/controller/MartController.java index e68dcda..e71b4f9 100644 --- a/cloud-mart-server/src/main/java/com/muyu/cloud/mart/controller/MartController.java +++ b/cloud-mart-server/src/main/java/com/muyu/cloud/mart/controller/MartController.java @@ -1,7 +1,7 @@ package com.muyu.cloud.mart.controller; //import com.muyu.system.service.SysUserService; -import com.alipay.api.AlipayApiException; + import com.muyu.cloud.mart.service.MartService; import com.muyu.common.core.domain.Result; import com.muyu.common.core.web.page.TableDataInfo; diff --git a/cloud-mart-server/src/main/resources/bootstrap.yml b/cloud-mart-server/src/main/resources/bootstrap.yml index bdfac88..f8e96c7 100644 --- a/cloud-mart-server/src/main/resources/bootstrap.yml +++ b/cloud-mart-server/src/main/resources/bootstrap.yml @@ -8,7 +8,7 @@ nacos: user-name: nacos password: nacos namespace: cloud-2112 -# Spring a72d4b95-5f82-4ada-87e0-0cc42053ea39 +# Spring a72d4b95-5f82-4ada-87e0-0cc42053ea39 spring: application: