Commit 0ee9c9e9 authored by clone's avatar clone

bug

parent bc75aed3
...@@ -64,14 +64,22 @@ class Index ...@@ -64,14 +64,22 @@ class Index
die(); die();
} else { } else {
//绑定页 //绑定页
header("Location:" . CURRENT_URL . "app/dist/index.html#/inviteRegister?referrer_id=160&referrer_source=10"); $url = "referrer_id=160&referrer_source=10&wx_union_id=".$wx_union_id ."&device_id=".$this->createOrderNumber();
header("Location:" . CURRENT_URL . "app/dist/index.html#/inviteRegister?". $url );
die(); die();
} }
} }
} }
} }
/**
* 随机数
* @return string
*/
private function createOrderNumber()
{
return time() . mt_rand(10000, 99999);
}
public function achieve_fork() public function achieve_fork()
{ {
return view('index/achieve_fork'); return view('index/achieve_fork');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment