From 10cc0db30a1be5377e4c09bce349014a667849b6 Mon Sep 17 00:00:00 2001 From: puhanshu <a9236326> Date: 星期三, 12 一月 2022 13:21:08 +0800 Subject: [PATCH] Merge branch 'phs' into test --- springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/UserService.java | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/UserService.java b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/UserService.java index 63db141..8ccf9f7 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/UserService.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/UserService.java @@ -779,4 +779,23 @@ * @return */ Boolean checkUserIsValid(Long userId, Integer type); + + /** + * 根据手机号、用户类型查询用户 + * @param phone + * @param type + * @return + */ + R getSysUserByPhone(String phone, Integer type); + + /** + * 发送验证码登录 + * @param phone 手机号 + * @param clientIP 用户ip + * @param prefixKey redis Key 前缀 + * @param limit 获取次数限制 + * @param timeout 超次数获取时间等待 + * @return + */ + R sendMessageCodeForLogin(String phone, String clientIP, String prefixKey, Integer limit, Integer timeout); } -- Gitblit v1.7.1