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