From 70d2a5d0f9c6951b2d4cac954041ed73582ff7eb Mon Sep 17 00:00:00 2001 From: liujie <1793218484@qq.com> Date: 星期一, 09 六月 2025 11:54:00 +0800 Subject: [PATCH] 6.9新增登录失败冻结逻辑 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/VolunteerMerchantService.java | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/VolunteerMerchantService.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/VolunteerMerchantService.java index d7f2b32..f06f38c 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/VolunteerMerchantService.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/VolunteerMerchantService.java @@ -4,6 +4,7 @@ import com.panzhihua.common.model.vos.R; import com.panzhihua.common.model.vos.community.VolunteerMerchantVO; import com.panzhihua.service_community.entity.VolunteerMerchant; +import org.apache.ibatis.annotations.Param; public interface VolunteerMerchantService extends IService<VolunteerMerchant> { @@ -32,7 +33,12 @@ R deleteVolunteerMerchant(String id); - + /** + * 判断是否是商家 + * @param userId + * @return + */ + R isMerchant(@Param("userId") String userId); /** * 根据电话号码 或者姓名查询用户 * @param -- Gitblit v1.7.1