zhengfangyuan 3 лет назад
Родитель
Сommit
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 {


Загрузка…
Отмена
Сохранить