diff --git a/epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/redis/RedisKeys.java b/epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/redis/RedisKeys.java index 3c883ea2ac..bf7c8f1a83 100644 --- a/epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/redis/RedisKeys.java +++ b/epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/redis/RedisKeys.java @@ -277,4 +277,15 @@ public class RedisKeys { public static String getPointVerificationResultKey(String userId){ return rootPrefix.concat("resi:point:exchange:").concat(userId); } + + /** + * 居民端 - 志愿者认证发送验证码 epmet:smscode:regvolunteer:phone + * @param phone + * @return java.lang.String + * @Author zhangyong + * @Date 10:09 2020-08-10 + **/ + public static String getVolunteerSmsCodeKey(String phone) { + return String.format(rootPrefix+"smscode:regvolunteer:%s",phone); + } } diff --git a/epmet-module/epmet-heart/epmet-heart-server/src/main/java/com/epmet/service/impl/VolunteerInfoServiceImpl.java b/epmet-module/epmet-heart/epmet-heart-server/src/main/java/com/epmet/service/impl/VolunteerInfoServiceImpl.java index 199e560b60..e9c52e460f 100644 --- a/epmet-module/epmet-heart/epmet-heart-server/src/main/java/com/epmet/service/impl/VolunteerInfoServiceImpl.java +++ b/epmet-module/epmet-heart/epmet-heart-server/src/main/java/com/epmet/service/impl/VolunteerInfoServiceImpl.java @@ -18,7 +18,6 @@ package com.epmet.service.impl; import com.alibaba.fastjson.JSON; -import com.epmet.common.token.constant.LoginConstant; import com.epmet.commons.mybatis.service.impl.BaseServiceImpl; import com.epmet.commons.tools.constant.MqConstant; import com.epmet.commons.tools.constant.NumConstant; @@ -68,11 +67,6 @@ public class VolunteerInfoServiceImpl extends BaseServiceImpl