|
|
@@ -112,7 +112,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'] : '';
|
|
|
@@ -196,7 +196,6 @@ class PaymentService extends BaseService
|
|
|
// 创建支付
|
|
|
try {
|
|
|
$pay = $this->createPay($scene, 10, 'min');
|
|
|
- var_dump($pay);
|
|
|
RedisService::set("caches:payments:wechat:{$scene}_{$outTradeNo}", ['order' => $order, 'config' => $this->config], 7200);
|
|
|
if (empty($pay)) {
|
|
|
$this->error = 2616;
|