|
@@ -189,6 +189,7 @@ class PayService
|
|
case 'wechat':
|
|
case 'wechat':
|
|
$payload['amount'] = $payload['amount'] * 100;
|
|
$payload['amount'] = $payload['amount'] * 100;
|
|
$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;
|
|
}
|
|
}
|