|
|
@@ -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; |
|
|
|
} |
|
|
|
|
|
|
|