Ejemplo n.º 1
0
 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);
     }
 }
Ejemplo n.º 2
0
	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);
		}
	}