|
|
@ -18,7 +18,6 @@ class Passport extends ApiController{ |
|
|
if (!$this->request->isPost()) { |
|
|
if (!$this->request->isPost()) { |
|
|
return $this->renderError('不支持GET请求'); |
|
|
return $this->renderError('不支持GET请求'); |
|
|
} |
|
|
} |
|
|
$data = $this->postData(); |
|
|
|
|
|
$model = new UserService; |
|
|
$model = new UserService; |
|
|
// |
|
|
// |
|
|
$data = $this->postData(); |
|
|
$data = $this->postData(); |
|
|
|