|
|
@@ -111,7 +111,7 @@ class PaymentService extends BaseService
|
|
|
$payConfig['wechat']['default']['notify_url'] = url(env('APP_URL') . 'api/notify/' . $scene . '/10');
|
|
|
|
|
|
$this->config = $payConfig;
|
|
|
- //var_dump($payConfig);
|
|
|
+ var_dump($payConfig);
|
|
|
return Pay::wechat($payConfig);
|
|
|
} else if ($payType == 20) {
|
|
|
$appid = isset($config['alipay_appid']) ? $config['alipay_appid'] : '';
|
|
|
@@ -971,7 +971,6 @@ class PaymentService extends BaseService
|
|
|
|
|
|
|
|
|
$result = $pay->transfer($payData);
|
|
|
- var_dump($result);
|
|
|
RedisService::set("caches:payments:wechat:{$scene}_{$outTradeNo}_result", ['order' => $order,'params'=>$payData,'result'=> $result, 'config' => $this->config], 7200);
|
|
|
$msg = isset($result['message'])? trim($result['message']) : '';
|
|
|
$batchId = isset($result['batch_id'])? trim($result['batch_id']) : '';
|