<?php
namespace app\api\controller\v1;
use app\api\controller\Base;
use app\hander\HelpHander;
use think\App;
use think\Db;
use think\exception\Handle;

class Cate extends Base
{

    public function cateList(){

        $model = new \app\common\model\Cate();
        $ret = $model->getAllByOrg($this->orgId);

        HelpHander::success($ret);
    }

}