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