Browse Source

调试

undefined
v-Brocloni 4 years ago
parent
commit
5a4148b1b0
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      addons/epay/library/Service.php

+ 3
- 1
addons/epay/library/Service.php View File

@@ -5,6 +5,7 @@ namespace addons\epay\library;
use addons\unishop\model\Config;
use Exception;
use think\Log;
use think\Request;
use think\Response;
use think\Session;
use Yansongda\Pay\Gateways\Alipay\Alipay;
@@ -131,7 +132,8 @@ class Service
$html = $pay->driver($type)->gateway('wap')->pay($params);
$result = [
"trade_type"=>"MWEB",
"mweb_url"=>$html
"mweb_url"=>$html,
"referer"=>Request::instance()->server('HTTP_REFERER')
];
return json_encode($result);
break;


Loading…
Cancel
Save