作者 何书鹏

测试支付

... ... @@ -106,7 +106,8 @@ class PackageOrder extends Base
$notify_url = $this->request->root(true) . '/api/package_order/notifyx/payment/' . $payment . '/platform/' . $platform;
$pay = new \addons\shopro\library\PayService($payment, $platform, $notify_url);
// 测试支付金额
$order_data['total_fee'] = 0.01;
$result = $pay->create($order_data);
return $this->success('获取预付款成功', [
... ...