Commit fddea7b4 authored by zhangfeng's avatar zhangfeng

bugfix-186: 后台新增兑换记录收件人姓名,电话,地址必填项改为非必填

parent 606d4540
...@@ -150,7 +150,7 @@ public class RedeemRewardApiImpl implements RedeemRewardApi { ...@@ -150,7 +150,7 @@ public class RedeemRewardApiImpl implements RedeemRewardApi {
if (StringUtils.isBlank(redeemRewardReqVO.getRecipientPhoneNum())) { if (StringUtils.isBlank(redeemRewardReqVO.getRecipientPhoneNum())) {
redeemRewardReqVO.setRecipientPhoneNum(memberUser.getMobile()); redeemRewardReqVO.setRecipientPhoneNum(memberUser.getMobile());
} }
} else { } else if (redeemRewardReqVO.getEntrance() != PlatformTypeEnum.BACKEND.getValue()){
if (StringUtils.isAnyBlank(redeemRewardReqVO.getRecipientName(), redeemRewardReqVO.getRecipientPhoneNum(), redeemRewardReqVO.getRecipientAddress())) { if (StringUtils.isAnyBlank(redeemRewardReqVO.getRecipientName(), redeemRewardReqVO.getRecipientPhoneNum(), redeemRewardReqVO.getRecipientAddress())) {
throw exception(REWARD_REDEEM_RECIPIENT_ERROR); throw exception(REWARD_REDEEM_RECIPIENT_ERROR);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment