支付参数

This commit is contained in:
2026-01-15 13:54:06 +08:00
parent 98dfda0bca
commit 9143331267

View File

@@ -181,7 +181,7 @@ public class PayServiceImpl implements PayService {
private ShopMerchant getMerchant(Long shopId) {
try {
ShopMerchant shopMerchant = shopMerchantService.getById(shopId);
ShopMerchant shopMerchant = shopMerchantService.getOne(new QueryWrapper().eq(ShopMerchant::getShopId, shopId));
if (shopMerchant == null || StrUtil.isBlank(shopMerchant.getChannel())) {
throw new CzgException("暂未开通支付");
}