This commit is contained in:
77
2024-04-24 22:39:44 +08:00
parent a3c57e7bce
commit acd72af83a

View File

@@ -82,7 +82,7 @@ public class WxTransDataServiceImpl extends ServiceImpl<WxTransDataMapper,WxTran
if(wxTransData == null){ if(wxTransData == null){
throw new ServiceException("数据不存在"); throw new ServiceException("数据不存在");
} }
if(wxTransData.getReceiveUserId().equals(req.getUserId())){ if(!wxTransData.getReceiveUserId().equals(req.getUserId())){
throw new ServiceException("不是接受者无法接受微信邀请"); throw new ServiceException("不是接受者无法接受微信邀请");
} }
if(req.getApply() == null){ if(req.getApply() == null){