From 229741972d5998de57d0d246f73c5e7ff0d42530 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期五, 13 九月 2024 08:40:49 +0800 Subject: [PATCH] Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV --- pipIrr-platform/pipIrr-web/pipIrr-web-sso/src/main/java/com/dy/sso/busi/SsoSv.java | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-sso/src/main/java/com/dy/sso/busi/SsoSv.java b/pipIrr-platform/pipIrr-web/pipIrr-web-sso/src/main/java/com/dy/sso/busi/SsoSv.java index fbd0ceb..bed8576 100644 --- a/pipIrr-platform/pipIrr-web/pipIrr-web-sso/src/main/java/com/dy/sso/busi/SsoSv.java +++ b/pipIrr-platform/pipIrr-web/pipIrr-web-sso/src/main/java/com/dy/sso/busi/SsoSv.java @@ -1,6 +1,7 @@ package com.dy.sso.busi; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.dy.pipIrrGlobal.daoBa.BaCaptchaMapper; import com.dy.pipIrrGlobal.daoBa.BaUserMapper; import com.dy.pipIrrGlobal.pojoBa.BaUser; import lombok.extern.slf4j.Slf4j; @@ -11,11 +12,11 @@ import org.springframework.transaction.annotation.Transactional; import java.util.List; +import java.util.Map; @Slf4j @Service public class SsoSv { - private BaUserMapper baUserMapper; @Autowired @@ -23,6 +24,8 @@ this.baUserMapper = baUserMapper ; } + @Autowired + private BaCaptchaMapper baCaptchaMapper; /** * 闇�瑕丅aUserMapper.xml @@ -76,4 +79,13 @@ public List<String> getPhones(){ return baUserMapper.getPhones() ; } + + /** + * 渚濇嵁楠岃瘉鐮乼oken鑾峰彇楠岃瘉瀛楃 + * @param token + * @return + */ + public Map getCodeByToken(String token) { + return baCaptchaMapper.getCodeByToken(token); + } } -- Gitblit v1.8.0