From 179c4d64313c9b7572778da4aaaf6c6584fe457d Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期二, 20 五月 2025 23:48:08 +0800 Subject: [PATCH] 修改文件上传类型限制 --- 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