From 8f74ae5bd0490cb9192eda23166847d7370677aa Mon Sep 17 00:00:00 2001 From: haoxr <1490493387@qq.com> Date: Sun, 21 Mar 2021 14:16:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:logback=E6=97=A5=E5=BF=97=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../youlai/mall/oms/enums/PayTypeEnum.java | 3 +- .../mall/oms/config/RabbitMQConfig.java | 2 +- .../youlai/mall/oms/listener/OmsListener.java | 2 +- .../mall/oms/service/IOrderPayService.java | 20 ------ .../mall/oms/service/IOrderService.java | 8 ++- .../oms/service/impl/CartServiceImpl.java | 2 +- .../oms/service/impl/OrderPayServiceImpl.java | 69 ------------------- .../oms/service/impl/OrderServiceImpl.java | 51 ++++++++++++-- .../app/CartController.java | 2 +- .../app/OrderController.java | 8 +-- .../youlai/mall/oms/test/RabbitMQTest.java | 22 ++++++ .../pms/controller/admin/SpuController.java | 6 +- .../mall/pms/service/IPmsSpuService.java | 4 +- .../pms/service/impl/PmsSpuServiceImpl.java | 24 +++---- .../src/main/resources/logback-spring.xml | 15 +--- 15 files changed, 102 insertions(+), 136 deletions(-) delete mode 100644 mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/service/IOrderPayService.java delete mode 100644 mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/service/impl/OrderPayServiceImpl.java rename mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/{controller => test}/app/CartController.java (98%) rename mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/{controller => test}/app/OrderController.java (92%) create mode 100644 mall-oms/oms-boot/src/test/java/com/youlai/mall/oms/test/RabbitMQTest.java diff --git a/mall-oms/oms-api/src/main/java/com/youlai/mall/oms/enums/PayTypeEnum.java b/mall-oms/oms-api/src/main/java/com/youlai/mall/oms/enums/PayTypeEnum.java index a9d3db533..ee74c5195 100644 --- a/mall-oms/oms-api/src/main/java/com/youlai/mall/oms/enums/PayTypeEnum.java +++ b/mall-oms/oms-api/src/main/java/com/youlai/mall/oms/enums/PayTypeEnum.java @@ -22,7 +22,7 @@ public enum PayTypeEnum { @Getter private String text; - public static PayTypeEnum getValue(Integer code){ + public static PayTypeEnum getByCode(Integer code){ for (PayTypeEnum value : values()) { if (value.getCode().equals(code)) { return value; @@ -30,5 +30,4 @@ public enum PayTypeEnum { } return null; } - } diff --git a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/config/RabbitMQConfig.java b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/config/RabbitMQConfig.java index 29cd54221..23936996f 100644 --- a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/config/RabbitMQConfig.java +++ b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/config/RabbitMQConfig.java @@ -42,7 +42,7 @@ public class RabbitMQConfig { Map args = new HashMap<>(); args.put("x-dead-letter-exchange", "order.exchange"); args.put("x-dead-letter-routing-key", "order:close"); // 死信路由Key - args.put("x-message-ttl", 60000); // 单位:毫秒,1分钟测试使用 + args.put("x-message-ttl", 10000); // 单位:毫秒,1分钟测试使用 return new Queue("order.delay.queue", true, false, false, args); } diff --git a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/listener/OmsListener.java b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/listener/OmsListener.java index bb868a8d9..8306e733d 100644 --- a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/listener/OmsListener.java +++ b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/listener/OmsListener.java @@ -46,7 +46,7 @@ public class OmsListener { log.info("=======================系统自动关闭订单消息消费失败,重新入队======================="); try { channel.basicReject(message.getMessageProperties().getDeliveryTag(), true); - } catch (IOException ioException) { + } catch (Exception ioException) { log.error("系统关单失败"); } } diff --git a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/service/IOrderPayService.java b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/service/IOrderPayService.java deleted file mode 100644 index a70678b2f..000000000 --- a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/service/IOrderPayService.java +++ /dev/null @@ -1,20 +0,0 @@ -package com.youlai.mall.oms.service; - -import com.baomidou.mybatisplus.extension.service.IService; - -import com.youlai.mall.oms.pojo.domain.OmsOrderPay; - -/** - * 支付信息表 - * - * @author huawei - * @email huawei_code@163.com - * @date 2020-12-30 22:31:10 - */ - -public interface IOrderPayService extends IService { - - boolean pay(Long orderId); - -} - diff --git a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/service/IOrderService.java b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/service/IOrderService.java index 2d77e6969..1cf4a8b68 100644 --- a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/service/IOrderService.java +++ b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/service/IOrderService.java @@ -27,10 +27,16 @@ public interface IOrderService extends IService { OrderConfirmVO confirm(OrderConfirmDTO orderConfirmDTO); /** - * 提交订单 + * 订单提交 */ OrderSubmitVO submit(OrderSubmitDTO orderSubmitDTO) ; + /** + * 订单支付 + */ + boolean pay(Long orderId); + + /** * 系统关闭订单 */ diff --git a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/service/impl/CartServiceImpl.java b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/service/impl/CartServiceImpl.java index 262dadcdb..e650f422d 100644 --- a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/service/impl/CartServiceImpl.java +++ b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/service/impl/CartServiceImpl.java @@ -93,7 +93,7 @@ public class CartServiceImpl implements ICartService { cartItem.setPrice(sku.getPrice()); cartItem.setPic(sku.getPic()); cartItem.setSkuId(sku.getId()); - cartItem.setTitle(sku.getTitle()); + cartItem.setTitle(sku.getName()); cartItem.setStock(sku.getStock()); cartItem.setChecked(true); } diff --git a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/service/impl/OrderPayServiceImpl.java b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/service/impl/OrderPayServiceImpl.java deleted file mode 100644 index c181e793e..000000000 --- a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/service/impl/OrderPayServiceImpl.java +++ /dev/null @@ -1,69 +0,0 @@ -package com.youlai.mall.oms.service.impl; - -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; -import com.youlai.common.result.Result; -import com.youlai.common.web.exception.BizException; -import com.youlai.common.web.util.RequestUtils; -import com.youlai.mall.oms.enums.OrderStatusEnum; -import com.youlai.mall.oms.enums.PayTypeEnum; -import com.youlai.mall.oms.mapper.OrderPayMapper; -import com.youlai.mall.oms.pojo.domain.OmsOrder; -import com.youlai.mall.oms.pojo.domain.OmsOrderPay; -import com.youlai.mall.oms.service.ICartService; -import com.youlai.mall.oms.service.IOrderPayService; -import com.youlai.mall.oms.service.IOrderService; -import com.youlai.mall.pms.api.app.PmsSkuFeignService; -import com.youlai.mall.ums.api.UmsMemberFeignService; -import io.seata.spring.annotation.GlobalTransactional; -import lombok.AllArgsConstructor; -import lombok.extern.slf4j.Slf4j; -import org.springframework.stereotype.Service; - -import java.util.Date; - - -@Slf4j -@Service -@AllArgsConstructor -public class OrderPayServiceImpl extends ServiceImpl implements IOrderPayService { - - private IOrderService orderService; - private UmsMemberFeignService memberFeignService; - private PmsSkuFeignService skuFeignService; - private ICartService cartService; - - @Override - @GlobalTransactional(rollbackFor = Exception.class) - public boolean pay(Long orderId) { - - OmsOrder order = orderService.getById(orderId); - if (order != null && !OrderStatusEnum.PENDING_PAYMENT.getCode().equals(order.getStatus())) { - throw new BizException("支付失败,请检查订单状态"); - } - - // 扣减余额 - Long userId = RequestUtils.getUserId(); - Long payAmount = order.getPayAmount(); - Result deductBalanceResult = memberFeignService.deductBalance(userId, payAmount); - if (!Result.isSuccess(deductBalanceResult)) { - throw new BizException("扣减账户余额失败"); - } - - // 扣减库存 - Result deductStockResult = skuFeignService.deductStock(order.getOrderSn()); - if (!Result.isSuccess(deductStockResult)) { - throw new BizException("扣减商品库存失败"); - } - - // 更新订单状态 - order.setStatus(OrderStatusEnum.PAID.getCode()); - order.setPayType(PayTypeEnum.BALANCE.getCode()); - order.setPayTime(new Date()); - orderService.updateById(order); - - // 支付成功删除购物车已勾选的商品 - cartService.removeCheckedItem(); - - return true; - } -} diff --git a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/service/impl/OrderServiceImpl.java b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/service/impl/OrderServiceImpl.java index 2000a11f3..bb99fa8d6 100644 --- a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/service/impl/OrderServiceImpl.java +++ b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/service/impl/OrderServiceImpl.java @@ -14,6 +14,7 @@ import com.youlai.common.web.util.BeanMapperUtils; import com.youlai.common.web.util.RequestUtils; import com.youlai.mall.oms.enums.OrderStatusEnum; import com.youlai.mall.oms.enums.OrderTypeEnum; +import com.youlai.mall.oms.enums.PayTypeEnum; import com.youlai.mall.oms.mapper.OrderMapper; import com.youlai.mall.oms.pojo.domain.OmsOrder; import com.youlai.mall.oms.pojo.domain.OmsOrderItem; @@ -29,6 +30,7 @@ import com.youlai.mall.pms.pojo.domain.PmsSku; import com.youlai.mall.pms.pojo.domain.PmsSpu; import com.youlai.mall.pms.pojo.dto.SkuLockDTO; import com.youlai.mall.ums.api.UmsAddressFeignService; +import com.youlai.mall.ums.api.UmsMemberFeignService; import com.youlai.mall.ums.pojo.domain.UmsAddress; import io.seata.spring.annotation.GlobalTransactional; import lombok.AllArgsConstructor; @@ -58,6 +60,7 @@ public class OrderServiceImpl extends ServiceImpl impleme private RabbitTemplate rabbitTemplate; private StringRedisTemplate redisTemplate; private ThreadPoolExecutor threadPoolExecutor; + private UmsMemberFeignService memberFeignService; /** * 订单确认 @@ -78,7 +81,7 @@ public class OrderServiceImpl extends ServiceImpl impleme PmsSku sku = skuFeignService.getSkuById(orderConfirmDTO.getSkuId()).getData(); orderItemDTO.setPrice(sku.getPrice()); orderItemDTO.setPic(sku.getPic()); - orderItemDTO.setTitle(sku.getTitle()); + orderItemDTO.setTitle(sku.getName()); orderItems.add(orderItemDTO); } else { // 购物车中商品结算 List cartItems = cartService.getCartItems(memberId); @@ -134,7 +137,7 @@ public class OrderServiceImpl extends ServiceImpl impleme List orderItems = submitDTO.getOrderItems(); if (CollectionUtil.isEmpty(orderItems)) { - throw new BizException("订单"); + throw new BizException("订单没有商品,请选择商品后提交"); } // 订单验价 @@ -175,7 +178,6 @@ public class OrderServiceImpl extends ServiceImpl impleme .setTotalQuantity(orderItems.stream().map(item -> item.getCount()).reduce(0, (x, y) -> x + y)) .setTotalAmount(orderItems.stream().map(item -> item.getPrice() * item.getCount()).reduce(0l, (x, y) -> x + y)) .setGmtCreate(new Date()); - ; this.save(order); // 创建订单商品 @@ -190,6 +192,7 @@ public class OrderServiceImpl extends ServiceImpl impleme orderItemService.saveBatch(orderItemList); // 将订单放入延时队列,超时未支付由交换机order.exchange切换到死信队列完成系统自动关单 + log.info("订单超时取消RabbitMQ消息发送,订单SN:{}",orderToken); rabbitTemplate.convertAndSend("order.exchange", "order.create", orderToken); OrderSubmitVO submitVO = new OrderSubmitVO(); @@ -200,12 +203,52 @@ public class OrderServiceImpl extends ServiceImpl impleme } + /** + * 订单支付 + * @param orderId + * @return + */ + @Override + @GlobalTransactional(rollbackFor = Exception.class) + public boolean pay(Long orderId) { + + OmsOrder order = this.getById(orderId); + if (order != null && !OrderStatusEnum.PENDING_PAYMENT.getCode().equals(order.getStatus())) { + throw new BizException("支付失败,请检查订单状态"); + } + + // 扣减余额 + Long userId = RequestUtils.getUserId(); + Long payAmount = order.getPayAmount(); + Result deductBalanceResult = memberFeignService.deductBalance(userId, payAmount); + if (!Result.isSuccess(deductBalanceResult)) { + throw new BizException("扣减账户余额失败"); + } + + // 扣减库存 + Result deductStockResult = skuFeignService.deductStock(order.getOrderSn()); + if (!Result.isSuccess(deductStockResult)) { + throw new BizException("扣减商品库存失败"); + } + + // 更新订单状态 + order.setStatus(OrderStatusEnum.PAID.getCode()); + order.setPayType(PayTypeEnum.BALANCE.getCode()); + order.setPayTime(new Date()); + this.updateById(order); + + // 支付成功删除购物车已勾选的商品 + cartService.removeCheckedItem(); + + return true; + } + @Override public boolean closeOrder(String orderToken) { log.info("=======================订单关闭,订单SN:{}=======================", orderToken); OmsOrder order = this.getOne(new LambdaQueryWrapper() .eq(OmsOrder::getOrderSn, orderToken)); - if (!OrderStatusEnum.PENDING_PAYMENT.getCode().equals(order.getStatus())) { + if (order==null||!OrderStatusEnum.PENDING_PAYMENT.getCode().equals(order.getStatus())) { return false; } order.setStatus(OrderStatusEnum.AUTO_CANCEL.getCode()); diff --git a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/controller/app/CartController.java b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/test/app/CartController.java similarity index 98% rename from mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/controller/app/CartController.java rename to mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/test/app/CartController.java index 30c55ba81..13d1005ec 100644 --- a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/controller/app/CartController.java +++ b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/test/app/CartController.java @@ -1,4 +1,4 @@ -package com.youlai.mall.oms.controller.app; +package com.youlai.mall.oms.test.app; import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; import com.youlai.common.result.Result; diff --git a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/controller/app/OrderController.java b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/test/app/OrderController.java similarity index 92% rename from mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/controller/app/OrderController.java rename to mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/test/app/OrderController.java index b237abae1..75eb98284 100644 --- a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/controller/app/OrderController.java +++ b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/test/app/OrderController.java @@ -1,4 +1,4 @@ -package com.youlai.mall.oms.controller.app; +package com.youlai.mall.oms.test.app; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; @@ -9,7 +9,6 @@ import com.youlai.mall.oms.pojo.dto.OrderConfirmDTO; import com.youlai.mall.oms.pojo.vo.OrderConfirmVO; import com.youlai.mall.oms.pojo.vo.OrderSubmitVO; import com.youlai.mall.oms.pojo.dto.OrderSubmitDTO; -import com.youlai.mall.oms.service.IOrderPayService; import com.youlai.mall.oms.service.IOrderService; import io.swagger.annotations.*; import lombok.AllArgsConstructor; @@ -32,7 +31,6 @@ import javax.validation.Valid; public class OrderController { private IOrderService orderService; - private IOrderPayService orderPayService; @ApiOperation("订单列表") @GetMapping @@ -73,11 +71,11 @@ public class OrderController { @ApiImplicitParam(name = "payType", value = "支付方式", paramType = "query", dataType = "Integer") }) public Result pay(@PathVariable Long orderId, Integer payType) { - PayTypeEnum payTypeEnum = PayTypeEnum.getValue(payType); + PayTypeEnum payTypeEnum = PayTypeEnum.getByCode(payType); switch (payTypeEnum) { case BALANCE: - orderPayService.pay(orderId); + orderService.pay(orderId); break; default: return Result.failed("系统暂不支持该支付方式~"); diff --git a/mall-oms/oms-boot/src/test/java/com/youlai/mall/oms/test/RabbitMQTest.java b/mall-oms/oms-boot/src/test/java/com/youlai/mall/oms/test/RabbitMQTest.java new file mode 100644 index 000000000..f6879945c --- /dev/null +++ b/mall-oms/oms-boot/src/test/java/com/youlai/mall/oms/test/RabbitMQTest.java @@ -0,0 +1,22 @@ +package com.youlai.mall.oms.test; + + +import lombok.extern.slf4j.Slf4j; +import org.junit.jupiter.api.Test; +import org.springframework.amqp.rabbit.core.RabbitTemplate; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.boot.test.context.SpringBootTest; + + +@SpringBootTest +@Slf4j +public class RabbitMQTest { + + @Autowired + private RabbitTemplate rabbitTemplate; + + @Test + public void createOrderTest() { + rabbitTemplate.convertAndSend("order.exchange", "order.create", "4acd475a-c6aa-4d9a-a3a5-40da7472cbee"); + } +} diff --git a/mall-pms/pms-boot/src/main/java/com/youlai/mall/pms/controller/admin/SpuController.java b/mall-pms/pms-boot/src/main/java/com/youlai/mall/pms/controller/admin/SpuController.java index 3457ab841..5eb4e1e23 100644 --- a/mall-pms/pms-boot/src/main/java/com/youlai/mall/pms/controller/admin/SpuController.java +++ b/mall-pms/pms-boot/src/main/java/com/youlai/mall/pms/controller/admin/SpuController.java @@ -68,10 +68,10 @@ public class SpuController { @ApiOperation(value = "新增商品") - @ApiImplicitParam(name = "spuBO", value = "实体JSON对象", required = true, paramType = "body", dataType = "PmsSpuBO") + @ApiImplicitParam(name = "productBO", value = "实体JSON对象", required = true, paramType = "body", dataType = "ProductBO") @PostMapping - public Result add(@RequestBody ProductBO spuBO) { - boolean status = iPmsSpuService.add(spuBO); + public Result add(@RequestBody ProductBO productBO) { + boolean status = iPmsSpuService.add(productBO); return Result.judge(status); } diff --git a/mall-pms/pms-boot/src/main/java/com/youlai/mall/pms/service/IPmsSpuService.java b/mall-pms/pms-boot/src/main/java/com/youlai/mall/pms/service/IPmsSpuService.java index 11c6c7ea9..056517e9c 100644 --- a/mall-pms/pms-boot/src/main/java/com/youlai/mall/pms/service/IPmsSpuService.java +++ b/mall-pms/pms-boot/src/main/java/com/youlai/mall/pms/service/IPmsSpuService.java @@ -12,13 +12,13 @@ public interface IPmsSpuService extends IService { IPage list(Page page, PmsSpu spu); - boolean add(com.youlai.mall.pms.pojo.bo.admin.ProductBO spuBO); + boolean add(com.youlai.mall.pms.pojo.bo.admin.ProductBO productBO); com.youlai.mall.pms.pojo.bo.admin.ProductBO getBySpuId(Long id); boolean removeBySpuIds(List spuIds); - boolean updateById(com.youlai.mall.pms.pojo.bo.admin.ProductBO spuBO); + boolean updateById(com.youlai.mall.pms.pojo.bo.admin.ProductBO productBO); ProductBO getProductByIdForApp(Long id); } diff --git a/mall-pms/pms-boot/src/main/java/com/youlai/mall/pms/service/impl/PmsSpuServiceImpl.java b/mall-pms/pms-boot/src/main/java/com/youlai/mall/pms/service/impl/PmsSpuServiceImpl.java index e33bd9a36..7fe744989 100644 --- a/mall-pms/pms-boot/src/main/java/com/youlai/mall/pms/service/impl/PmsSpuServiceImpl.java +++ b/mall-pms/pms-boot/src/main/java/com/youlai/mall/pms/service/impl/PmsSpuServiceImpl.java @@ -43,11 +43,11 @@ public class PmsSpuServiceImpl extends ServiceImpl impleme @Override @Transactional - public boolean add(ProductBO spuBO) { - SpuDTO SpuDTO = spuBO.getSpu(); - List attrValues = spuBO.getAttrs(); - List specs = spuBO.getSpecs(); - List skuList = spuBO.getSkus(); + public boolean add(ProductBO productBO) { + SpuDTO SpuDTO = productBO.getSpu(); + List attrValues = productBO.getAttrs(); + List specs = productBO.getSpecs(); + List skuList = productBO.getSkus(); // spu保存 PmsSpu spu = new PmsSpu(); @@ -101,18 +101,18 @@ public class PmsSpuServiceImpl extends ServiceImpl impleme List skus = iPmsSkuService.list(new LambdaQueryWrapper().eq(PmsSku::getSpuId, id)); // 组合 - ProductBO spuBO = new ProductBO(spuDTO, attrs, specs, skus); - return spuBO; + ProductBO productBO = new ProductBO(spuDTO, attrs, specs, skus); + return productBO; } @Override - public boolean updateById(com.youlai.mall.pms.pojo.bo.admin.ProductBO spuBO) { - SpuDTO SpuDTO = spuBO.getSpu(); + public boolean updateById(com.youlai.mall.pms.pojo.bo.admin.ProductBO productBO) { + SpuDTO SpuDTO = productBO.getSpu(); - List attrValues = spuBO.getAttrs(); - List specs = spuBO.getSpecs(); - List skuList = spuBO.getSkus(); + List attrValues = productBO.getAttrs(); + List specs = productBO.getSpecs(); + List skuList = productBO.getSkus(); // spu保存 PmsSpu spu = new PmsSpu(); diff --git a/youlai-common/common-web/src/main/resources/logback-spring.xml b/youlai-common/common-web/src/main/resources/logback-spring.xml index da82da320..f3a33e841 100644 --- a/youlai-common/common-web/src/main/resources/logback-spring.xml +++ b/youlai-common/common-web/src/main/resources/logback-spring.xml @@ -59,21 +59,8 @@ - - - - - - - - - - - - - - INFO +