From 3c8577ec54953d6fbc8d272fae2ed8a48b0105b5 Mon Sep 17 00:00:00 2001 From: chaiyapeng <3535863041@qq.com> Date: Mon, 2 Sep 2024 15:51:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=AD=E4=B9=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/muyu/system/service/impl/BuyServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/muyu/system/service/impl/BuyServiceImpl.java b/src/main/java/com/muyu/system/service/impl/BuyServiceImpl.java index d13aa7a..6b76494 100644 --- a/src/main/java/com/muyu/system/service/impl/BuyServiceImpl.java +++ b/src/main/java/com/muyu/system/service/impl/BuyServiceImpl.java @@ -33,9 +33,9 @@ public class BuyServiceImpl extends ServiceImpl implements Long userId = SecurityUtils.getUserId(); // //获取当前的用户信息 // LoginUser loginUser = SecurityUtils.getLoginUser(); + connectorUser.setUserId(userId); ConnectorUser connectorUser1 = buyMapper.selectConnectorUser(connectorUser); if (connectorUser1==null){ - connectorUser.setUserId(userId); Integer i = buyMapper.addConnectorUser(connectorUser); if (i>0){ buyMapper.doBuyInterface(connectorUser);