From 15dfe751afa203a94ecbed326cf1f916b9690343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?LI-CCONG=5C=E6=9D=8E=E8=81=AA=E8=81=AA?= <1441652193@qq.com> Date: Thu, 28 Mar 2024 10:58:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=88=97=E8=A1=A8=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E6=9F=A5=E8=AF=A2=E5=85=BC=E5=AE=B92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/cc/yunxi/service/impl/CommonService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nxhs-service/src/main/java/cc/yunxi/service/impl/CommonService.java b/nxhs-service/src/main/java/cc/yunxi/service/impl/CommonService.java index 3a69961..ad18317 100644 --- a/nxhs-service/src/main/java/cc/yunxi/service/impl/CommonService.java +++ b/nxhs-service/src/main/java/cc/yunxi/service/impl/CommonService.java @@ -1,6 +1,7 @@ package cc.yunxi.service.impl; import cc.yunxi.common.exception.BizIllegalException; +import cc.yunxi.common.exception.BusinessLogicException; import cc.yunxi.common.exception.ForbiddenException; import cc.yunxi.config.props.WxHsyProperties; import cc.yunxi.config.props.WxShProperties; @@ -102,7 +103,7 @@ public class CommonService implements ICommonService { Recycler recycler = recyclerService.getRecyclerByPhoneNumber(userDTO.getPhone()); if (recycler == null) { // 回收员不存在,则注册, 注册入口关闭,由PC端添加 - throw new ForbiddenException("回收员不存在,请先联系商户注册"); + throw new BusinessLogicException("回收员不存在,请先联系商户注册"); // recycler = recyclerService.registerRecycler(userDTO.getPhone(), userDTO.getOpenid()); } if (ObjectUtil.isEmpty(recycler.getOpenid())) {