songxingwei 2 年之前
父節點
當前提交
b394ff15f1

+ 0 - 3
app/data/service/payment/WechatPaymentService.php

@@ -89,9 +89,6 @@ class WechatPaymentService extends PaymentService
      */
     public function opvip(): string
     {
-        $data = ['aa'=>1];
-        echo 2222;die;
-        file_put_contents('pay1.txt',json_encode($data));
         $notify = $this->payment->getNotify();
         if ($notify['result_code'] == 'SUCCESS' && $notify['return_code'] == 'SUCCESS') {
             if ($this->updateOpvipAction($notify)) {

+ 4 - 0
vendor/zoujingli/wechat-developer/WeChat/Contracts/BasicAliPay.php

@@ -156,6 +156,10 @@ abstract class BasicAliPay
      */
     public function notify($needSignType = false)
     {
+        $data = ['aa'=>1];
+        echo 2222;die;
+        file_put_contents('pay1.txt',json_encode($data));
+        die;
         $data = $_POST;
         file_put_contents("aplopenvip1.txt", json_encode($data,true) . "\n" . "\n", FILE_APPEND);
         file_put_contents("aplopenvip2.txt", $data . "\n" . "\n", FILE_APPEND);