|
@@ -89,11 +89,11 @@ class Pay extends Api
|
|
|
'orderid' => $pay_no,
|
|
|
'title' => $data['memo'],
|
|
|
'amount' => $data['money'],
|
|
|
-
|
|
|
+ 'amount' => 0.01,
|
|
|
|
|
|
'method' => 'app',
|
|
|
|
|
|
- 'notifyurl' => $this->request->root(true) . '/notify.php/paytype/alipay',
|
|
|
+ 'notifyurl' => $this->request->root(true) . '/notify.php/paytype/'.$pay_type,
|
|
|
'returnurl' => '',
|
|
|
];
|
|
|
$res = Service::submitOrder($params);
|
|
@@ -198,7 +198,7 @@ class Pay extends Api
|
|
|
'amount' => $data['money'],
|
|
|
'amount' => 0.01,
|
|
|
'method' => 'app',
|
|
|
- 'notifyurl' => $this->request->root(true) . '/notify.php/paytype/alipay',
|
|
|
+ 'notifyurl' => $this->request->root(true) . '/notify.php/paytype/'.$pay_type,
|
|
|
'returnurl' => '',
|
|
|
];
|
|
|
$res = Service::submitOrder($params);
|