Commit b0f24cb9 authored by wwccw0591's avatar wwccw0591

pc

parent 26e71faf
...@@ -23,7 +23,6 @@ abstract class Controller_AbstractApi extends \Our\Controller_Abstract { ...@@ -23,7 +23,6 @@ abstract class Controller_AbstractApi extends \Our\Controller_Abstract {
public function init() { public function init() {
$this->req=$this->getRequest()->getPost(); $this->req=$this->getRequest()->getPost();
$this->checkEncrypt(); $this->checkEncrypt();
echo 2342;exit;
if(empty($this->req['data']['key'])){ if(empty($this->req['data']['key'])){
ErrorModel::throwException(CodeConfigModel::illegalAccess); ErrorModel::throwException(CodeConfigModel::illegalAccess);
} }
...@@ -40,6 +39,7 @@ abstract class Controller_AbstractApi extends \Our\Controller_Abstract { ...@@ -40,6 +39,7 @@ abstract class Controller_AbstractApi extends \Our\Controller_Abstract {
$memberService->clearKey($this->req['data']['key']); $memberService->clearKey($this->req['data']['key']);
ErrorModel::throwException(CodeConfigModel::otherDriverLogin); ErrorModel::throwException(CodeConfigModel::otherDriverLogin);
} }
echo 223;exit;
\Yaf\Dispatcher::getInstance()->disableView(); \Yaf\Dispatcher::getInstance()->disableView();
} }
public function getAuthKey(){ public function getAuthKey(){
......
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