public function payReturn() { if (isset($_GET['nohandle'])) { $order = M('seckill_book')->where(array('orderid' => $_GET['orderid']))->find(); header('Location:' . U('Seckill/my_cart', array('token' => $this->token, 'wecha_id' => $this->wecha_id, 'id' => $order['book_aid']))); } else { $orderid = trim($_GET['orderid']); ThirdPaySeckill::index($orderid); } }
public function payReturn() { if (isset($_GET["nohandle"])) { $order = M("seckill_book")->where(array("orderid" => $_GET["orderid"]))->find(); header("Location:" . U("Seckill/my_cart", array("token" => $this->token, "wecha_id" => $this->wecha_id, "id" => $order["book_aid"]))); } else { $orderid = trim($_GET["orderid"]); ThirdPaySeckill::index($orderid); } }