From b470ce1061b03588925af9a0c0204d776b362b2e Mon Sep 17 00:00:00 2001 From: zhenghaoyu Date: Mon, 23 Oct 2023 13:58:46 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=B7=A5=E5=8E=82token=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20=E5=B0=9D=E8=AF=95=E6=80=A7=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../comfac/service/impl/FactoryTokenServiceImpl.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/blade-service/logpm-factory/src/main/java/com/logpm/factory/comfac/service/impl/FactoryTokenServiceImpl.java b/blade-service/logpm-factory/src/main/java/com/logpm/factory/comfac/service/impl/FactoryTokenServiceImpl.java index f9060c269..ae93c6639 100644 --- a/blade-service/logpm-factory/src/main/java/com/logpm/factory/comfac/service/impl/FactoryTokenServiceImpl.java +++ b/blade-service/logpm-factory/src/main/java/com/logpm/factory/comfac/service/impl/FactoryTokenServiceImpl.java @@ -1,6 +1,5 @@ package com.logpm.factory.comfac.service.impl; -import com.alibaba.nacos.common.utils.MD5Utils; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.logpm.factory.comfac.mapper.FactoryTokenMapper; import com.logpm.factory.comfac.service.IFactoryTokenService; @@ -11,7 +10,6 @@ import org.slf4j.LoggerFactory; import org.springblade.core.mp.base.BaseServiceImpl; import org.springframework.stereotype.Service; -import java.nio.charset.StandardCharsets; import java.security.NoSuchAlgorithmException; import java.util.Date; import java.util.Objects; @@ -26,11 +24,11 @@ public class FactoryTokenServiceImpl extends BaseServiceImpl queryWrapper = new QueryWrapper<>(); - queryWrapper.eq("token_abst",tokenAbst) + queryWrapper.eq("token",token) .eq("corpid",corpId); FactoryToken factoryToken = baseMapper.selectOne(queryWrapper); if(Objects.isNull(factoryToken)){