Browse Source

支付宝支付

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

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

@@ -66,13 +66,13 @@ class Service
case 'web':
//电脑支付,跳转
$html = $pay->driver($type)->gateway('web')->pay($params);
echo $html;die;
print_r($html);die;
Response::create($html)->send();
break;
case 'wap':
//手机网页支付,跳转
$html = $pay->driver($type)->gateway('wap')->pay($params);
echo $html;die;
print_r($html);die;
Response::create($html)->send();
break;
case 'app':
@@ -164,6 +164,7 @@ class Service
}
//返回字符串
// $html = is_array($html) ? json_encode($html) : $html;
print_r($html);die;
return $html;
}



Loading…
Cancel
Save