mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-08-08 23:31:53 +08:00
mall + pay:简化 pay 的复杂度
1. 移除 merchant 表设计 2. 移除 app 和 channel 的导出
This commit is contained in:
@@ -29,7 +29,6 @@ public class PayChannelMapperIntegrationTest extends BaseDbIntegrationTest {
|
||||
payChannelDO.setCode(PayChannelEnum.WX_PUB.getCode());
|
||||
payChannelDO.setStatus(CommonStatusEnum.ENABLE.getStatus());
|
||||
payChannelDO.setFeeRate(1D);
|
||||
payChannelDO.setMerchantId(1L);
|
||||
payChannelDO.setAppId(6L);
|
||||
// 配置
|
||||
WXPayClientConfig config = new WXPayClientConfig();
|
||||
@@ -55,7 +54,6 @@ public class PayChannelMapperIntegrationTest extends BaseDbIntegrationTest {
|
||||
payChannelDO.setCode(PayChannelEnum.ALIPAY_QR.getCode());
|
||||
payChannelDO.setStatus(CommonStatusEnum.ENABLE.getStatus());
|
||||
payChannelDO.setFeeRate(1D);
|
||||
payChannelDO.setMerchantId(1L);
|
||||
payChannelDO.setAppId(6L);
|
||||
// 配置
|
||||
AlipayPayClientConfig config = new AlipayPayClientConfig();
|
||||
|
@@ -1,7 +1,7 @@
|
||||
package cn.iocoder.yudao.module.pay.service.order;
|
||||
|
||||
import cn.iocoder.yudao.module.pay.service.merchant.PayAppServiceImpl;
|
||||
import cn.iocoder.yudao.module.pay.service.merchant.PayChannelServiceImpl;
|
||||
import cn.iocoder.yudao.module.pay.service.channel.PayAppServiceImpl;
|
||||
import cn.iocoder.yudao.module.pay.service.channel.PayChannelServiceImpl;
|
||||
import cn.iocoder.yudao.module.pay.service.order.dto.PayOrderCreateReqDTO;
|
||||
import cn.iocoder.yudao.module.pay.service.order.dto.PayOrderSubmitReqDTO;
|
||||
import cn.iocoder.yudao.module.pay.test.BaseDbIntegrationTest;
|
||||
|
Reference in New Issue
Block a user