Browse Source

支付宝支付

yijia
v-Brocloni 3 years ago
parent
commit
25c2909dfe
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      addons/epay/library/Service.php

+ 2
- 0
addons/epay/library/Service.php View File

@@ -120,6 +120,7 @@ class Service
case 'web':
//电脑支付,跳转到自定义展示页面(FastAdmin独有)
$html = $pay->driver($type)->gateway('web')->pay($params);
print_r($html);die;
Response::create($html)->send();
break;
case 'mp':
@@ -137,6 +138,7 @@ class Service
"mweb_url"=>$html,
"referer"=>Request::instance()->server('HTTP_REFERER')
];
print_r($html);die;
return $result;
break;
case 'app':


Loading…
Cancel
Save