Commit 8c307a36 authored by chenchuanwen's avatar chenchuanwen

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

parents e8e3416b 26e71faf
...@@ -21,9 +21,9 @@ abstract class Controller_AbstractApi extends \Our\Controller_Abstract { ...@@ -21,9 +21,9 @@ abstract class Controller_AbstractApi extends \Our\Controller_Abstract {
* api控制器直接输出json格式数据,不需要渲染视图 * api控制器直接输出json格式数据,不需要渲染视图
*/ */
public function init() { public function init() {
echo 1;exit;
$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);
} }
......
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