public function notify() { $notify = new Notify($this->app_id, '7344f69d271b71b61b1b817e573f5f90', 1230390602, '1123325aedfafqr34234123421wqerwq'); $transaction = $notify->verify(); if (!$transaction) { $notify->reply('FAIL', 'verify transaction error'); } //修改订单状态 echo $notify->reply(); }
public function notify() { $notify = new Notify($this->app_id, '13e1c42de4b27e00892faf1f226c3145', 1230390602, '1123325aedfafqr34234123421wqerwq'); $transaction = $notify->verify(); if (!$transaction) { $notify->reply('FAIL', 'verify transaction error'); } //修改订单状态 echo $notify->reply(); }