소스 검색

fix: 移除支付多余的接口

runphp 1 개월 전
부모
커밋
c572d66099
1개의 변경된 파일0개의 추가작업 그리고 28개의 파일을 삭제
  1. 0 28
      src/PaymentManager.php

+ 0 - 28
src/PaymentManager.php

@@ -75,34 +75,6 @@ readonly class PaymentManager
         return $this->getPaymentProvider($paymentID)->refundQuery($refundID);
     }
 
-    /**
-     * 获取指定支付方式
-     */
-    public function getPayment($paymentID): array
-    {
-        return [
-            // todo
-        ];
-    }
-
-    /**
-     * 开启支付方式
-     */
-    public function enablePayment($paymentID): bool
-    {
-        // todo
-        return true;
-    }
-
-    /**
-     * 关闭支付方式
-     */
-    public function disablePayment($paymentID): bool
-    {
-        // todo
-        return true;
-    }
-
     public function getPaymentProvider(string $paymentID): PaymentProviderInterface
     {
         $extension = $this->extensionManager->getExtension($paymentID);