Commit a84e1bb8 authored by chenchuanwen's avatar chenchuanwen

Merge branch 'master_dev' of git.shenbd.com:qm-develop/shenbd into master_dev

parents 8c307a36 b0f24cb9
...@@ -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