wupengfei 1 年之前
父節點
當前提交
81eb350bc3
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      addons/shopro/library/PayService.php

+ 1 - 2
addons/shopro/library/PayService.php

@@ -188,9 +188,8 @@ class PayService
         switch ($this->payment) {
         switch ($this->payment) {
             case 'wechat':
             case 'wechat':
                 $payload['amount'] = $payload['amount'] * 100;
                 $payload['amount'] = $payload['amount'] * 100;
-                var_dump($this->payment);
+                var_dump($this->config);
                 $response = Pay::wechat($this->config)->transfer($payload);
                 $response = Pay::wechat($this->config)->transfer($payload);
-                var_dump($response);
                 if ($response['return_code'] === 'SUCCESS' && $response['result_code'] === 'SUCCESS') {
                 if ($response['return_code'] === 'SUCCESS' && $response['result_code'] === 'SUCCESS') {
                     $code = 1;
                     $code = 1;
                 }
                 }