Commit fdb05415 by Jony.L

删除废弃代码

parent 8be5f23c
......@@ -23,13 +23,6 @@ public interface PayOrderApi {
*/
Long createOrder(@Valid PayOrderCreateReqDTO reqDTO);
/**
* 创建WPGJ旺铺聚合支付单
*
* @param reqDTO 创建请求
* @return 支付单编号
*/
Long createOrderWpgj(@Valid PayOrderCreateReqDTO reqDTO);
/**
* 获得支付单
......
......@@ -51,10 +51,6 @@ public class PayOrderApiImpl implements PayOrderApi {
return payOrderService.createOrder(reqDTO);
}
@Override
public Long createOrderWpgj(PayOrderCreateReqDTO reqDTO) {
return payOrderService.createOrderWpgj(reqDTO);
}
@Override
public PayOrderRespDTO getOrder(Long id) {
......
......@@ -82,13 +82,6 @@ public interface PayOrderService {
*/
Long createOrder(@Valid PayOrderCreateReqDTO reqDTO);
/**
* 创建WPGJ旺铺聚合支付单
*
* @param reqDTO 创建请求
* @return 支付单编号
*/
Long createOrderWpgj(@Valid PayOrderCreateReqDTO reqDTO);
/**
* 提交支付
......
......@@ -140,11 +140,6 @@ public class PayOrderServiceImpl implements PayOrderService {
return order.getId();
}
@Override
public Long createOrderWpgj(PayOrderCreateReqDTO reqDTO) {
// WPGJ订单已迁移到API层,这里提供兼容性实现
throw new UnsupportedOperationException("WPGJ订单创建已迁移到PayOrderApi,请使用PayOrderApi.createOrderWpgj");
}
@Override // 注意,这里不能添加事务注解,避免调用支付渠道失败时,将 PayOrderExtensionDO 回滚了
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment