...
|
...
|
@@ -163,14 +163,12 @@ class IndexController extends HomeBaseController |
|
|
|
|
|
public function alipay()
|
|
|
{
|
|
|
require_once EXTEND_PATH.'/alipaymaster/extend/alipay/Wappay.php';
|
|
|
$alipay = new \Wappay();
|
|
|
$params= [
|
|
|
'subject' => '购买',
|
|
|
'out_trade_no' => '20181017256210',
|
|
|
'total_amount' => 0.01,
|
|
|
];
|
|
|
$return = $alipay->pay($params);
|
|
|
$return = \alipay\Wappay::pay($params);
|
|
|
print_r($return);
|
|
|
}
|
|
|
|
...
|
...
|
|