refactor(payment): 重构支付服务实现类
- 为 PaymentServiceImpl 类添加统一支付服务标识 - 在 PaymentController 中明确引用统一支付服务
This commit is contained in:
@@ -38,7 +38,7 @@ import java.util.Map;
|
|||||||
@RequestMapping("/api/payment")
|
@RequestMapping("/api/payment")
|
||||||
public class PaymentController extends BaseController {
|
public class PaymentController extends BaseController {
|
||||||
|
|
||||||
@Resource
|
@Resource(name = "unifiedPaymentServiceImpl")
|
||||||
private PaymentService paymentService;
|
private PaymentService paymentService;
|
||||||
|
|
||||||
@Operation(summary = "创建支付订单", description = "支持微信、支付宝、银联等多种支付方式")
|
@Operation(summary = "创建支付订单", description = "支持微信、支付宝、银联等多种支付方式")
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ import java.util.stream.Collectors;
|
|||||||
* @since 2025-01-26
|
* @since 2025-01-26
|
||||||
*/
|
*/
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@Service
|
@Service("unifiedPaymentServiceImpl")
|
||||||
public class PaymentServiceImpl implements PaymentService {
|
public class PaymentServiceImpl implements PaymentService {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user