Commit 1e8678ae authored by clone's avatar clone

跨域

parent be57b2d6
......@@ -36,6 +36,7 @@ class Register extends Basic
*/
public function registerSendCode()
{
header('Access-Control-Allow-Origin:*');
$params = $this->params;
/* $params = array(
"phone" => "13817616471",
......@@ -63,6 +64,7 @@ class Register extends Basic
*/
public function registerVerify()
{
header('Access-Control-Allow-Origin:*');
$params = $this->params;
/* $params = array(
"phone" => "16617616471",
......
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