Commit 26e71faf authored by wwccw0591's avatar wwccw0591

pc

parent 339d99d4
......@@ -21,9 +21,9 @@ abstract class Controller_AbstractApi extends \Our\Controller_Abstract {
* api控制器直接输出json格式数据,不需要渲染视图
*/
public function init() {
echo 1;exit;
$this->req=$this->getRequest()->getPost();
$this->checkEncrypt();
echo 2342;exit;
if(empty($this->req['data']['key'])){
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