支付参数
This commit is contained in:
@@ -181,7 +181,7 @@ public class PayServiceImpl implements PayService {
|
|||||||
|
|
||||||
private ShopMerchant getMerchant(Long shopId) {
|
private ShopMerchant getMerchant(Long shopId) {
|
||||||
try {
|
try {
|
||||||
ShopMerchant shopMerchant = shopMerchantService.getById(shopId);
|
ShopMerchant shopMerchant = shopMerchantService.getOne(new QueryWrapper().eq(ShopMerchant::getShopId, shopId));
|
||||||
if (shopMerchant == null || StrUtil.isBlank(shopMerchant.getChannel())) {
|
if (shopMerchant == null || StrUtil.isBlank(shopMerchant.getChannel())) {
|
||||||
throw new CzgException("暂未开通支付");
|
throw new CzgException("暂未开通支付");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user