|
|
|
@@ -1870,12 +1870,13 @@ public class WxCouponServiceImpl implements WxCouponService { |
|
|
|
//开通了支付宝就可以 |
|
|
|
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 { |
|
|
|
merchantAutoShareMap.put(mid, false); |
|
|
|
}else { |
|
|
|
if (MerchantImportStatus.improt_success.getCode().equals(receiver.getAlipayImportStatus())) { |
|
|
|
merchantAutoShareMap.put(mid, true); |
|
|
|
}else { |
|
|
|
merchantAutoShareMap.put(mid, false); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
return merchantAutoShareMap; |
|
|
|
|