From dbebf83224d9aa1ad328d8d34e26d3a1f42597f8 Mon Sep 17 00:00:00 2001
From: goupan <goupan@chinapopin.com>
Date: 星期三, 24 四月 2024 17:37:03 +0800
Subject: [PATCH] 代码提交

---
 rest/src/main/java/cn/stylefeng/rest/modular/order/controller/MentalTestOrderController.java |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/rest/src/main/java/cn/stylefeng/rest/modular/order/controller/MentalTestOrderController.java b/rest/src/main/java/cn/stylefeng/rest/modular/order/controller/MentalTestOrderController.java
index 58f62e8..77a0055 100644
--- a/rest/src/main/java/cn/stylefeng/rest/modular/order/controller/MentalTestOrderController.java
+++ b/rest/src/main/java/cn/stylefeng/rest/modular/order/controller/MentalTestOrderController.java
@@ -98,15 +98,6 @@
         Assert.isTrue(StrUtil.isNotBlank(req.getRealName()), "姓名不能为空");
         Assert.isTrue(StrUtil.isNotBlank(req.getLinkPhone()), "联系电话不能为空");
         OrderConsultOne o = mentalTestOrderBizService.createOrderConsultOne(req);
-        try {
-            Customer customer = new Customer();
-            BeanUtil.copyProperties(req, customer);
-            LoginUser loginUser = LoginContext.me().getLoginUser();
-            customer.setCustomerId(loginUser.getUserId());
-            customerService.updateById(customer);
-        } catch (Exception e) {
-            log.info("修改用户信息报错");
-        }
         return new SuccessResponseData(o);
     }
 

--
Gitblit v1.7.1