refactor(payment): 重构支付服务实现类

- 为 PaymentServiceImpl 类添加统一支付服务标识
- 在 PaymentController 中明确引用统一支付服务
This commit is contained in:
2025-08-29 19:25:33 +08:00
parent 9bcf28626d
commit ed695bcf66
4 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ import java.util.Map;
@RequestMapping("/api/payment")
public class PaymentController extends BaseController {
@Resource
@Resource(name = "unifiedPaymentServiceImpl")
private PaymentService paymentService;
@Operation(summary = "创建支付订单", description = "支持微信、支付宝、银联等多种支付方式")

View File

@@ -26,7 +26,7 @@ import java.util.stream.Collectors;
* @since 2025-01-26
*/
@Slf4j
@Service
@Service("unifiedPaymentServiceImpl")
public class PaymentServiceImpl implements PaymentService {
/**