Commit 1e8678ae authored by clone's avatar clone

跨域

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