...
|
...
|
@@ -89,7 +89,7 @@ class Pay extends Api |
|
|
'msg':'返回成功'
|
|
|
})
|
|
|
*/
|
|
|
public function OrderNotify()
|
|
|
public function AgreementPayNotify()
|
|
|
{
|
|
|
$paytype = $this->request->param('paytype');
|
|
|
$pay = \addons\epay\library\Service::checkNotify($paytype);
|
...
|
...
|
@@ -103,7 +103,7 @@ class Pay extends Api |
|
|
//$data['out_trade_no'] 支付单号
|
|
|
$order_sn = $data['out_trade_no'];
|
|
|
$order = Db::name('pay_order')->where('PayOrder', $order_sn)->find();
|
|
|
if ($order['status'] == 2) {
|
|
|
if ($order['status'] == 1) {
|
|
|
return $pay->success('支付成功');
|
|
|
die;
|
|
|
}
|
...
|
...
|
|