Преглед изворни кода

fix bug

release_toaliyun_real
zhengfangyuan пре 3 година
родитељ
комит
029e571b1f
1 измењених фајлова са 3 додато и 0 уклоњено
  1. +3
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponServiceImpl.java

+ 3
- 0
mallinkService/src/main/java/com/iformall/service/impl/WxCouponServiceImpl.java Прегледај датотеку

@@ -1850,6 +1850,9 @@ public class WxCouponServiceImpl implements WxCouponService {
for (Long mid:wxCoupon.getMerchantIds()) {
//开通了支付宝就可以
WxProfitSharingReceiver receiver = payShareServie.getReceiver(payAccount, mid, null, payMchType.getCode());
if (null == receiver) {
throw new MallinkException(ErrorCode.SYS_SERVER_ERROR.getCode(),"商户"+mid+"未设置收款账户");
}
if (MerchantImportStatus.improt_success.getCode().equals(receiver.getAlipayImportStatus())) {
merchantAutoShareMap.put(mid, true);
}else {


Loading…
Откажи
Сачувај