|
|
@@ -236,7 +236,7 @@ public class AccountDubboServiceImpl implements AccountDubboService {
|
|
|
public Result addRedEnvelope(SignRedEnvelopeParam param) {
|
|
|
RedEnvelopeParam p = BeanUtil.toBean(param, RedEnvelopeParam.class);
|
|
|
p.setUserIds(CollUtil.newArrayList(OrderParam.builder().userId(param.getUserId()).orderNo(param.getOrderNo()).build()));
|
|
|
- if (param.getBizType() == BizTypeEnum.SIGN_RED_ENVELOPE || param.getBizType() == BizTypeEnum.PROMOTION_COMMISSION) {
|
|
|
+ if (param.getBizType() == BizTypeEnum.SIGN_RED_ENVELOPE || param.getBizType() == BizTypeEnum.PROMOTION_COMMISSION || param.getBizType() == BizTypeEnum.RECYCLE) {
|
|
|
p.setBizType(param.getBizType().getKey());
|
|
|
} else {
|
|
|
return Result.genFailResult(LocalUtil.get("unsupported.type"));
|